Graphics3D 640,480,16,2
Const UPS=60
cub=CreateCube()
cam=CreateCamera()
PositionEntity cam,0,0,-10
period=1000/UPS
time=MilliSecs()-period
Repeat
Repeat
elapsed=MilliSecs()-time
Until elapsed
ticks=elapsed/period
tween#=Float(elapsed Mod period)/Float(period)
For k=1 To ticks
time=time+period
;Здесь код циклла
TurnEntity cub,0,0,1
If KeyHit(1) End
Next
RenderWorld ()
Flip
Cls
Forever
попробуй поменять значение UPS и увидишь разницу)