Frame limiting

BlitzMax Forums/BlitzMax Programming/Frame limiting

Hi Videogame Takeaway

I have two questions :

- I'm obliged to use alway double value ? like this :
MySpritePX:Double=10

....
MySpritePX=MySpritePX+1*Delta
....

It is correct ?

- I don't understand very well the line :
If ScreenUpdate > 0.30 Then

Can you clarify ?

I notify a strange stuff :
when i want to know the FPS with : DrawTex DeltaTime.FPS(Delta1),10,10

This return some strange value between 60=>145698=>65=>300 etc ? when i open a screen with the NOSYNC flag, any idea ?
or i must use a constant refresh rate, like 60 ?

Cheers