Here is a simple codeexample:
======================================================================
set display mode 800,600,32
set window size 800,600
set window position 1,1
set window layout 1,1,1
set window title "Ball"
set window on
sync rate 0 : sync on
ink rgb(255,255,255),0 : box 0,0,8,8
get image 1,0,0,8,8
ink 0,0 : box 0,0,10,10 : ink RGB(255,255,255),0
set sprite 1,1,1
richtung=1 : x=0 : y=0
sprite 1,0,0,1
do
y=y+richtung
if (y < 1) or (y > 589) then richtung=(richtung * -1)
sprite 1, x, y, 1
showfps()
sync
loop
function showfps()
ink 0,0 : box 500,80,799,100 : ink RGB(255,255,255),0
text 500,80,str$(screen fps())
endfunction 0
======================================================================
Here i only get 37 fps - but by disabling BACKSAVE it runs with over 700 fps.
Is this a bug, a feature or am i doing something wrong?
alterego