Basic Game Loop
Darookie, never knew of that ManualResetEvent method (I need to dig into .net more lol), thanks I will try your method.
Firestryke, that seems like a alright idea (only because this is the server im talking about), even with using Thread.Sleep(x) I can make sure the world is updated 60 times a second with that code, once I finish developing the server I may attempt to use that idea and see how well it works aswell. Thanks
Firestryke, that seems like a alright idea (only because this is the server im talking about), even with using Thread.Sleep(x) I can make sure the world is updated 60 times a second with that code, once I finish developing the server I may attempt to use that idea and see how well it works aswell. Thanks
Firestrykes approach is also described in the well known article
http://gafferongames.com/game-physics/fix-your-timestep/
http://gafferongames.com/game-physics/fix-your-timestep/
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement