Hi Filax,
Use floats or doubles, your choice but never Ints.
Based on the Frame Rate I set earlier in the code this line forces a screen update about every 60th of a second and prevents a screen update occuring every computational frame.
The FPS reported is actually the speed of each computational frame, remember graphics are only rendered when Screenupdate > 0.30
Does this help? probably not, I'm tired and full of beer. Ask me again if you need me to explain.
PS. Call me Tim.
Use floats or doubles, your choice but never Ints.
- I don't understand very well the line :
If ScreenUpdate > 0.30 Then
If ScreenUpdate > 0.30 Then
Based on the Frame Rate I set earlier in the code this line forces a screen update about every 60th of a second and prevents a screen update occuring every computational frame.
The FPS reported is actually the speed of each computational frame, remember graphics are only rendered when Screenupdate > 0.30
Does this help? probably not, I'm tired and full of beer. Ask me again if you need me to explain.
PS. Call me Tim.