1
\$\begingroup\$

I create maps like this, where each tile's data is represented in hexadecimal format:

01 01 01 01 01 01 01 01 01 01 01 01 
01 00 00 01 00 00 00 00 00 00 00 01 
01 00 00 00 B0 00 00 FF 00 00 00 01
01 00 0A 00 00 00 00 00 00 00 00 01
01 00 00 00 00 01 00 00 00 00 00 01
01 01 01 01 01 01 01 01 01 01 01 01

While I can create them with any text editor, it's incredibly inefficient (It takes too much effort and time), So is there tool to create these map files?

I found Tiled, but idk how to create these map files with it, or even if it's possible at all.

NOTE: I want a tool that allows me to choose the value I want for the tile.

\$\endgroup\$
15
  • 1
    \$\begingroup\$ You could create a bitmap with 16 colours in MS paint and write a script that would convert to and from your own format? Or do the same with Tiled..? \$\endgroup\$
    – Vaillancourt
    Commented Jul 9 at 0:58
  • 3
    \$\begingroup\$ I just had a quick look at the Tiled website, and found that it supports custom output plugins: doc.mapeditor.org/en/stable/manual/python/… \$\endgroup\$
    – Adam
    Commented Jul 9 at 1:17
  • \$\begingroup\$ Is this your own input format, or for an existing game? \$\endgroup\$ Commented Jul 9 at 4:57
  • \$\begingroup\$ @Vaillancourt I still write it in a text editor, so it's inefficient too, and there's also a high chance I'll make a mistake in converting, so I'll need to compare the script with the bitmap (It will be a big problem since I will be making large maps). \$\endgroup\$
    – M 027
    Commented Jul 9 at 14:04
  • 1
    \$\begingroup\$ The link from Adam even has an almost fully equal example for the format that you want in the end. All you have to do is remove the , and use hexadecimal instead of the ints. \$\endgroup\$
    – Zibelas
    Commented Jul 9 at 14:09

0

You must log in to answer this question.

Browse other questions tagged .