Computer Science Canada


Author:  guttface [ Mon Feb 16, 2004 1:14 pm ]
Post subject:  setscreen("offscreenonly")

i'm prety new to turing, and i keep seeing "offscreenonly" in a lot of posts. what does it mean/do?

Author:  Mazer [ Mon Feb 16, 2004 2:29 pm ]
Post subject: 

Offscreenonly is used to tell turing to draw only to the offscreen buffer until you use View.Update which tells it to draw everything to the screen at once. Pretty much like swapping buffers in OpenGL. The purpose of drawing this way is to reduce flickering in animations.

Author:  guttface [ Mon Feb 16, 2004 2:53 pm ]
Post subject: 

thanks. Also, i'm making whak-a-mole, and i keep getting an error saying "outside clipping region". is that because i'm click outside of the screen? how can i fix it?

Author:  Cervantes [ Mon Feb 16, 2004 3:35 pm ]
Post subject: 

Have you been using View.ClipAdd or View.ClipAddOval?
doing a simple mousewhere inside a loop should not crash if you click outside the run window.