# Time limit on a game

**URL:** <https://forum.kirupa.com/t/time-limit-on-a-game/2495>\
**Category:** Uncategorized\
**Created:** [March 25, 2002, 11:31am UTC](https://forum.kirupa.com/t/time-limit-on-a-game/2495 "2002-03-25T11:31:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 25, 2002, 11:31am UTC](https://forum.kirupa.com/t/time-limit-on-a-game/2495/1 "2002-03-25T11:31:57Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 25, 2002, 2:07pm UTC](https://forum.kirupa.com/t/time-limit-on-a-game/2495/2 "2002-03-25T14:07:06Z")

</div>

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]
