Article View: rec.games.programmer
Article #1054Xmode Scrolling
From: Rich Dobry
Date: Tue, 10 Nov 1992 14:30
Date: Tue, 10 Nov 1992 14:30
29 lines
2035 bytes
2035 bytes
Hello, I've been reading the newsgroup for about 2 months now and have seen
a lot of stuff on the xmode scrolling. I have effectively implemented a
scrolling algorithem using 320x240x256. You can scroll in any direction
smoothly. Also, I have used the split screen hardware option in the VGA
card to have a static bottom score keeper. This works very well.
What I am wondering is how games do scrolling (smooth) with a static
piece any other place on the screen, such as on the left.
I have seen it done on Jill of the Jungle. The left side of the screen
is kept static while the rest scrolls very smoothly. Is this done through
hardware, or is the entire screen scrolling and the left side being
redrawn every frame (I hope not because this would seem VERY slow...).
If someone knows how it is being done, please help me out... I am
trying to finish up my library of Xmode routines (which include
scrolling backgrounds, sprite animiation, collision detection, etc).
When it it finished, I will be releasing it to anyone who wants to use
it. It will be very easy to implemnt into any type of game (hopfully...)
Rich
------------------------------------------------------------------------------
| Richard E. Dobry Jr. Central Maryland Multiple Listing Service |
| Systems Analyst Baltimore, MD 21217 (USA) |
| (410) 462-3836 email: cmmlsd1!progrich@mas.uucp |
| or: drich@mas.uucp |
------------------------------------------------------------------------------
Technical Details
Message-ID:
<1992Nov10.143045.6639@mas.uucp>Path:
arc1-ca.pugleaf.net!sparky!uunet!news.tek.com!uw-beaver!cs.ubc.ca!destroyer!gumby!yale!yale.edu!jvnc.net!darwin.sura.net!aplcen.apl.jhu.edu!wb3ffv!mas!drichShow Full Headers
Complete Article Headers
Newsgroups: rec.games.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!news.tek.com!uw-beaver!cs.ubc.ca!destroyer!gumby!yale!yale.edu!jvnc.net!darwin.sura.net!aplcen.apl.jhu.edu!wb3ffv!mas!drich From: drich@mas.uucp (Rich Dobry) Subject: Xmode Scrolling Message-ID: <1992Nov10.143045.6639@mas.uucp> Organization: Emtronix Inc. Date: Tue, 10 Nov 1992 14:30:45 GMT Lines: 29