a simple hard problem???

Hipster_Owl_StudiosHipster_Owl_Studios Member, PRO Posts: 214
edited November -1 in Working with GS (Mac)
ok im confused as to what i do! when my actor dies its suppose to switch a scene and display the score then return to the main menu when i press play again it does not start again well it flashes to game real quick then it jumps back to the scene where it displays your score so its like when i die the scences dont go back to there original state and i have a rule in the background saying "when game.lives = 0" "reset score" and in my player actor i have "when game.lives = 0" switch scene to display score" idk how to fix this simple problem maybe theres a template you guys can show me any help would be great. thank you!

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    you have to change each attribute back to its original state before switchig from score scene back to level
  • gazjmgazjm Member Posts: 578
    As john said, you just need to reset the lives.

    for example, you could have it so as when you click the start button on the main menu, there is a rule which changes game.lives to 1 ( or however many lives you want )
  • Hipster_Owl_StudiosHipster_Owl_Studios Member, PRO Posts: 214
    thanks guys!
Sign In or Register to comment.