Time limit on a game

i have this game that i just got the way i want it, but it goes on forever, i need help on how to make an alotted time, so that i can have a level 2 with increased difficulty, thanx in adance.

You’ll have to mess with the getTimer () function. You can get the time elapsed since the beginning of the animation just by tracing it.

pom 0]