Hot answers tagged libgdx
When you accumulate deltas you are also accumulating rounding errors. Instead, record the system time the game started and compare it to the system time now. Do not use time-of-day as this can get adjusted by internet-based time-of-day clock synchronization and other things. Different OSes have different names for those clocks. On windows you can use ...
Only top voted, non community-wiki answers of a minimum length are eligible