New answers tagged timer
It depends on how the rest of your game runs. Either use ticks or time, but choose one and use it everywhere. I prefer using ticks, and setting a max framerate. If the game slows down, so be it. I don't want any quantum tunneling to happen. It's simpler, and i like it. But you could use delta time, and get different framerates with the same game speed. ...
If your game logic is going to be tick based you do not change the tick rate. Fixed tick-based logic update is useful when you need to easily insure game physic & logic is 100% reproducible as delta-time updates will cause different rounding errors depending on the time elapsed. You can still use delta-times with tick-based updates for calculating the ...
Anything that can affect the fundamental outcome of the game in this manner should be based on delta times. Delta time ensures that the correct amount of actual time is perceived by the game logic, usually delta time is handled in ms.
Top 50 recent answers are included