home *** CD-ROM | disk | FTP | other *** search
- REHACK DUNGEON DEMO
- Code by Chris Lampton
- Art by Mike Barrs
-
- So you've been wondering what REHACK will actually look like?
- DUNGEON DEMO should give you at least the faintest hint of an
- idea. Type DUNGEON at the DOS prompt, follow the on-screen
- instructions, and scroll through an ad hoc dungeon layout. Okay,
- so there are no animated characters and definitely no combat, but
- it's early days yet.
- In some ways, DUNGEON DEMO definitely does _not_ resemble
- the REHACK that will be available on bulletin boards around the
- country sometime in early 1992. For one thing, the tile set used
- to create the dungeon is very much a _preliminary_ tile set. The
- final tile set will doubtlessly be more detailed. Nonetheless,
- the tile set that Mike Barrs tossed together for this program
- looks pretty darned good.
- And the source code that I've included in this file is by no
- means the final code for these particular routines. Sometime in
- the near future, I intend to recast this code in object oriented
- terms, rethink some ad hoc coding assumptions, and decrease the
- program's reliance on global data structures. But some of the low
- level routines (i.e. the machine code routines that move data to
- the screen) probably look about like the final versions will
- look. Any suggestions for optimization are, of course, welcome.
- The current demo scrolls the dungeon window in single-tile
- increments. The code, however, is written in such a way that it
- can also scroll the dungeon window in single pixel (or any
- arbitrary number of pixel) increments. This feature will come in
- handy in my _next_ demo, in which I expect to animate a character
- walking around in the dungeon.
- I'd like to thank Mike Barrs for his excellent preliminary
- tile set -- and for the wonderful background screen that I
- appropriated without asking him first. <g> The great thing about
- having a team of top-notch artists at our disposal is that they
- make my fairly rudimentary code look vastly better than it
- deserves to look.
-
- --Chris Lampton
-