Problem

So I found a problem with a game I am creating. So my game you press a balloon while it's falling and every balloon you press gives you a point. When the balloon hits the ground it goes it a game over scene and it shows your score then your best score then when you hit play again you go back to playing the game. When you go back it doesn't make the score to zero it stays the same number it was before and just adds points on that. Please respond how to fix this I have looked for tutorials and can't find any that fix my problem.

Thanks

Comments

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772

    You need to reset it manually with a chage attribute behavior.

  • Tr_2000Tr_2000 Member Posts: 9

    Jamie i dont understand. Please walk me through it.

  • justinlamjustinlam Member Posts: 6

    You can use the change attribute behavior to set the points back to 0 in the game over scene.

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772

    On your Play Again button, before it goes back to the play scene to play the game again, include a Change Attribute Behavior that says:

    Change Attribute Points to 0

  • Tr_2000Tr_2000 Member Posts: 9

    Thank you this helped me a lot. I found another problem though. So in the game over scene it shows score and best score. But in it you cant see the score it stays 0 and the best score is basically the score showing what you got. Sorry for all the problems i need help with i am a beginner at this. Thanks again.

Sign In or Register to comment.