I need a timer
Hello there, I need a timer so I can calculate the position of a particle every 20ms or so, what do you guys use for this?
Depends on the API you're using. For example, if you're in Cocoa, you'll likely want to use NSTimer.
This also may be of interest: http://www.sacredsoftware.net/tutorials/...tion.xhtml
This also may be of interest: http://www.sacredsoftware.net/tutorials/...tion.xhtml
Oh yes I forgot, I'm using Cocoa
EDIT: thanks, problem solved with NSTimer
EDIT: thanks, problem solved with NSTimer
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Game Timer | larswik | 10 | 2,332 |
Dec 4, 2012 03:35 PM Last Post: AnotherJake |
|
| Back to timer/update issue | Talyn | 2 | 2,133 |
Oct 21, 2008 11:50 PM Last Post: Talyn |
|

