help me please!!! how to set a timer on a game -
11-13-2011, 04:15 AM
i am creating a time trial game for a project and am having problems setting the timing aspect up - at present i have got the screen to print the time elapsed when my car moves but cant get it to stop timing and also would like to help with resetting the timer, any ideas please???
well use a boolean variable. have the variable be true while you want the timer to be running, then whenever you want the timer to stop have the variable set to false.
How do i get a timer to reset?!? -
12-05-2011, 11:56 PM
I am making a game where a car has to find a cube in 10 seconds. Yet if they find the cube or run out of time, they are asked if they want to play again. My only problems is getting the timer to reset to 10 seconds and countdown again!! SOMEONE PLEASE HELP ME!