add this:
after the Graphics command..
hmm.. on a second view:
when you want to make a paint-toolie, rather paint on an image-buffer.. and DrawBlock that image-buffer to the Backbuffer.. then flip.
so, your loop is like (pseudo :)
repeat
setbuffer imagebuffer(MyPainting)
; do your drawcommands/mouse here
setbuffer backbuffer()
drawblock MyPainting,0,0
flip
until you pressed escape
Do try to learn about event-style programming.. you WANT that!
SetBuffer BackBuffer()
after the Graphics command..
hmm.. on a second view:
when you want to make a paint-toolie, rather paint on an image-buffer.. and DrawBlock that image-buffer to the Backbuffer.. then flip.
so, your loop is like (pseudo :)
repeat
setbuffer imagebuffer(MyPainting)
; do your drawcommands/mouse here
setbuffer backbuffer()
drawblock MyPainting,0,0
flip
until you pressed escape
Do try to learn about event-style programming.. you WANT that!