tiledjsonreader 1.3.4 tiledjsonreader: ^1.3.4 copied to clipboard
Simple reader to convert files .json generated from Tiled into Objects
TiledJsonReader #
Reader of the Tiled file .json
Usage #
To use this plugin, add tiledjsonreader
as a dependency in your pubspec.yaml file.
flutter:
assets:
- assets/map.json
- assets/tile_set.json
import 'package:tiledjsonreader/tiledjsonreader.dart';
TiledJsonReader tiled = TiledJsonReader('assets/map.json');
tiled.read().then((map) {
print(map);
});
Supported files types:
json
tsj
tmj