Categories > Board > rex_tmx_json_parser

Introduction

A parser of tile map editor exported file in JSON format.

Links


Categories > Board > rex_tmx_json_parserIntroductionLinksDependenceUsageGet JSON exported fileParse tmx input stringSupported layer format

Dependence

None

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

Call Action:Import tmx in rex_tmx_importer_v2 object to load xml string, parameters of this action are

  1. JSON string
  2. This JSON parser object

Supported layer format

The layer format is configured at Map -> Map properties -> Layer format from menu bar.

Here is the supported format