Editor file format
BlitzMax Forums/BlitzMax Beginners Area/Editor file format
| ||
I have just come across a map editor at http://www.mapeditor.org and wanted to know if someone could have a look at the file format to see how easy it would be to show a map in BMax. You can get the file format details on http://www.mapeditor.org/tutorial.html Thanks |
| ||
Since the maps seem to be saved in XML, I'm sure they would be easy to parse using an XML module for BMax. |
| ||
Yeah, easy enough to use. Just grab Brucey's libxml implementation and a Base64 decoder and you should be able to handle it. I think you might be able to use the pub.zlib module to decompress the then-decoded data, but I can't guarantee anything there as I can't remember any instance where I've worked with gzip specifically outside of a terminal. |