News:

Function Finder  Find all the functions within source code files

Main Menu

Cant read FPS

Started by monkeybot, October 06, 2011, 01:01:59 PM

Previous topic - Next topic

monkeybot

when i run this fps is not returned.
0 is displayed rather than the actual framerate.


weird...




repeat    
cls
print fps()
For q=0 to 100
circle rnd(800),rnd(600),rnd(50)  
; sync
next
sync
until false



anyone got any ideas?Fraps is still reporting framerate.

ha.just rebooted the computer,all is fine now...

Big C.

I see a number in the upper left corner...

monkeybot

thanks Big C.I rebooted and it came back.

kevin

#3
Quote0 is displayed rather than the actual framerate.

   it'll display zero initially..  


  Although if you run the code with the sync inside the loop, then it's flipping the entire display between each circle draws.

  ie.

For q=0 to 100
circle rnd(800),rnd(600),rnd(50) 
sync
next