Mail Archives: djgpp/1997/06/17/09:50:59
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 -