cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/19/03:26:31

From: "Alex " <alex99 AT death-star DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: allegro - sprites and smudge on screen
Date: Tue, 18 Mar 1997 19:01:48 GMT
Message-ID: <01bc33ce$85cfd100$ae80dec2@default>
References: <199703181247 DOT NAA10767 AT gilberto DOT physik DOT rwth-aachen DOT de>
NNTP-Posting-Host: eftr.demon.co.uk
Lines: 21
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp


Christoph Kukulies <kuku AT gilberto DOT physik DOT rwth-aachen DOT de> wrote in article
<199703181247 DOT NAA10767 AT gilberto DOT physik DOT rwth-aachen DOT de>...
>
> 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.
> 

I do know what you can do for the flickering, but that's about it:

You need to check if the cursor has been moved yet, if it has tell the
program to redraw the sprite, if not tell it not to redraw the sprite.
I hope this helps

---
Alex

E-Mail: alex99 AT death-star DOT com
WWW: http://www.eftr.demon.co.uk/meltdown/

- Raw text -


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