help!!actor suddenly disappear

raggragg Member Posts: 65
edited November -1 in Working with GS (Mac)
hey guys,why everytime i restart the game after game over by changing the scene back to the game scene...my main actor just disappear?i didnt preserve the game scene...help pls

Comments

  • raggragg Member Posts: 65
    found my problem d...cause by a boolean attribute:S
  • JGary321JGary321 Member Posts: 1,246
    You have to reset all the game.attributes.

    For instance if you have a rule that says if game.HP = 0, change scene to GAME OVER.

    You have to also reset game.hp otherwise when the scene loads, it see game.HP as 0.

    The scene is not preserved, but all game.attributes are.

    -JGary
  • raggragg Member Posts: 65
    yeah...got it!thanks
Sign In or Register to comment.