scene problem

mnemicmnemic Member Posts: 49
edited November -1 in Working with GS (Mac)
when you fail a level, you press play again and technically it should take you back to the home screen where you have your options and play game button.

but when i press play again it goes to the splash screen then loads games. how do i make it load the game scene not the splash?

thank you :)

Comments

  • mnemicmnemic Member Posts: 49
    i want to get my game done today just final touch ups and want to share with you guys. i know im being a pain asking too many questions but i won't have to ask again when im done.

    Please...

    when you fail a level, you press play again and technically it should take you back to the home screen where you have your options and play game button.

    but when i press play again it goes to the splash screen then loads games. how do i make it load the game scene not the splash? What rule do i need for this?

    thank you :)
  • DrGlickertDrGlickert Member Posts: 1,135
    are you using the Reset Scene behavior or the Reset Game behavior?

    Be sure to re-adjust your game.attributes when using the Reset Scene behavior.

    (you can also use a "Change Scene" behavior to go back to the main screen where the player can select to play a new game, options, etc.)
  • DrGlickertDrGlickert Member Posts: 1,135
    What I do with my games is this;

    I have a game.integer attribute (game.progress)

    When game.progress is 1, nothing is happening. The player taps an actor that changes game.progress to 2.

    All my actors have every rule wrapped in a large rule that when game.progress is = 2 then do the game behaviors

    When game.progress is equal to 3, then my 'you failed' or 'you win' pops up.

    Don't know if this is the best use of game behaviors and rules, but it seems to work for my games.
  • mnemicmnemic Member Posts: 49
    but when i use change scene it goes to the splash screen.
Sign In or Register to comment.