Quote: "2. The do-loop-method has the advantage, that the screen is still refreshed, when the application was minimized, and in your version the screen is not updated again, so you don't see anything afterwards. "
There's a check to see if the program has been minimized isn't there? Then you could sync after returning and that would save... whatever it saves
[edit]
found it:
SCREEN INVALID()
So the new code would be:
sync on : sync rate 0
make object cone 1,1
make mesh from object 1,1
delete object 1
i=1
for z=1 to 10
for x=1 to 10
make object i,1,0
position object i,x*object size x(1),0,z*object size z(1)
inc i
next x
next z
position camera 5,5,-5
point camera object position x(55),object position y(55), object position z(55)
sync
while mouseclick()=0
if screen invalid() then sync
endwhile
END
In programming, nothing exists
