cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/06/20:02:53

From: Shawn Hargreaves <Shawn AT talula DOT demon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro Sprite Problem
Date: Wed, 6 Aug 1997 20:28:38 +0100
Organization: None
Distribution: world
Message-ID: <Y4eFKkAmBN6zEwUx@talula.demon.co.uk>
References: <3 DOT 0 DOT 32 DOT 19970805205511 DOT 0068719c AT m1 DOT 261 DOT telia DOT com>
NNTP-Posting-Host: talula.demon.co.uk
MIME-Version: 1.0
Lines: 15
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Daniel Mattsson writes:
>The problem is that when i move around the sprite it leave line of 
>itself in strange places over the screen. For example when i move
>it up suddenly a line from the sprite appears 20-30 pixels up...

You are redrawing your sprite while the mouse pointer is being
displayed: this is a bad thing because it confuses both my pointer
drawing code and in some circumstances the SVGA bank switching routines.
Call show_mouse(NULL) at the start of your drawing routine, and
show_mouse(screen) at the end of it, and all will be well...


--
Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
Beauty is a French phonetic corruption of a short cloth neck ornament.

- Raw text -


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