Article View: comp.sys.amiga.tech
Article #9976large scrolling areas, as in a game
From: Jon Wesener
Date: Thu, 06 Oct 1988 01:23
Date: Thu, 06 Oct 1988 01:23
30 lines
1856 bytes
1856 bytes
I'm trying to create a long continuous display that can scroll left to
right as done in many arcade games. Thing is, I think I'm limited to a
width of 1024 pixels in which I figure I can fit about 3 screens worth
of data.
But, I want around 7-8 screens worth of scrolling and can't figure an easy
way to make the scrolling continuous with 3 screens worth of data without
copying the last screen over to the beginning of the scroll region and then
when I'm about to walk out the edge on the right, start at my copy on the
left. This sounds time consuming copying the right edge over to the right,
and believe it would make the scrolling jumpy. But I've seen games like
gold-runner which scroll large areas across the screen at impressive rates.
My guess is they use a super-bitmap and have copied the bottom edge
to the top of the next row and whip through it as I mentioned above. I
suppose I could do this, but I want/need to double buffer and don't think
I have the memory for 2 super bitmaps along with other graphix without
cutting the number of bitplanes down to 4, ugh.
Could someone advise me on whether this is the only way to do it, or
offer a solution cuz I'm stuck.
thanx in advance,
--j
--
... {seismo | harvard } ! {uwvax | cs.wisc.edu} ! astroatc!jojo
"They weren't just any women... They were women fresh from Hell, with
wisps of devil-smoke curling behind their ears and unholy vapors hiding
in their tight leather dresses, looking for Mr. Right."
Technical Details
Message-ID:
<1214@astroatc.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!super!udel!princeton!njin!rutgers!uwvax!astroatc!jojoShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!super!udel!princeton!njin!rutgers!uwvax!astroatc!jojo From: jojo@astroatc.UUCP (Jon Wesener) Newsgroups: comp.sys.amiga.tech Subject: large scrolling areas, as in a game Message-ID: <1214@astroatc.UUCP> Date: 6 Oct 88 01:23:33 GMT Organization: Astronautics Technology Cntr, Madison, WI Lines: 30