Implement loading tile sets from JSON files

This commit is contained in:
Lexi / Zoe 2026-06-25 23:33:14 +02:00
parent 718679c13b
commit b4635cdb99
Signed by: binaryDiv
GPG key ID: F8D4956E224DA232
3 changed files with 53 additions and 16 deletions

View file

@ -0,0 +1,26 @@
{
"texture": "terrain.png",
"tile_size": 32,
"tiles": [
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 1,
"y": 0
},
{
"x": 2,
"y": 0
},
{
"x": 3,
"y": 0
}
]
}