delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/17/09:50:59

Date: Tue, 17 Jun 1997 08:48:54 -0500 (CDT)
From: Andrew Deren <aderen AT eecs DOT uic DOT edu>
To: "Gautam N. Lad" <gautam AT interlog DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Memory/background bitmap: Allegro
In-Reply-To: <5npug2$j61@news.interlog.com>
Message-ID: <Pine.SUN.3.95.970617084806.22477A-100000@ernie.eecs.uic.edu>
MIME-Version: 1.0

Each time you move your sprite store the area under which it's going to be
than draw that sprite and then when you want to move just restore the
saved area.

On Thu, 12 Jun 1997, Gautam N. Lad wrote:

> Hi,
> Ok, in my game, I'm using 640x480, and it's a tile based game.  What I want,
> is to have the tiles in the background remain permanent, while the player's
> sprite moves around.  Right now, I'm double buffering, and blitting 
> EVERYTHING!  I'm assuming this is a slow and in efficient method.
> Is there a faster (and a less complex) method of doing such a thing?
> 
> I just want the background bitmap to be permanent, and not change (Unless
> I tell it to).
> 
> 
> Bye!
> 
> ****************************************************
> * Gautam N. Lad                                    *
> *--------------------------------------------------*
> *                                                  *
> * E-Mail    : gautam AT interlog DOT com                  *
> * Website   : http://www.interlog.com/~gautam      *
> *                                                  *
> * OS/2, DOS/Windows, Graphics Gallery, Software,   *
> * Links, Rayzor Editor/2, POV-Ray, TexturEyes,     *
> * POV-PAK and lots lots lots more!!!!!!!           *
> ****************************************************
> 

- Raw text -


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