implement initial tilemap rendering

This commit is contained in:
2026-11-05 19:53:55 +03:00
parent e50368308b
commit 6c1d4ae76e
9 changed files with 371 additions and 24 deletions

4
res/tilemaps/FIH 3.tsx Normal file
View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.10" tiledversion="1.12.2" name="FIH 3" tilewidth="16" tileheight="16" tilecount="1" columns="1">
<image source="Sprite-0001.png" trans="ff00ff" width="16" height="16"/>
</tileset>

32
res/tilemaps/SaveAss.tmx Normal file
View File

@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.10" tiledversion="1.12.2" orientation="orthogonal" renderorder="right-down" width="30" height="20" tilewidth="16" tileheight="16" infinite="0" nextlayerid="4" nextobjectid="4">
<tileset firstgid="1" source="WATAH 2.tsx"/>
<tileset firstgid="257" source="FIH 3.tsx"/>
<layer id="1" name="Background" width="30" height="20">
<data encoding="csv">
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,1,2,2,2,2,2,2,2,2,2,2,2,2,3,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,1,2,139,18,18,18,18,18,18,18,18,18,18,18,18,140,2,2,2,2,2,2,2,2,3,0,0,
0,0,1,139,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,19,0,0,
0,0,17,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,19,0,0,
0,0,17,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,19,0,0,
0,0,17,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,19,0,0,
0,0,17,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,156,34,34,34,34,35,0,0,
0,0,17,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,19,0,0,0,0,0,0,0,
0,0,17,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,19,0,0,0,0,0,0,0,
0,0,17,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,19,0,0,0,0,0,0,0,
0,0,17,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,140,2,2,2,3,0,0,0,
0,0,17,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,19,0,0,0,
0,0,17,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,19,0,0,0,
0,0,17,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,19,0,0,0,
0,0,33,155,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,19,0,0,0,
0,0,0,33,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,35,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</data>
</layer>
<objectgroup color="#ffffff" id="3" name="FIH">
<object id="2" name="Player" gid="257" x="194.52" y="95.0905" width="16" height="16"/>
</objectgroup>
</map>

Binary file not shown.

After

Width:  |  Height:  |  Size: 390 B

4
res/tilemaps/WATAH 2.tsx Normal file
View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.10" tiledversion="1.12.2" name="path_tiles_rounded" tilewidth="16" tileheight="16" tilecount="256" columns="16">
<image source="path_tiles_rounded.png" width="256" height="256"/>
</tileset>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB