www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/25/01:30:36

From: "matthew p. conte" <spam AT somebody DOT else>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Sprite Movement???
Date: Wed, 25 Feb 1998 01:19:53 -0500
Organization: little, if any
Lines: 12
Message-ID: <6d0cuc$flb@dfw-ixnews7.ix.netcom.com>
References: <01bd41ba$5f356820$7451dece AT stachowiak>
Reply-To: "matthew p. conte" <dont AT bother DOT com>
NNTP-Posting-Host: alb-ny9-12.ix.netcom.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Helix wrote in message <01bd41ba$5f356820$7451dece AT stachowiak>...
>How would I go about creating a sprite without disturbing the background. I
>have the allegro libraries but what I really need is some sample code in
>moving a bitmap or RLE sprite around the screen using the arrow keys. I
>would appreciate any help on this matter.

You need to make a separate bitmap for both the background and the sprite,
and then blit both of them to the screen.

Matt.


- Raw text -


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