Skip to content

Flame-CN/tiled.dart

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

138 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tiled Dart

Pub CI Discord

A Dart Tiled library.

Install from Dart Pub Repository

Include the following in your pubspec.yaml:

    dependencies:
      tiled: 0.4.0

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:

    final String tmxBody = /* ... */;
    final TileMapParser parser = TileMapParser();
    final TileMap map = parser.parse(tmxBody);

Credits

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

About

A Dart Tiled library. Parse your TMX files into useful representations. Compatible with Flame.

Resources

License

Stars

2 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages

  • Dart 98.8%
  • Shell 1.2%