Just noticed that the timer of game may vary if the CPU is very slow;
I have this code:
Every 0.05 seconds Add 0.05 seconds to mytimer
How can I measure the real world time more accurately to make calculations based on time?
Also, even if I monitor the system variable Time, it seems to run slower than a real-time clock when I enable from Chrome settings the slow computer simulation mode...
Can I use DT somehow to convert time to real secs?
Should this work better? Every tick: add DT to mytimer?
If I enable Chrome 6x cpu slowness setting, it also affects to DT..
What API can I use to read system clock directly?