Hello,
I can't achieve to reproduce Sync() function with the update,render, and swap functions (as said in help file). Animations don't "play". I've tried several values for the update time ... with no result ...
I want the screen to be refreshed at maximum speed (60FPS.. depending on the host) while controlling the game speed at 35fps for example. The problem is that the SetSyncRate function limits the screen refresh rate (and not only the gameloop rate) because it pauses the loop. And at 35FPS the refresh is visible (it flickers on screen scrolling etc...) .. and i want to have the game to run at the same gamespeed (35FPS) even if the host can refresh only at.. 45FPS for example (due to hardware limitation).
The idea is to render and swap each frame but update objects and animations at a lower rate.
Is there any example of an update/render/swap routine which works "really" like sync() ?
Thanks