How Do I Change Scenes And Reset Lives,Health EXT

teamepiphanyteamepiphany Member Posts: 3
edited February 2012 in Working with GS (Mac)
I just started working with Gamesalad and the first game I made was a brick breaker game. It was simple until I decided to add more levels. I used the change scene Behaviour to go to the next level but everything stays the same. I want the lives to reset and require a new number of bricks to be brocken to advance. Im looking for a way to basically change scenes keep all the actors and there properties but reset lives and change numeric atribute requirements.

any help would be greatly apreciated

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    Put change attribute behavior by themselves changing everyting to what its supposed to be. SO when you change to that scene everything changes to what you want.
  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    Your lives would be an attribute.
    When it changes scene, change the attribute game.lives to whatever you want, say 3.
    For the bricks, it's the same thing. Set the brick to an attribute etc.

    Hope this helps,
    Bray
  • teamepiphanyteamepiphany Member Posts: 3
    Hey thanks for the help I was able to get everything to reset perfectly, except for the ball start button and next level button. for some reason even tho I have the ball and start button placed on the scene it does not load with them on it and the ball is only set to disappear if lives are=0 wich they are not. as for the next level icon i have tried destroy on touch as well as creating a new atribute to destroy it but it wont go away. I crated the game follwing this very helpfull tutorial "" so I might just go back and watch that but if you guys have an ideas let me know what i could be doing wrong :)
Sign In or Register to comment.