Data Realms Fan Forums http://45.55.195.193/ |
|
Timer http://45.55.195.193/viewtopic.php?f=73&t=25584 |
Page 1 of 1 |
Author: | Asklar [ Mon Sep 19, 2011 10:18 pm ] |
Post subject: | Timer |
Is there any function to know in which MS or S the timer is? |
Author: | Roast Veg [ Mon Sep 19, 2011 10:22 pm ] |
Post subject: | Re: Timer |
Well simply checking whether it ticks over less than once a frame update would tell you pretty reliably. |
Author: | Asklar [ Mon Sep 19, 2011 10:23 pm ] |
Post subject: | Re: Timer |
Excuse my ignorance, but how would I do that? |
Author: | Roast Veg [ Mon Sep 19, 2011 10:26 pm ] |
Post subject: | Re: Timer |
By timing the timer, using a MS timer, and see if they change at the same rate or not. |
Author: | CaveCricket48 [ Mon Sep 19, 2011 10:43 pm ] |
Post subject: | Re: Timer |
Code: Timer.ElapsedSimTimeS or Code: Timer.ElapsedSimTimeMS is what you might be looking for if I understood your question. |
Author: | Asklar [ Mon Sep 19, 2011 10:50 pm ] |
Post subject: | Re: Timer |
Yes, that's what I was looking for. Thanks! |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |