
-----------------------------------
tino
Thu Jan 13, 2005 5:45 pm

flicker problem
-----------------------------------
thanks

-----------------------------------
Cervantes
Thu Jan 13, 2005 6:01 pm


-----------------------------------
1.)

setscreen ("graphics: 640:480") % Sets the screen size 

needs to be

setscreen ("graphics:640;480,offscreenonly") % Sets the screen size 

Note the thing between 640 and 480 is not a colon, it's a semi-colon.

3.)You should try to have just one cls, one View.Update, and one delay.
Personally, I would put the cls at the start of the loop, but you can have it at the end of the loop (after the View.Update and delay (40)) just as well.  
I would suggest eliminating that delay (500).  

4.) (This one isn't related to the flickering)
Don't declare variables inside a loop.  You should move your declaration of x3 and y3 outside the loop.

5.)  Looks nice! :)

-Cervantes
