Skip to content
A Tiled Dart library
Branch: master
Clone or download
Latest commit a19ab29 Feb 23, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
test tileset has all images for convenience Jan 1, 2019
.gitignore tests Dec 30, 2018
CHANGELOG.md
LICENSE
README.md readme Jan 1, 2019
pubspec.yaml

README.md

Tiled Dart

A Dart Tiled library.

Install from Dart Pub Repository

Include the following in your pubspec.yaml:

dependencies:
  tiled: any

Usage

Import the package like this:

import 'package:tiled/tiled.dart'

Load a TMX file into a string by any means, and then pass the string to an instance of TileMapParser.parse:

string tmxBody = /* ... */;
var parser = new TileMapParser();
TileMap map = parser.parse(tmxBody);

Credits

TMX support is work of @radicaled and we have got his code from tmx.dart lib.

You can’t perform that action at this time.