Does Rule Order matter in this case?
I want to create a scene reset button to appear after a player finishes a level (win or lose the level). Here's how I have it set up and want to know if the order is okay or if it should be changed:
RULE: When level is over:
*Display end level actor*
RULE (within top rule) When touch is released:
RULE (within above rule) If Lives > 0 save attributes, unlock next level, change scene to current scene
RULE If Lives = 0 (don't save attributes, scores, etc) change scene to current scene
Does my "code" make sense to you guys?
I'm wondering if I should change it to have the "lives" before the "touch release" or leave it as it.
Does it even matter?
RULE: When level is over:
*Display end level actor*
RULE (within top rule) When touch is released:
RULE (within above rule) If Lives > 0 save attributes, unlock next level, change scene to current scene
RULE If Lives = 0 (don't save attributes, scores, etc) change scene to current scene
Does my "code" make sense to you guys?
I'm wondering if I should change it to have the "lives" before the "touch release" or leave it as it.
Does it even matter?
Comments