delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/18/07:55:23

Date: Tue, 18 Mar 1997 13:47:33 +0100 (MET)
From: Christoph Kukulies <kuku AT gilberto DOT physik DOT rwth-aachen DOT de>
Message-Id: <199703181247.NAA10767@gilberto.physik.rwth-aachen.de>
To: djgpp AT delorie DOT com
Subject: allegro - sprites and smudge on screen

Are there any precautions to take when drawing a custom cursor 
and moving that one around on the screen while drawing other stuff?

I'm updating a graphical counter (steered by the mouse coordinates
in the test version) and while that I'm moving a crosshair cursor by
mouse postition.

While I'm moving a round the sprite smudge gets spattered over
the screen (pieces of the sprite, pixels are set where they not
should be etc etc.).

When I'm doing a show_mouse(NULL) before I'm doing the drawing the
smudge disappears but this is leading to intolerable flickering
of the sprite.

--
Christoph P. U. Kukulies kuku AT gil DOT physik DOT rwth-aachen DOT de

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019