Making a "speed run" Timer
Hello, I am looking to add a running clock/timer to see how fast players can beat the game. I have not found anything in the forums. I have given a valiant effort BUT in two variations, I have had problems...
1. I set an actor to display attribute:timer decimal.
Within that actor another rule: Every 0.1 seconds... change attribute timer decimal to timer decimal+1.
another rule: When attribute timer decimal >9, change attribute timer decimal to 0
Next I set another actor up like the previous actor BUT with attribute "timer seconds" instead of "timer decimal". and "every 1 second... change attribute timer seconds to 1.
The timers do not line up when displayed together. So i tried this other formula...]
2. after 0.1 seconds...The rule says timer seconds attribute changes when timer decimal =0
This method works great an all the numbers line up... HOWEVER when I take a real life stopwatch and compare it to my game time, the game clock is much slower. Stopwatch said 30 seconds while my game was around 25 seconds...
Does anyone have any ideas on how to make a clock that will keep real time?