Hey everyone,
I created my own variant for loading TMX files... well, it's a cheater way of doing it. This code parses maps in the Flare TXT format, supported by Tiled.
This format has a couple limitations, specifically that you cannot assign specific custom properties to any tile or map layer. However, you can assign custom properties to the map itself.
This loader also works only with non-isometric maps. But hey, works for what I needed it to be
Included are two maps included with Phaelax's amazing loader, which was the inspiration for using mine. However, my loader cut's the time for loading the Overworld map from Zelda by 75%
To simply use this loader, save and keep your map as an orthogonal TMX map. When you're ready to load it into your game, save it as a Flare text file.
NOTE: I did not include any code for parsing Object layers, or collision. This should be easy to do (since I have commented everything and added base code to be filled in when parsing the map) but could also be very game specific.
EDIT: I need to work on layering sprites, but that'll come in an update soon. Or I'll post how I do it later
Hi there. My name is Dug. I have just met you, and I love you.