I have just started using automapping for a top-down dungeon crawler. I have managed to get it working for wall and floor layers - and it is a fantastic feature.
The spritesheets that I am using have multiple different wall and floor skins based on the same skeleton - hopefully shown below.
What I want to be able to do is to apply a particular wall or floor skin (different ones for different maps/levels) but I’m not sure how to do this without creating a heap of layers.
At the moment my automapping creates a skeleton layer (for the outline of the walls) and then an additional layer for each of the wall skins (I’ve only tried 2 skins so far but it will work for more).
So when I save the map file it will have layers for each of the skins that I have created automapping rules for. I am guessing that when this is loaded in the game engine (I’m using pygame at the moment) it will load up a lot of unnecessary images.
Is there any way so I can just create a wall layer for a specific skin, but at the same time having the flexibility to easily swap skins?
Thanks in advance for any assistance that can be offered.
Regards,
David