Const FPS=60
period=1000/FPS
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
xCaptureWorld
; Тут только логика
If KeyHit(1) Then End
UpdateWorld()
Next
; Тени кубемапы тут
RenderWorld
; 2D Отрисовка
Flip 0
Forever
Вставил еще xCaptureWorld
теперь всё путем!