cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/22/02:07:17

Message-ID: <38381F0A.6D109D75@connection.com>
Date: Sun, 21 Nov 1999 11:34:21 -0500
From: sam <samirw AT connection DOT com>
X-Mailer: Mozilla 4.6 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: GETTING A SPRITE TO MOVE AROUND WITHOUT KILLING THE BACKGROUND
References: <7s0men$cvo$1 AT nnrp1 DOT deja DOT com> <37E4294A DOT 8F44A4FC AT gtcom DOT net> <s34njm9mhsq94 AT corp DOT supernews DOT com>
NNTP-Posting-Host: pm7-183.connection.com
X-Trace: 21 Nov 1999 11:41:16 -0500, pm7-183.connection.com
Lines: 24
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Peter Ketting wrote:

> Krogg <krogg DOT no DOT to DOT spam AT gtcom DOT net> wrote in message
> news:37E4294A DOT 8F44A4FC AT gtcom DOT net...
> > rpgmaletteallegro AT my-deja DOT com wrote:
>
> <snip>
>
> How about allocating a buffer (for each sprite) the size of said sprite
> and copying the region of the background to it wherever your sprite
> is going to be displayed. saves alot of memory and time.
>
> Cheers,
> Pjotr

I was playing with sprites  myself to see how fast it is on my computer.
 http:\\www.connection.com\~samirw\files\quix.zip
Look at it may be it will help you, although it does not restore the
original background but another one. Can you fix it to restore the same
bitmap?
Good luck, Sam.



- Raw text -


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