Loading Tiled TMX Files in HaxePunk

Loading Tiled TMX Files in HaxePunk

I love using the Tiled map editor and feel that it has a ton of great features that every game developer should take advantage of. It has custom objects, multiple tilesets, tile/map/object properties, and a new image object. But how do you go about using it in your Flash project? Well there's a great resource for this written by Thomas Jahn but it's written in AS3 and can't be used with HaxePunk.

Long story short, I have converted this file parser to HaXe and it can be used by passing a string or Xml type to it. As usual you can grab the source code over at GitHub. Enjoy!

Posted in Game Development

Tags: Haxe, Tiled, HaxePunk

comments powered by Disqus