The Process

MccccccMcccccc Member Posts: 26

Hello, can anyone give me an idea of how (in which order) instructions are evaluated by GameSalad? For example: which actor is evaluated first? I need this information to better design my logic and avoid stupid bugs! Thanks!

Comments

  • DuesDues Member Posts: 1,159

    GS reads from the bottom and up in the layers.
    Inside the actor it reads from the top and down.
    Hope that helps :)

  • MccccccMcccccc Member Posts: 26

    Thanks @Dues! And what about many actors in the same layer? I need to make a difference between more instance actors which receive the same inputs, just in different moments in time.

  • DuesDues Member Posts: 1,159

    If go to the layers tab, you see all the actors. In that list it reads from the bottom and up :)

  • MccccccMcccccc Member Posts: 26

    Great @Dues!!!
    Thank you very much!!!

  • DuesDues Member Posts: 1,159

    You are welcome :)

  • MccccccMcccccc Member Posts: 26

    And is it correct that in case of more instance actors (from the same prototype actor) spawn in the same scene, GameSalad considers the last spawn?
    I have the position (self attribute) constrained to a game attribute which varies randomly when a new actor is spawn. The position of the previously spawn actors doesn't change! Only the last one's does! So probably there's a hierarchy between instance actors!

Sign In or Register to comment.