Friday, January 25, 2008

Simple Tile Map Editor Build - Update

Here's another update to the Simple Tile Map Editor...

After examining the map data, I noticed that the map width and map height for maps larger than 256x256 were being saved as 32 bit integers, doh! So consider this as a service release =P.

Download Build (01/25/2008) : (538.38 KB) - Download it.
(Still a Windows binary only)
MD5 : d779a5c733d59c4c95d173c5ac38fc0f

If you don't know what it's all about, you can head over to this post for a primer: Simple Tile Map Editor.

Changes in this version:
  • Removed support for integer map dimensions (4 bytes) and replaced it with WORD map dimensions instead (2 bytes).
  • Modified the "New Map Dialog" to reflect the change.

You can still open the old maps that have integer map dimensions with this version. But the map will be saved with the map width and map height as WORD values (2 bytes) instead.

Your program can determine if it should read word values or byte values for the map width and map height by first checking the 8th byte. It should contain the ASCII character "B" for BYTE and "W" for WORD. The rest of the map data including tile width and tile height are still in bytes.

You can learn more about the format information in the Simple Tile Map Editor page.

Have fun!

No comments: