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

rex_tmx_JSON_parser

Plugin, ACE table, Discussion thread
Dependence: rex_tmx_importer_v2

Introduction
A parser of tile map editor exported file in json format. This json format could be parsed at all platform.
This object will be used in the 2nd parameter of "Action:Import tmx" in rex_tmx_importer_v2 object.

Usage
Sample capx
Get JSON exported file
Open the "File" -> "Export As" in menu bar in tile map editor. Then select the "Save as type" to "Json files(*.json)".
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) - Sample capx
  • Base64(gzip compressed) - Sample capx
  • Base64(zlib compressed)
  • CSV
The default format is Base64(uncompressed).

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