Mouse Image-flicker/other?
Blitz3D Forums/Blitz3D Beginners Area/Mouse Image-flicker/other?
| ||
| When using an image for a pointer, while using flip every loop, how can I either get the mouse not to flicker, or is there a better way? Can I just replace the pointer image?? sample code:
Graphics3D 800,600,16,3
SetBuffer BackBuffer()
Cls
blank=LoadImage("c:\blitz\blank.bmp")
While Not KeyHit(1)
Cls
DrawImage blank,MouseX(),MouseY()
Flip
Wend
FreeImage blank
End
|
| ||
| I think it is because you are using a scalable window: Try changing this: Graphics3D 800,600,16,3 To: Graphics3D 800,600,16,2 |
| ||
| @all Jeppe is correct. his code is similar to mine, and that works perfectly |