i've pointed out a possible solution with a thread, but there may be others like for example with a timertask perhaps?
i mean where do you guys put all the code related to the game in the example above of the wikipedia? in the example above, the
in the display function shouldnt be there because as i see it, it belongs to the simulation function, that's what im specifically asking. We cant place all the gameupdate/logic/etc into the display function just because it's called everytime by the animator. It must be separated.
how can you control the timing/FPS of your app then?