Lazy Tilesets 2015.10.21 by Shaz Introduction This plugin allows you to export, import, and copy tileset slots and flags, to save the tedious task of setting them all up manually. It also avoids the issue that happens when you accidentally try to use a tileset image in the wrong slot. How to use Add to your plugins folder (file name does not really matter, but I call mine LazyTilesets.js). There are no parameters or plugin commands. To export your tileset settings, add <lzexport: filename> to your tileset's note box and launch your game. Close when the title screen appears. A new file with the specified filename and .MVTileset extension will have been created in your img/tilesets folder. If you use the same filename in lzexport tags on multiple tilesets, they will overwrite each other - be careful not to do this. Now you can send the .MVTileset file to others who want to use the same tileset, and they can use that to load all the settings instead of having to do it manually. To import tileset settings from a file, add <lzimport: filename> to your empty tileset's note box and add the same-named .MVTileset file to your img/tilesets folder. Launch your game. Close when the title screen appears. Close your project and reopen, without saving. All the tileset slots and flags will have been populated into the previously empty slot. To copy tileset settings from one tileset to another, add <lzcopy: #> to your empty tileset's note box, where # is the tileset id (no leading zeros). Launch your game, close when the title screen appears. Close your project and reopen, without saving. All the tileset slots and flags will have been copied from the specified tileset into the previously empty slot. You can fine-tune the import and copy options to cause them to only copy selected slots, by adding the slot IDs before the closing tag. For example, <lzimport: filename A1 A2 A3 A4 A5> will import only the A slots from the specified filename, leaving the rest as they are, and <lzcopy: 3 B C D E> will copy only slots B-E from tileset 3 into the current tileset slot. For further control, you can import or copy the B-E tabs and place them in different slots by adding the from:to slot IDs separated by a colon. For example, <lzimport: filename B> will import the B slot from the named file, but place it into the D slot of the current tileset, and <lzcopy: 3 C:E> will copy tileset 3's C slot into the current tileset's E slot. Combined, you can do something like this: <lzimport: filename> <lzcopy: 3 B C:E> to import the whole tileset in the named files, and then replace slots D and E with slots B and C from tileset 3. You cannot use multiple similar tags on a single tileset - if you want to do that, you will need to do it in several passes. Plugin Download from pastebin Credit - Shaz Terms - free for use in commercial games Notes - this is a development plugin and should be removed once your tilesets have been configured correctly. This plugin should not be shipped with your game.