GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Rule does not work on the next scene

Hi, I'm new on GameSalad. For my game, I created a rule that changes the scene (level) when you win. The rule works when I do a preview of each scene but when it changes the scene, in the next scene the rule does not work and it does not change the scene (level) when you win. And when I do a preview of all the game this works only for the first level. I did something wrong but I do not know what. If someone was able to understand my bad English and can help me thank you to answer. :)

Comments

  • GnarlyGnarly canadaPosts: 840Member

    Rules reside in actors. The rules will only work in the scene you have them in. So every level would have to have the rule and actor in them......

    Does the actor with the rules in every scene (level)?

  • jessynankoujessynankou Posts: 7Member

    Thanks for the answer gattoman
    yes the actor is on all the scenes and when I do the preview on each scene individually everything works but for the next scene is stopped working. I don't why

  • tatiangtatiang Posts: 11,734Member, Sous Chef, PRO, Senior Sous-Chef
    edited July 2015

    Keep in mind that self (actor) attributes and any scene attributes you may have created reset when a scene loads. Game attributes (are global and) do not reset unless you specifically change their values.

    Any rules using attributes as conditions will need to be considered when you troubleshoot why your scenes aren't working consecutively.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

Sign In or Register to comment.