Score won't work


#1

I followed this tutorial: https://youtu.be/nY9kP9OZCes for my endless runner, so when the player colides with the platform the score goes up, but when the player dies and goes back to the home screen, and presses play again, it was on the same score that it was when i died


#2

To reset the score from the home screen, you can add the action to do 0 to your score variable.


#3

Can you please tell me how do you do that


#4

If you’re using a global variable for the score, it should be:

Action: Do = 0 to global variable Score.

You can put this with the “at the beginning of the scene” condition, but don’t have to.