Xref: utzoo comp.sys.amiga.tech:3962 comp.sys.amiga:30050 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!ukma!rutgers!apple!well!ewhac From: ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) Newsgroups: comp.sys.amiga.tech,comp.sys.amiga Subject: Re: Fast 2-D Scrolling Method Needed Message-ID: <10871@well.UUCP> Date: 2 Mar 89 09:12:39 GMT References: <112@dg.dg.com> Reply-To: ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) Organization: n. 1. The act or process of organizing. Lines: 21 Quote: "Could you please continue the petty bickering?" -- Data In article <112@dg.dg.com> bosch@dg.UUCP (Derek Bosch) writes: >The entire display is going to >be roughly 4 lo-res screens high, by 5 lo-res screens wide, so that would >be too large to have a SuperBitmap to scroll around (and still have any free >memory left :^P. What other options do I have? [ ... ] Well, you could try using 'tiles'. That is, divide the virtual screen up into X by Y cells, each of which are a fixed size. When you have your cells, you can represent your virtual screen as an array of bytes/words arranged as X by Y. Each element in the array serves as an index into the array of cells you have created. Thus, you can assemble your entire screen by blitting smaller cells into it. Faery Tale is done this way. Faery Tale's virtual screen size is HUGE. _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ Leo L. Schwab -- The Guy in The Cape INET: well!ewhac@ucbvax.Berkeley.EDU \_ -_ Recumbent Bikes: UUCP: pacbell > !{well,unicom}!ewhac O----^o The Only Way To Fly. hplabs / (pronounced "AE-wack") "Work FOR? I don't work FOR anybody! I'm just having fun." -- The Doctor