Real FPS Value

Blitz3D Forums/Blitz3D Programming/Real FPS Value

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Yes, updateworld takes a parameter and it works nicely. The only problem is that you never exactly know the duration of the NEXT frame, so when the fps drops from one frame to the next from 120 to 10, animation and movement will jump a little. ALthough, usually this method is used to find the best average fps on a users machine. And a level should be designed in a way that the rate won't drop down that much.

Many people prefere tweening over delta, but there is one serious problem when you have a fixed Refresh rate: the rate may be not compatible with the physical rate. this will result in cut off frames. The hardware shows the first half of the screen of the old frame, and the lower part of the new frame since you used to FLIP without to sync it with Vwait.

well, with higher rates, 100 Hz and more, this may be not so obvious.