Completion Scene ( Next Button problems )

astrom0astrom0 Member Posts: 40
edited November -1 in Working with GS (Mac)
I created a completion scene after my first level, containing a next button and return to menu button. The problem is that my next button only goes to the next scene which would be level 2 but when I complete level 2 it just takes me right back to level 2. I just want to know is there any way to make the next button to me to level3 if I'm on 2 and level 4 if I'm on 3 and so and so on with out having to create so many completion scenes?

Comments

  • SkyMapleSkyMaple Member Posts: 817
    You could have one completion scene and have the score change depending on what level you just completed.

    Like say your on level 2 and you just completed it. Have a global attribute and call it something like "what level". Then when your completion scene gets triggered say, change "what level" to 2. Then on the completion scene say, if "what level" = 2 display text-"level2 score", and so on.
  • astrom0astrom0 Member Posts: 40
    Well I'm not using a score system, the completion scene spawns after my main character lands on a platform and stays there for over a coupe of seconds. I get what your saying but would it work if I'm not using a score system?
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    Hi astrom0; if I understand correctly, the following straightforward way should work with no problem: Just make sure all your scenes are in the order you want them on the Home page, rearranging them by dragging if not. Your next button could be made visible and active when a boolean attribute is set to true, which I'm sure you've done.

    Then in the forward button's Rules, When touch is pressed
    When Boolean att. is true
    Change scene behaviour set to next scene. (i.e that chosen from the dropdown menu in the behavior, not a specific scene name).
  • astrom0astrom0 Member Posts: 40
    I figured out an easy way, I just got read of the completion scene all together. It works and look better this way too, Any ways thanks for the tips, I'm fairly new at gamesalad so please mind my ignorance, thank you =]
Sign In or Register to comment.