I followed this tutorial: GDevelop 5 Platformer Tutorial #4 | Coins and Score! - YouTube 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
To reset the score from the home screen, you can add the action to do 0 to your score variable.
Can you please tell me how do you do that
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.