Log In  

4

Cart [#17619#] | Copy | Code | 2015-12-09 | Link
4

Classic dungeoncrawling renderer which draws 8x8 pixel tiles to represent the view. Player movement is restricted to the grid and 4 directions.

Things that could be experimented with or added:

  • Floors and ceilings.
  • Sprites like trees or enemies.
  • Different textures depending on grid value.
  • Transitions when turning left right, or even forward backward.
  • Dynamic lighting. Use different lightsources and write to a gridbased lightmap which is then used when rendering.
  • Height levels.
  • The perspective is a bit weird sometimes and I guess could be made better

Controls: Use arrow keys to move and x to place/remove block. Cannot move outside level bounds.

P#17621 2015-12-09 05:36

::

Nice.

Old games like this used to use simple transitions. That could be fun to try. Like do a left or right wipe when turning, or do a fade (change a few random tiles each frame) when moving forwards. It was fairly effective for a cheap trick.

P#17629 2015-12-09 11:08

::

Yes I was thinking about a left/right swipe for turning. Good suggestion with the fade, that should probably work ok! Another thing I thought of was to scale the whole screen in intervals before the new view is set, but that could perhaps be a bit tough on performance.

I'm a bit tempted go for height levels but I'd probably need to rethink everything from ground up, so maybe I'll save it for another time.

P#17633 2015-12-09 13:20

Log in to post a comment

user:
password:

New User | Account Help
:: New User
X
About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2017-11-20 02:00 | 0.173s | 1572k | Q:19