PT
Developer Forums
Register
Login
[Archived] AppGameKit Classic Chat
->
agk::Timer() return seconds or milliseconds? maybe there is a bug.
<
1
>
H
halley
Joined:
27th Apr 2011
Location:
China
Posted:
17th Nov 2011 9:46
in my game ,I feel Timer() return seconds , instead of milliseconds.
How do others think about it?
B
baxslash
Joined:
26th Dec 2006
Location:
Duffield
Posted:
17th Nov 2011 10:08
It does return seconds but it's a float that's returned, IE. 1.0625 = 1 and 1/16th seconds.
If you want milliseconds you have to multiply by 1000.
H
halley
Joined:
27th Apr 2011
Location:
China
Posted:
17th Nov 2011 11:32
@baxslash : I see. Thank you.