Re: [Super-tux-devel] FPS issue
Brought to you by:
wkendrick
From: Tobias <tob...@gm...> - 2004-02-19 12:06:13
|
Am Do, den 19.02.2004 schrieb Duong-Khang NGUYEN um 05:49: > 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" I'll send a detailed CVS status report tonight. I'm afraid that I haven't found the time yet. The method you described could be a solution. As I stated in another mail the current movement code of Tux is "completely" destroyed (I was it) for a few reasons (to make it better :) ) and we'll hopefully see the best SuperTux ever after that is resolved. Greetz... Tobias Gläßer -- |