Workshop › Frogger-style Crossing › Step 22 of 22
Add pressure: each frog has 30 seconds (1800 frames) to reach a home. When time runs out, the frog is lost. A yellow bar at the top shows the time left.
TOP - 4, 4 pixels tall) is as wide as the time left: the full width at 1800.Skills: Game states, The game loop