www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/08/12:31:40

From: "J.E." <cellis AT voyageur DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: Allegro Blitting
Date: Thu, 06 Nov 1997 22:22:39 -0600
Organization: Bell Network Solutions
Lines: 15
Message-ID: <3462978E.5127@voyageur.ca>
Reply-To: cellis AT voyageur DOT ca
NNTP-Posting-Host: 207.236.8.13
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I am considering using a 320x10000 bitmap as a scrolling background for
a top down space shooter which I will write using Allegro.  Basically,
I'd have the entire bitmap in memory, and would blit a 200 pixel tall
section of the bitmap to the screen each frame.  The benefit that I can
see to this is that the background can be hand drawn or scanned for
great detail.  However, is this really efficient, or would it be a
ridiculous way to make a scroller?  Also, is it possible to load single
objects at a time from an Allegro data-file (so that I could have all
the backgrounds in one data-file)?  Well, that's about it.  Thanks for
your time and help:-)

Jordan Ellis  <cellis AT voyageur DOT ca>

P.S.  Allegro plays samples for me fine under Win95, but is silent under
DOS.  Why??  Thanks again 8-)

- Raw text -


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