Tagged Questions
0
votes
4answers
1k views
Problem trying to lock framerate at 60 FPS
I've written a simple class to limit the framerate of my current project.
But it does not work as it should. Here is the code:
void FpsCounter::Process()
{
deltaTime = ...
8
votes
1answer
742 views
Separating logic/update from render/drawing code in a single thread using sleep
I've read that the speed of game objects should not be hindered by FPS but instead should be based on time. How can I seperate the update/draw code to maximize performance without limiting the drawing ...