The simplest way to set a certain framerate would be to use a timer, for example
Graphics3D 1024,768,16,1
Setbuffer BackBuffer()
Timer_Frame = CreateTimer(30)
Camera = CreateCamera()
While Not Keyhit(1)
WaitTimer(Timer_Frame)
UpdateWorld
RenderWorld
Flip
Wend
End
I think this is the simplest way but there are much better ways of achieving a set framerate and I wouldnt recommend using this in a game.
Graphics3D 1024,768,16,1
Setbuffer BackBuffer()
Timer_Frame = CreateTimer(30)
Camera = CreateCamera()
While Not Keyhit(1)
WaitTimer(Timer_Frame)
UpdateWorld
RenderWorld
Flip
Wend
End
I think this is the simplest way but there are much better ways of achieving a set framerate and I wouldnt recommend using this in a game.