2
votes
1answer
153 views

Could the delta frame time be negative?

I'm following a tutorial about the time management and, the tutorial shows this function: double GetFrameTime() { LARGE_INTEGER currentTime; __int64 tickCount; ...
1
vote
5answers
2k views

Game Timer In C++

I need to be able to find out how many milliseconds since that last update. Is there any way I can find it out with time rather then a thread that counts like I did below? #include <iostream> ...
1
vote
1answer
437 views

High Resolution Timer Options in Windows

I'd like to know what are my options for high resolution timer in Window. I want a timer with at least 1ms precision since I need it for a rhythm game. I'm using QueryPerformanceCounter now, but I ...