Adding triggers, prepping for map loading.

This commit is contained in:
2024-10-06 18:03:46 -05:00
parent e14445680f
commit c69d0ec1cc
8 changed files with 183 additions and 2 deletions

27
assets/testmap.json Normal file
View File

@ -0,0 +1,27 @@
{
"width": 10,
"height": 10,
"layers": [
{
"tiles": [
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1
]
}
],
"entities": [
{
"type": 1,
"x": 0,
"y": 0
}
]
}