Jump to content
IGNORED

Lakavision Limited - Okay, 256x256 256 Dungeon test Works..


RSS Bot

Recommended Posts

By mixing the worldx, worldy and dungeonlvl variables through bit shifting passes and addition passes it seems to work well enough.

 

I now have proven to myself that 256 level 256x256 screen dungeons can happen. With the bit shifting and addition passes screen to screen variation is enough. I'm starting to add in room objects such as stairs going up or down. The only glitch so far is some levels will have a stairway up which leads to a stairway down on the next level. You can get stuck in a loop that way.

 

The nice thing is, now that I know such large levels can be generated, I can use the same code for any game including RPGs, platformers, etc..

 

Here be the amateur code for determining what type of room is at a particular worldx and worldy for a given dungeon level:

 

...

 

http://www.atariage.com/forums/blog/381/entry-7344-okay-256x256-256-dungeon-test-works/

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...