Time decimals
So i made a timer of a change attribute (timer to timer+0.01), every 0.01sec. All of a sudden theres 0.000001 decimals showing up, how do i get rid of those? Or is there better ways to do timers?
Best Answer
-
master200012 Posts: 372
The way your doing things is inefficient, to put it bluntly.
Try this:
http://forums.gamesalad.com/discussion/44707/timers-are-for-chumps-gs-optimization-tips#latest
I know it's lengthy, but it will most definitely be of help.
Good Luck!
Answers
But when im previewing, after replaying the level a few times the timer start gets delayd.
First level start up, clock starts on level loaded, after ~3 start ups it takes about 1 second till the clock starts ticking. 1 sec till it starts counting from 0.
I switch scenes like this Menu->Game->Menu->Game.
Am i doing something that's heavy for a certain part in the engine or why do i get a delay?:)