helena's Recent Forum Activity

  • This is why I have dual backup going on on C2 files. Dropbox (within the free quota) and iDrive backup.

    It is not a waste of money, it has already saved me a number of times. Maybe not exactly with C2 files but overall.

    I like how I can go to older revisions because sometimes I have idiot moments and save over or in other similar way destroy files. With some online backup services you can do that.

  • I love you Construct 2, Scirra team, the helpful members of this forum!

  • I am loading the levels through AJAX. Works well.

    I wanted to streamline the events from manually have like 100 event lines like below

    AJAX - On Level1 Completed --> Levelarray bla bla

    AJAX - On Level2 Completed --> Levelarray bla bla

    ..repeat until all levels has been done..

    At first I thought why not make a loop and insert loopindex for the current level.. But then nope, the AJAX is triggered and can't be in loop. Ok of course.

    How would you streamline it?

    Thanks.

  • It did not work initially, but when I did an experiment I understood I had to create variables first! Because it did not understand (variable1 & "blabla") | (variable2 & "this"), fed it with local string varibles. THEN it worked!

    blackhornet Sorry for being daft.

  • Oh yes. Forgot the animation name.

  • Too soon. It seems I ran the wrong capx when testing.

    Did not work.

    I wrote like this:

    SettingGraphic&"ScissorsLeft"|SettingGraphic&"ScissorsUp"|SettingGraphic&"ScissorsRight"|SettingGraphic&"ScissorsDown"

    and it did not pick any of them.

  • blackhornet to the rescue again!

    (and I have vague memory that we did same thing earlier.. )

  • Thank you for replies!

  • Let's say I want to Pick sprites that have four different animations names, pick all the instances that happens have one of these following names:

    Play

    Hello

    Flower

    Rabbit

    how would I do it best way?

    I tried first

    Pick Sprite where Sprite.AnimationName = "Play"

    or

    Pick Sprite where Sprite.AnimationName = "Hello"

    or

    Pick Sprite where Sprite.AnimationName = "Flower"

    or

    Pick Sprite where Sprite.AnimationName = "Rabbit"

    ---Subevent

    For each Sprite order by 0 Ascending

    more sub events.....

    Then I removed the "or"..

    but neither seems to work so maybe this is bad logic?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hello.

    My game engine is super complicated and I do not want to do the hassle to change the origin from top left to center, as the engine works better with the top left.

    So I wonder if I can rotate the animation in center even if the origin is top-left?

    The only I can think of is to create three more animations, identical but new orientation and change animation when change direction. But waste of space and cpu.

    Any other ideas?

  • Good to know. Now I have solved the bug anyway so onward to the other bugs!

  • Whoops. Looks like the event that should be sub-event wasn't sub-evented so to say.

helena's avatar

helena

Member since 1 Jan, 2014

None one is following helena yet!

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

17/44
How to earn trophies