Rex's plugins for Construct2
  • Home
  • Map
  • Tutorial/Templates
  • News
  • About

rex_tmx_XML_parser

Plugin, ACE table, Discussion thread
Dependence: rex_tmx_importer_v2

Introduction
A parser of tile map editor exported file. This XML format could be parsed at many platform, excluded CocoonJS and Ejecta.
This object will be used in the 2nd parameter of "Action:Import tmx" in rex_tmx_importer_v2 object.

Usage
Sample capx
Get XML exported file
The saved file of tile map editor is XML format.
Parse tmx input string
Put the tmx input string exported by previous section in 1st parameter of "Action:Import tmx" in rex_tmx_importer_v2 object. And select this object at 2nd parameter.
User might get tmx input string by official Ajax plugin.
Supported layer format
The layer format is configured at "Map" -> "Map properties" -> "Layer format" from menu bar.
Here is the supported format -
  • Base64(uncompressed)
  • Base64(gzip compressed)
  • Base64(zlib compressed)
  • CSV
The default format is Base64(uncompressed).

Create a free web site with Weebly
  • Home
  • Map
  • Tutorial/Templates
  • News
  • About