After some shenanigans with the room format, I was able to get the screen size down to 3 bytes of data! I may add either 2, or 3 bytes to this size, when I add monsters/treasure. It depends on the level of flexibility I want this to have.
The data is in a bit-wise format, allowing for easy, compact dungeon creation.
The formatting order is:
Byte 1: Doors, Byte 2: Blocks, Byte 3: Water
These 4 screens are 3 bytes each, and their code is:
There are obvious patterns to the data layout even at the hexadecimal level, but the methods to my madness are made more apparent, should you look at the bits!
A 16-pixel black bar was added to the bottom of the game screen, to make the dungeon screens better fit the grid. As a secondary effect, it will ease up the game's processing somewhat!
3 years, 7 months ago
01 Dec 2015 03:50 CET
Full Size: dea1daa793ee6223b8171def7085d67d