Introduce Map/Layer Templates


(Will) #1

I have been using Tiled with Monogame for the past few weeks, exporting map data to json for consumption in my game. One item that would make mass map production easier IMO would be the ability to add custom properties to a new map template or new layer templates so I don’t have the tedious and error prone repetitive task when creating new maps. Right now for new layers I can duplicate existing layers to get the same effect, but I still have to set it up for that initial layer on each map. Its not a big deal, but it would be a “nice to have” I think.

If there’s a way to do this now and I’m missing it, please let me know and I’ll try it out.

Thanks!


(魔大农) #2

One workaround would be to simply have a template.tmx in your project folder which you would open and save under a different name to create a new map. You could set these template files to be read-only to avoid mistakenly overwriting them.


(Will) #3

Actually…thats a great idea. I wish I’d thought of that! :smiley:


(Thorbjørn Lindeijer) #4

Note that you can select multiple custom properties and copy/paste them between maps and layers as well.