[Super-tux-devel] FPS issue
Brought to you by:
wkendrick
From: Duong-Khang N. <neo...@us...> - 2004-02-19 10:53:13
|
Hi, This message is especially for Tobias. I think I can get rid of the current bad bugs. However, the problem is that you calculate the "frame_ratio" during the game. It's better that you calculate its average during the first 10seconds for example and stop playing with it later. As Ingo said, I think that we should stick with a fix FPS. Another problem is the movement of tux now depends on the "frame_ratio". That's why tux moves weirdly. And the old codes will work perfectly if you put 4 roundf() in "player.c" -- Never say if I could turn back the time, life is going on ! |