Keeping up frame rate

Blitz3D Forums/Blitz3D Beginners Area/Keeping up frame rate

Clique(Posted 2004) [#1]
I was wondering how you can keep up the framerate in games because im making an RPG an the landscape is quite large and sometimes its skips so i would like to know if there are anyways to speed up the fps. i heard something about render tween which is soposed to be good for framerate, can anyone help?


smilertoo(Posted 2004) [#2]
Render tweening is for setting a constant framerate, not speeding it up.

Break the landscape up into pieces and only show whats visible.


WolRon(Posted 2004) [#3]
Use less surfaces, less polygons, etc.

Don't set camerarange too high (or too low).

Use fog if possible.

Use lower screen resolution.

Don't execute all functions every loop of the game, space them out every other loop, every 5th loop, etc.

Use terrains if possible.


Clique(Posted 2004) [#4]
john devoy could you explain render tweening or anyone, thank you


Zethrax(Posted 2004) [#5]
Render tweening is used to regulate the speed of your 3D game so that it plays at the same rate on different computers. Look for the commands 'RenderWorld' and CaptureWorld' in your Blitz3D documentation for more information.

Another technique for regulating game speed is the 'Delta Time' method. You can find tutorials on both render tweening and delta timing over at www.blitzcoder.com .

Also, take a look at the 'Castle' demo in the '3D Samples > mak' folder in your Blitz3D program folder. That demo uses render tweening and the tweening code it contains is what most people who use tweening use in their games.


Panno(Posted 2004) [#6]
camerarange is my favorite