Hey guys, I'm a beginner at Godot, trying to make my first 2D game. I sort of need a points system, but I dont know how to go about coding it (what nodes to use, what code, etc).
Basically, my game has a character that crosses the road and has to avoid oncoming traffic. Think Crossy Road, but instead of constantly tapping to move, my character is moving automatically, and player has to tap to stop walking instead. For every second he stays alive, a score of +10 is added. The character is constantly walking, and the player has to tap to pause the screen to wait for traffic to pass before crossing. Thus, the 'points' should not increase when the character is paused.
I cannot seem to find any examples of this sort of points system, maybe I could get some help here? Thanks!