Mappy AXGL exporter

Got a useful code snippet? Share it here for others to use!

Mappy AXGL exporter

Postby Rhuno » Mon Aug 20, 2012 1:48 pm

If anyone's using mappy as their tile editor I've modified the flixel exporter plugin to export AXGL maps. The file is attached to this post; it's in a zip because the lua extension wasn't allowed. Just unzip the file and drop it in the luascr folder for mappy. You will also need to update the MAPWIN.INI file to include the plugin. Open the ini file in a text editor and find the lua scripts section. Just add one more line for the new plugin.


lua16=Export AXGL map.lua

To use the exported map, embed the generated text file and pass a new instance to

Code: Select all
[Embed(source = "path/to/maps/map1.txt", mimeType = "application/octet-stream")]
public static const MAP_DATA:Class;

// in create function of state
_map = new AxTilemap().build(new MAP_DATA, new TILE_SET, 64, 64, 6);
Export AXGL
(881 Bytes) Downloaded 502 times
Posts: 4
Joined: Mon Aug 06, 2012 5:35 pm

Return to Code Snippets

Who is online

Users browsing this forum: No registered users and 1 guest