Skip to content

Commit 00b708d

Browse files
committed
starting some docs
1 parent 66bae07 commit 00b708d

File tree

3 files changed

+23
-9
lines changed

3 files changed

+23
-9
lines changed

README.md

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,28 @@
11
# Typled
22

3-
Typled is a text based map tool. It uses a simple format where characters are mapped to a texture
4-
and then the "position" of the character in the text is used to determine the position of the
3+
Typled is a text based map tool. It uses a simple format where characters are mapped to a texture.
4+
5+
The "position" of the character in the text is used to determine the position of the
56
texture in the map.
67

7-
For example, lets say we have `G` mapped to grass tile and W mapped to water tile. So for example:
8+
Creating typled maps is just editing a simple text file, so users can choose any text editors
9+
they like.
810

9-
```
10-
GWG
11-
GWG
12-
GWG
11+
A simple CLI is also provided, which allow users to install and use the previewer app, which
12+
shows the rendered map in a simple desktop application.
13+
14+
![](./docs/typled.gif)
15+
16+
To install the CLI, run:
17+
18+
```bash
19+
dart pub global activate typled_cli
1320
```
1421

15-
Define a 3x3 map with a river on the middle and grass on the sides.
22+
Typled currently supports:
23+
- Individual maps with multiple layers
24+
- Grid of maps, where each map is a cell in the grid
25+
- Out of the box Texture Atlas format
26+
- [Fire Atlas textures format](https://docs.flame-engine.org/latest/bridge_packages/flame_fire_atlas/fire_atlas.html).
1627

17-
TODO
28+
For more information check out the [docs](./docs/README.md).

docs/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
this is the docs
2+
3+
TODO

docs/media/typled.gif

2.29 MB
Loading

0 commit comments

Comments
 (0)