Saving your level progress, and jumping to that specific scene
frankwashburn
Member Posts: 32
Hey guys -
So honestly I'm finding the "Change Scene" action pretty limiting, and I'm wondering if you guys have found any workarounds for it.
Say in a game like Angry Birds with lots of stages, the game saves your progress through the game, probably by saving both
1) A simple boolean with whether you've completed each stage or not
2) The number of the most advanced level that you haven't completed yet.
This way, you play the game a bit, make some progress, and quit. The game has saved "he made it to level 8." You reboot the game later, and the "Start new game" button is replaced with a "Continue button." Hitting this Continue button simply takes you to level 9.
Given that the "Change scene" action in Gamesalad ONLY lets you choose from a drop-down of scenes, there's no way you can put in an equation like load scene "game.lastlevel + 1" or anything like that.
If you have 50 levels, how do you avoid doing something like manually coding in a "Rule: If game.lastlevel = 10, then Change scene->scene10" and repeating that rule over and over again for each level? That seems like a huge pain and a waste of time.
So honestly I'm finding the "Change Scene" action pretty limiting, and I'm wondering if you guys have found any workarounds for it.
Say in a game like Angry Birds with lots of stages, the game saves your progress through the game, probably by saving both
1) A simple boolean with whether you've completed each stage or not
2) The number of the most advanced level that you haven't completed yet.
This way, you play the game a bit, make some progress, and quit. The game has saved "he made it to level 8." You reboot the game later, and the "Start new game" button is replaced with a "Continue button." Hitting this Continue button simply takes you to level 9.
Given that the "Change scene" action in Gamesalad ONLY lets you choose from a drop-down of scenes, there's no way you can put in an equation like load scene "game.lastlevel + 1" or anything like that.
If you have 50 levels, how do you avoid doing something like manually coding in a "Rule: If game.lastlevel = 10, then Change scene->scene10" and repeating that rule over and over again for each level? That seems like a huge pain and a waste of time.