finding fps

Blitz3D Forums/Blitz3D Beginners Area/finding fps

in your main loop do something like this

repeat

;game stuff goes here, 



updateworld
renderworld
fpscount=fpscount+1
if millisecs()>fpstime then 
    fpstime=millisecs()+1000
    fps=fpscount
    fpscount=0
endif 
text 0,0,"FPS:"+fps
flip

until keydown(1)