typled 0.0.1 copy "typled: ^0.0.1" to clipboard
typled: ^0.0.1 copied to clipboard

The package to parse typled text content.

Typled #

Typled is a simple grid map tool, which uses plain text to represent the map.

This package parses the text content and converts it to objects that can be used from withing the dart code.

Example of usage #

A single room can be parsed out like this

final map = Typled.parse('''
[map]
name = My Map
width = 10
height = 10
atlas = atlas.fa
backgroundColor = #000000

[palette]
_ = EMPTY
X = block
D = door

[layer]
XXXXX
X___D
XXXXX

A grid of rooms would be something like the following:

const rawContent = '''
1,1
20,12
0, 0: levels/1/1.typled
''';

final grid = TypledGrid.parse(rawContent);
```
3
likes
0
points
862
downloads

Publisher

unverified uploader

Weekly Downloads

The package to parse typled text content.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on typled