helena's Recent Forum Activity

  • Some kind of reference to animation names would be good but not forcing to use only drop list because I use variables & strings together to make up the animation name and I am not the only one doing it.

    But I agree about the windows.

  • Adding features to the event pages:

    ability to print,

    ability to compare old/new revisions,

    ability to import chunks (ok it is hard, maybe asking you which objects you want to use for the new one)

    color coding the background of event boxes (and/or more different colors of bookmark tag)

    Search and replace (that will also do it within parameter fields, for example when you have changed a variable name it is good)

    And of course a million more items but people here have brought up them so I just wanted to bring up the events. Maybe adopting a few of the most popular plugins.

  • Oh, I see you used system comparison! Thank you. I will see if I can apply it to my events. Sorry for being daft.

  • blackhornet

    I should have clarified I wanted to compare Array value with constant values. I do not know if your solution work with arrays? I am sorry I was too "generic" in my question.

    Thank you for taking your time, though.

  • I also found another problem.. with my code.. Else won't work with or blocks! This is going to be killer long lists if I have to put separate events, oh wow.... Nightmare....

    Yes I did try to put the or in a sub to the Else and it worked for the first Else, but not for subsequent elses. :/

  • I have tried to search this but it is not possible to search on | or "or" because of too short word!

    I tried to put a bunch of Constant variables and put | between them in a condition, to see if the object value is true to one of them, and as I have a list of 32 constants in that list I would prefer to put them all in a parameter line, instead for making a long condition box with this or this or this or that... But it won't work that way. Why? It works when I put all the constants one by one.. But it is quite scrolly, three pages for just that box, and I have to put same condition on many places! this is going to be a very very long event list visual wise.

  • shinkan

    At first I got puzzled, I did try that, but then I realized I made it too convoluted by using System, Pick when it is enough with your method..

    It seems to be working now! Will go further on this one. Thanks.

  • Pick only one:

    Pick Sprite where Sprite.AnimationName = "Boulder"

    --->For Each Sprite order by sprite.y ascending...

    blah blah

    it works.

    But if I want to pick two different objects in same event tree?

    Pick Sprite where Sprite.AnimationName = "Boulder"

    OR

    Pick Sprite where Sprite.AnimationName = "Diamond"

    will not work

    Pick Sprite where Sprite.AnimationName = "Boulder"

    Pick Sprite where Sprite.AnimationName = "Diamond"

    Not that either.

    Pick Sprite where (Sprite.AnimationName = "Boulder") | (Sprite.AnimationName = "Diamond")

    won't work either (only Boulder will work).

    Adding a sub event is not the solution as it will just try to search the "picked" boulders to find diamonds in them.

    Any solutions?

    Right now I have two event trees, first processing the Boulders and then the Diamonds, but I think the result is not optimal, it would be best if these 2 (animation names) are treated as one in same event tree.

    Any suggestions?

  • Minor

    I used the Evaluate for String, but it could be that it can't be too convoluted.

    Your suggestion of using Comparison, it works nicely. Thank you.

    Cute little sprite icon by the way.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I made a solution by adding a variable, and in an event above the actual event, feed the variable with the combined values. But I would prefer to do it in one parameter line. If it is possible.

  • Minor

    No it would still spit out type mismatch.

  • I have added an option of change different graphics for different themes.

    SettingGraphic = 1, 2, 3 etc

    and then I make animations in the sprite like these "1Solid", "2Solid" etc...

    It works well to do like this: (Set Animation action)

    SettingGraphic & "Left"

    But NOT this: (pick by Evaluate condition)

    TileSprite.AnimationName= SettingGraphic & "Left" - giving type mismatch or other objections.

    I hope it is still possible to do this, but formatting it other way?

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