tiled: ^0.6.0 copied to clipboard
A Dart Tiled library. Parse your TMX files into useful representations. Compatible with Flame.
Tiled Dart #
A Dart Tiled library.
Install from Dart Pub Repository #
Include the following in your
dependencies: tiled: 0.4.0
Import the package like this:
Load a TMX file into a string by any means, and then pass the string to an instance of TileMapParser.parse:
final String tmxBody = /* ... */; final TileMapParser parser = TileMapParser(); final TileMap map = parser.parse(tmxBody);
TMX support is work of @radicaled and we have got his code from tmx.dart lib.