Example

Micro Map Data Creator

1

was8bit 2020-10-07 05:12 (Edited)

Demonstrates how to drawn characters to create a game map database

.. top map main map... ie. Color1=walls. 2&3 other main map things
... bottom map, color1,2,3 = layout of enemies, items, etc....

The code is written to combine the bottom map with the top map as such...
1) IF the top map location is NOT empty at same spot, the bottom map spot is ignored
2) IF empty, the bottom map data is added by adding +3 to it....

So, in the final map database...
#0 is always empty (in both maps)
#1,2,3 are colors 1,2,3 in top map
#4,5,6 are colors 1,2,3 in bottom map...

... this allows you to easily graphically edit new maps and play them :) MUCH easier to create a maze or dungeon graphically than jusr a raw database ;)


... ALSO, by using sprites 1,2 to create the combined minimap, you are free to place or move the minimap without disturbing the backgrounds...

... AND if you use sprite 0 with a single dot, you can use this as a pointer to let player SEE where in the map they are at... which i will demonstrate when i combine this and the 3D viewer together ;)


Log in to reply.