Made a simple map editor this evening
So I had nothing to do a few hours ago and I wanted to do something productive for this LD. One of the tools I’m still lacking is a simple tile editor without some fancy useless output system. I wanted something quick that outputs a csv with the index of each tile. So I made it. I don’t know if I’ll use it (depends on if I want a tile based game, of course), but at least the option is there!
It’s very basic. You load an image file as the tileset, and enter a few parameters for the map width/height and the tile width/height. Then you can paint stuff and be happy. When you’re done, you can save it and it outputs a comma separated file with integers based on the index of the tile in the tileset. You can also load existing maps made this way. You can pan and zoom as well, and change the parameters and tileset with an existing map.
It hasn’t been tested extensively and could crash, but for me it’s good enough. If anyone wants it as well, let me know and I’ll host it somewhere + source (I made it in WPF, so windows only I’m afraid), but know that there are ‘better’ map editors out there. I just needed something that makes maps which are quick and simple to implement in-game, and this is the answer to that, I hope. If you need this as well, then let me know!
Now I gotta think of something for the remaining 2 hours 😀
edit: Here it is! Feel free to break it
Comments


