what timers would you use for differnt parts of the game

Started by
0 comments, last by Telastyn 13 years, 1 month ago
havok only like big times like 1 /60 for its update , so if you do that and only render once havok has updated then the game would be smoother

i would have thought that AI would not need to run that often , maybe 1/5 seconds, or even split that up

what would people recommend
Advertisement
Eh? I don't quite understand what you're trying to convey.

Generally I try to avoid fixed step timers. Have one that is the source of truth for your game. Take snapshots of that timer at the beginning of each frame/iteration/unit of work for code that needs it.

This topic is closed to new replies.

Advertisement