Lives And Reseting Scene?
Eminem
Member Posts: 667
i have 3 lives set each life will become decreased but when i the 3 images i have set go to 0 i have put it to reset scene but then there are no lives located on the top
is there someway i can do this with out reseting game?
is there someway i can do this with out reseting game?
Comments
Maybe take a look at that and apply it to your game.
Instead of adding 1 to the 'count' variable, you'd subtract 1 from your 'Lives' Variable. Then when lives = 0 go to game over screen or title screen or whatever.
On your 'start' button, or where you've put the reset currently, change the attribute 'lives' to 3.
Hope that helps,
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
I used the tutorial in the how to section to set up the lives