Help Me Please
Incredibo
Member Posts: 274
Hello,
I am doing my Level Unlocking & Display HighScore over the level number & how do I put once started again reset because I play it once then go back and my score is supposte to be 10(the highest) but if i Get 10 twice it show's the score as 20
Help Me
Regards,
BG
I am doing my Level Unlocking & Display HighScore over the level number & how do I put once started again reset because I play it once then go back and my score is supposte to be 10(the highest) but if i Get 10 twice it show's the score as 20
Help Me
Regards,
BG
Comments
When I display the score in the level, I display total+current score so it's up to date
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
This way, whenever you reset the scene (either through 'reset scene' or 'change scene to the same scene'), GS reads that single change attribute behaviour and sets the current score to 0.
Hope that helps!
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
& after that I put change atribute to 0??
Regards,
Bo Garza
Ace
If you need to restart a level though, it'd be useful to be able to reset the current score to 0.
You can do this in the way I mentioned, or do it by putting the 'change current score to 0' change behaviour into your reset button, within a rule for a button press.
Cheers,
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io