Message-ID: <38381F0A.6D109D75@connection.com> Date: Sun, 21 Nov 1999 11:34:21 -0500 From: sam 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 wrote in message > news:37E4294A DOT 8F44A4FC AT gtcom DOT net... > > rpgmaletteallegro AT my-deja DOT com wrote: > > > > 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.