Mail Archives: djgpp/1999/06/07/05:24:18
Beholder1 writes:
> I'm wondering, is there any way to write to the screen while having
> a mouse present without having to call scare_mouse() every time?
Not unless you are using a VBE/AF driver that supports hardware cursors.
> When i scare the mouse, draw the screen, and then unscare the mouse,
> I get an unattractive flicker.
If you are doing a fully fledged screen animation, you need to make
the mouse pointer be a part of that system. In other words don't use
Allegro to draw the cursor at all, but just plot your own sprite
using the same double buffering or page flipping system that you
have in place for the rest of your graphics.
Shawn Hargreaves.
- Raw text -