Frame Limiting

Blitz3D Forums/Blitz3D Programming/Frame Limiting

_PJ_(Posted 2004) [#1]
How can I accurately limit framerate?

My creation is a First-Person shooter (groan), but where the camera points at the sky (only the skybox to render and draw), the framerate shoots up and of course, everythingg happens real quick. However, when looking at the distant mountains, with the animated, tidal sea in view, it all slows down. The slowes speed is more than playable, however, and would like to limit this without compromising compatibility with other-spec computers.


SabataRH(Posted 2004) [#2]
Your slowdown is a direct result of fillrate limits on particular vcards.. The more textures and higher resolutions can bring the fps down..

Look at the frame-tweening code in the Castle demo, i think it's one of the best tweeners around.