From: Yamaha / XYZZ Newsgroups: comp.os.msdos.djgpp Subject: Re: Screen Scrolling Date: Wed, 06 Nov 1996 11:40:25 -0700 Organization: XYZZ Software Co. Lines: 25 Message-ID: <3280DB99.794B@CS.ColoState.edu> References: NNTP-Posting-Host: seurat.vis.colostate.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Michael Sweeney wrote: > > I was wondering on how to implement a HUGE scrolling screen, similar to games > such as C&C and Warcraft. I've checked out most sites and could not find any > info on how to do it, and Allegro unfortunatly doesn't support the size of > virtual screen I would need. So if I want to use something other than virtual > screen how should I go about it? Just how big do you want? The library I use (mine) supports images as big as you can fit in memory, which would be about 4096x4096 on my machine. But it sounds like you want to use a tile-based background. What you'll need to do is store a bunch of tiles somewhere, and the background will be a grid of numbers representing which tiles go where. Then you just create the tile background in real time, drawing from the large tile map to a smaller screen buffer. -- Yamaha / XYZZ mailto:scriven AT CS DOT ColoState DOT edu mailto:scriven AT VIS DOT ColoState DOT edu http://www.vis.colostate.edu/~scriven/