QUICK and EASY Godzilla Kun level plugin for TILED
by MsxKun
---

This plugins is to use with Tiled Map Editor.

You must place it on the extensions folder that Tiled creates (for example, in Ubuntu it's located in $HOME/.config/tiled/extensions)

It allows to save 1 level only, so far. So it makes 1 cas per level. Of course, you could just output a binary file per level with any editor that supports it, then concat all the files and concat the CAS header in the beginning.

Talking about CAS header... The game seems to write it twice, making a 16 bytes header. But when you use OpenMSX it won't recognise it, only if it has only a 8 bytes header, while WebMSX supports the 16 bytes header.
I don't feel like looking for a real tape, plugin my tape recorder on my MSX and try, so I added a plugin that saves 1 header (8 bytes) and another that saves the 16 bytes one.

The levels on Tiled must be 16x10 tiles size. The last column will be ignored, but must be there, cause game uses tile 16,1 to store the item number. You must put always the Sand clock tile on the map (from the first row in the tileset) but indicate on this (16,1 = top right corner) tile wich item it is, using the second row on the tilemap. That's how the game works internally in the original editor. If you put more than one item in the map, the game will convert them to stones.


