Level Select load not working when you close the app in multitask.

Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
edited November -1 in Working with GS (Mac)
Hey there,

I made my own level selection for my game, and I tried to learn how to do it...
But here is my problem. The loading seems to be good if you go to the iPod home screen.
But when you double tap the home button, it brings up the multi tasking, and you close it, and reopen the app, it doesn't show that you've completed the levels. I don't know why.

Here is what is in each level actor:

Load attribute.
-------------------------
Rule: UnlockedLevel is greater or equal to 1,

Another rule (inside the previous rule) :
when touch is pressed,
change scene to 2.
----------------------------------------
Then, in the first rule, in the otherwise section, I have a spawn actor in front of the level actor, so you cannot touch the level actor unless you've completed the level.

So yeah, I don't even know if I am doing this right.
Maybe I need to be doing something else?

If you have any idea, please let me know. Once this is done, ill be able to start the beta testing. :)
Also, if you'd like to beta test, send me a PM. :)

Thanks guys,
Bray

Comments

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    Bump
  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    Bumping again. :D
  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    I tried moving the load attributes around a bit thinking they might not have had time to load, but it still doesn't work...
  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    Bumping yet again. :P Hate to do it.
  • gsrocksgsrocks Member Posts: 11
    I dont think spawning a actor in front so you cant touch works, try this in your first level when ever is complete to set game.level2 to 1(means also true ). And save attribute level2 key: level2.(is better to have anothere actor with this rulea and place it on level 1
    Ok so now in the menu where you click to go to level2 have this..
    Load attribute game.level2 key:2
    When pressed and attribute game.level2 is =1
    Change scene to level 2.
Sign In or Register to comment.