RE: [Algorithms] update game with constant interval
Brought to you by:
vexxed72
From: Marc F. <ma...@ma...> - 2003-04-17 11:25:14
|
There is an interesting article that covers the topic of scheduling game events in Game Programming Gems 3, by Michael Harvey and Carl S. Marshall from Intel Labs. I currently use a slightly modified version of their implementation and it works very well for me. Their piece of code allows to maintain a virtual time clock based on the real time clock and schedule tasks in sync with either to the virtual time or frames update time. I can email you my implementation privately if you are interested (I suppose there would be legal issues if I post it here, since it's heavily based on the work published in the book) -Marc -----Message d'origine----- De : gda...@li... [mailto:gda...@li...]De la part de jason zhang Envoyé : jeudi 17 avril 2003 04:55 À : gda...@li... Objet : [Algorithms] update game with constant interval Hello folks, I'd like to update my game logic with fixed delta time because physics and logic are easy to be unstable with variant delta time. And rendering will be done by interpolating between two update frames. I cannot find the discussion(I remember there were much) on this in the mail archive and on google. Maybe my search skills are so poor. Could someone give me some hints or links, please? And thanks. N±µ²²uY¢¢ ½¶þz¶¢²q®z¶þ¶º~zþ¶¶Ûiÿû(º·~àzwþf¢ªÜ+Þýú+ºja¥ú+ºh | |