delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/18/09:46:29

From: Marko Aalto <marko DOT aalto AT teamw DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Using sprites with allegro
Date: Wed, 18 Feb 1998 15:11:27 +0200
Organization: ICL Data Oy
Lines: 16
Message-ID: <34EADDFF.2718@teamw.com>
Reply-To: marko DOT aalto AT teamw DOT com
NNTP-Posting-Host: 141.192.55.181
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,
I'm quite new programming in djgpp using allegro, but I have programmed
in C for years, and back in the old days (= 80's), using basic and
C64/Amiga, I used to develop games for my own amusement. 
Because C64/Amiga had sprites, the game programming with them was quite
easy. Especially, moving sprites across the screen without erasing the
background was easy.
But, how do you do the same with allegro? I noticed that it has
functions for putting sprite (or bitmap) to screen, rotating them etc.,
but what is the basic principle of moving them without erasing the
background by using allegro? I guess I should use temporary bitmaps to
store the background before I blit the sprite to screen or something...
So, any information regarding this would be appreciated!

Marko Aalto
marko DOT aalto AT teamw DOT com

- Raw text -


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