Help - Restarting a scene but keeping the score

JegriffithJegriffith Member Posts: 9
edited January 2012 in Working with GS (Mac)
I'm using the brick breaker pre made scene, and I want to know how to make it so the scene will reload all the blocks but keep the score? And I want to make it also if the ball falls out of bounds the game ends and you'll have to upload your high score and stuff?

Can someone legitimately help me by giving a detailed behaviors on how to do that? Cause I've been trying all day but nothing seems to be working. Thanks.

Comments

  • MotherHooseMotherHoose Member Posts: 2,456
    which score do you want to keep???
    the game.Score at the start of the scene (without score in that scene added)?
    the game.Score with the sceneScore added?
    or the Score for the scene?

    to end game … on prototype of ball
    Rule: when self.Position.Y < 0
    --changeAttribute: game.GameOver To: true (or whatever you use to track the gameOver should be changed)

    @};- MH
  • JegriffithJegriffith Member Posts: 9
    The score for braking the bricks @motherhoose
Sign In or Register to comment.