Hi,
I took the tutorial https://www.scirra.com/tutorials/5343/h ... -game-capx
You can download it (left corner)
The eventsheet "Saving Events"
Line 4: every tick/frame update the textfield Score and Highscore to the stored value (the variable Highscore is in the same eventsheet - the Score is in Eventsheet "gameevents")
Now take a look in the eventsheet "playerevents"
Here you find in line 7 that you get 10 points for jumping over a log and in line 15 you get 50 points for reaching the fire.
If you delete those lines and change it to every 1 second | add 1 to Score we have the game you want.