design some levels

This commit is contained in:
Rokas Puzonas 2026-10-17 14:26:45 +03:00
parent fbf1d4c040
commit 4fdd4fb660
5 changed files with 322 additions and 299 deletions

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?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="64" tileheight="64" infinite="1" nextlayerid="8" nextobjectid="23"> <map version="1.10" tiledversion="1.12.2" orientation="orthogonal" renderorder="right-down" width="30" height="20" tilewidth="64" tileheight="64" infinite="1" nextlayerid="8" nextobjectid="30">
<tileset firstgid="1" source="tileset.tsx"/> <tileset firstgid="1" source="tileset.tsx"/>
<layer id="2" name="Ground" width="30" height="20"> <layer id="2" name="Ground" width="30" height="20">
<data encoding="csv"> <data encoding="csv">
@ -17,104 +17,13 @@
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,0,
0,0,91,91,91,91,91,91,0,0,0,0,0,0,0,0,
0,0,91,90,90,90,90,91,91,91,91,91,91,0,0,0,
0,0,91,90,90,90,90,90,90,90,90,90,91,91,0,0
</chunk>
<chunk x="16" y="0" width="16" height="16">
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,91,91,91,91,91,91,91,91,91,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,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,91,91,91,91,91,91,0,0,0,0,0,0,0,0,
0,0,91,90,90,90,90,91,91,91,91,91,91,0,0,0,
0,0,91,90,90,90,90,90,90,90,90,90,91,91,0,0
</chunk>
<chunk x="32" y="0" width="16" height="16">
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,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,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,91,91,91,91,91,91,0,0,0,0,0,0,0,0,91,
0,91,90,90,90,90,91,91,91,91,91,91,0,0,0,91,
0,91,90,90,90,90,90,90,90,90,90,91,91,0,0,91
</chunk>
<chunk x="48" y="0" width="16" height="16">
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,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,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
91,91,91,91,91,0,0,0,0,0,0,0,0,91,91,91,
90,90,90,90,91,91,91,91,91,91,0,0,0,91,90,90,
90,90,90,90,90,90,90,90,90,91,91,0,0,91,90,90
</chunk>
<chunk x="64" y="0" width="16" height="16">
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,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,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
91,91,91,0,0,0,0,0,0,0,0,91,91,91,91,91,
90,90,91,91,91,91,91,91,0,0,0,91,90,90,90,90,
90,90,90,90,90,90,90,91,91,0,0,91,90,90,90,90
</chunk>
<chunk x="80" y="0" width="16" height="16">
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,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,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
91,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
91,91,91,91,91,91,0,0,0,0,0,0,0,0,0,0,
90,90,90,90,90,91,91,0,0,0,0,0,0,0,0,0
</chunk> </chunk>
<chunk x="0" y="16" width="16" height="16"> <chunk x="0" y="16" width="16" height="16">
0,0,91,90,90,90,90,90,90,90,90,90,90,91,0,0, 0,0,0,91,90,90,90,90,90,90,90,91,0,0,0,0,
0,0,91,90,90,90,90,90,90,90,90,90,91,91,0,0, 0,0,0,91,91,91,91,91,91,91,91,91,0,0,0,0,
0,0,91,91,91,91,91,91,91,91,91,91,91,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,0,0,0,0,
@ -127,95 +36,6 @@
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,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</chunk>
<chunk x="16" y="16" width="16" height="16">
0,0,91,90,90,90,90,90,90,90,90,90,90,91,0,0,
0,0,91,90,90,90,90,90,90,90,90,90,91,91,0,0,
0,0,91,91,91,91,91,91,91,91,91,91,91,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,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,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</chunk>
<chunk x="32" y="16" width="16" height="16">
0,91,90,90,90,90,90,90,90,90,90,90,91,0,0,91,
0,91,90,90,90,90,90,90,90,90,90,91,91,0,0,91,
0,91,91,91,91,91,91,91,91,91,91,91,0,0,0,91,
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,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,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</chunk>
<chunk x="48" y="16" width="16" height="16">
90,90,90,90,90,90,90,90,90,90,91,0,0,91,90,90,
90,90,90,90,90,90,90,90,90,91,91,0,0,91,90,90,
91,91,91,91,91,91,91,91,91,91,0,0,0,91,91,91,
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,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,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</chunk>
<chunk x="64" y="16" width="16" height="16">
90,90,90,90,90,90,90,90,91,0,0,91,90,90,90,90,
90,90,90,90,90,90,90,91,91,0,0,91,90,90,90,90,
91,91,91,91,91,91,91,91,0,0,0,91,91,91,91,91,
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,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,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</chunk>
<chunk x="80" y="16" width="16" height="16">
90,90,90,90,90,90,91,0,0,0,0,0,0,0,0,0,
90,90,90,90,90,91,91,0,0,0,0,0,0,0,0,0,
91,91,91,91,91,91,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,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,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
</chunk> </chunk>
@ -223,6 +43,42 @@
</layer> </layer>
<layer id="1" name="Foreground" width="30" height="20"> <layer id="1" name="Foreground" width="30" height="20">
<data encoding="csv"> <data encoding="csv">
<chunk x="48" y="-16" width="16" height="16">
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,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,98,98,98,98,98,
0,0,0,0,0,0,0,0,0,0,0,98,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,98,0,72,0,0,
0,0,0,0,0,0,0,0,0,0,0,98,7,7,0,0,
0,0,0,0,0,0,0,0,0,0,0,98,0,7,7,0,
0,0,0,0,0,0,0,0,0,0,0,98,0,0,7,7
</chunk>
<chunk x="64" y="-16" width="16" height="16">
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,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,
98,98,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,98,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,98,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,98,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,98,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,98,98,98,0,0,0,0,0,0,0,0,0,0,0,0
</chunk>
<chunk x="0" y="0" width="16" height="16"> <chunk x="0" y="0" width="16" height="16">
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,
@ -237,27 +93,27 @@
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,0,
0,0,98,98,98,98,98,98,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,98,0,0,0,0,98,98,98,98,98,98,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,98,0,0,8,42,0,12,0,0,0,98,98,0,0 0,0,0,99,99,99,99,99,99,99,99,99,0,0,0,0
</chunk> </chunk>
<chunk x="16" y="0" width="16" height="16"> <chunk x="16" y="0" width="16" height="16">
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,0,
0,99,99,99,99,99,99,99,99,0,0,0,0,0,0,0,
0,86,0,0,0,0,0,0,86,0,0,0,0,0,0,0,
0,86,0,0,0,7,0,0,86,0,0,0,0,0,0,0,
0,86,72,0,0,0,0,40,86,0,0,0,0,0,0,0,
0,86,0,0,0,7,0,0,86,0,0,0,0,0,0,0,
0,86,0,0,0,0,0,0,86,0,0,0,0,0,0,0,
0,86,86,86,86,86,86,86,86,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,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,99,99,99,99,99,99,99,99,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,86,0,0,0,0,0,0,86,0,0,0,0,98,98,98,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,86,0,0,0,7,0,40,86,0,0,0,0,98,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,98,98,98,98,98,98,0,0,0,0,0,0,0,0,
0,0,98,0,0,0,0,98,98,98,98,98,98,0,0,0,
0,0,98,0,0,0,0,7,0,0,0,0,98,98,0,0
</chunk> </chunk>
<chunk x="32" y="0" width="16" height="16"> <chunk x="32" y="0" width="16" height="16">
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,
@ -270,14 +126,17 @@
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,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,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,98,98,98,98,98,98,0,0,0,0,98,98,98,98,98,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,98,0,0,0,0,98,0,0,0,0,98,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,98,0,7,0,0,98,98,98,98,98,98,0,0,40,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,98,0,7,72,0,0,0,0,0,0,0,0,0,40,0
98,98,98,0,0,0,0,0,0,0,0,98,98,98,98,98,
0,0,98,98,98,98,98,98,0,0,0,98,0,0,0,0,
0,0,0,0,99,99,0,98,98,0,0,98,0,0,0,0
</chunk> </chunk>
<chunk x="80" y="0" width="16" height="16"> <chunk x="80" y="0" width="16" height="16">
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,
@ -326,15 +182,15 @@
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,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
98,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 98,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
98,98,98,98,98,98,0,0,0,0,0,0,0,0,0,0, 98,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,99,0,98,98,0,0,0,0,0,0,0,0,0 98,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
98,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</chunk> </chunk>
<chunk x="0" y="16" width="16" height="16"> <chunk x="0" y="16" width="16" height="16">
0,0,98,0,72,0,7,7,0,0,0,40,0,98,0,0, 0,0,0,86,72,0,0,7,0,0,40,86,0,0,0,0,
0,0,98,0,0,0,0,0,0,0,0,0,98,98,0,0, 0,0,0,86,86,86,86,86,86,86,86,86,0,0,0,0,
0,0,98,98,98,98,98,98,98,98,98,98,98,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,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
@ -350,45 +206,45 @@
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
</chunk> </chunk>
<chunk x="16" y="16" width="16" height="16"> <chunk x="16" y="16" width="16" height="16">
0,0,98,0,72,0,0,7,0,0,0,40,0,98,0,0, 0,86,72,0,0,0,0,0,86,0,0,0,0,98,72,0,
0,0,98,0,0,0,0,7,0,0,0,0,98,98,0,0, 0,86,0,0,0,8,0,40,86,0,0,0,0,98,0,0,
0,0,98,98,98,98,98,98,98,98,98,98,98,0,0,0, 0,86,0,0,0,0,0,0,86,0,0,0,0,98,98,98,
0,86,86,86,86,86,86,86,86,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,98,98,98,98,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,99,99,99,99,99,99,99,99,0,0,0,98,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,86,0,0,0,0,0,0,86,0,0,0,98,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,86,0,0,0,7,0,40,86,0,0,0,98,0,72,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,86,72,0,0,0,0,0,86,0,0,0,98,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,86,0,0,0,8,0,41,86,0,0,0,98,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,86,0,0,0,0,0,0,86,0,0,0,98,98,98,98,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,86,86,86,86,86,86,86,86,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,98,98,98,98,98,
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,98,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,98,0,0,0,0
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</chunk> </chunk>
<chunk x="32" y="16" width="16" height="16"> <chunk x="32" y="16" width="16" height="16">
0,98,0,72,0,0,7,0,0,0,40,0,98,0,0,98, 0,0,7,7,40,98,0,0,0,0,0,0,0,98,0,0,
0,98,0,0,0,0,7,0,0,99,0,98,98,0,0,98, 0,0,0,0,0,98,0,0,0,0,0,0,0,98,0,0,
0,98,98,98,98,98,98,98,98,98,98,98,0,0,0,98, 98,98,98,98,98,98,0,0,0,0,0,0,0,98,98,98,
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,
98,98,98,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,98,98,98,98,98,0,0,0,0,0,0,0,0,0,
7,0,98,0,0,0,98,0,0,0,0,0,0,0,0,0,
0,0,12,0,40,0,98,0,0,0,0,0,0,0,0,0,
7,0,98,0,0,0,98,0,0,0,0,0,0,0,0,0,
0,0,98,98,98,98,98,0,0,0,0,0,0,0,0,0,
98,98,98,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, 98,98,98,98,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,98,98,98,98,98,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,98,0,0,0,98,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,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
</chunk> </chunk>
<chunk x="48" y="16" width="16" height="16"> <chunk x="48" y="16" width="16" height="16">
0,72,0,0,0,0,0,12,40,0,98,0,0,98,0,72, 0,72,0,7,7,0,40,98,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,99,0,98,98,0,0,98,0,0, 0,0,0,0,98,98,98,98,0,0,0,0,0,0,0,0,
98,98,98,98,98,98,98,98,98,98,0,0,0,98,98,98, 98,98,98,98,98,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,0,0,0,0,0,0,0,0,0,0,0,0,
@ -404,9 +260,9 @@
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
</chunk> </chunk>
<chunk x="64" y="16" width="16" height="16"> <chunk x="64" y="16" width="16" height="16">
0,7,7,0,12,12,40,0,98,0,0,98,0,72,0,0, 0,98,0,7,0,0,98,98,98,98,98,98,0,0,40,0,
0,0,0,0,99,99,0,98,98,0,0,98,0,0,0,0, 0,98,0,0,0,0,98,0,0,0,0,98,0,0,0,0,
98,98,98,98,98,98,98,98,0,0,0,98,98,98,98,98, 0,98,98,98,98,98,98,0,0,0,0,98,98,98,98,98,
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,0,
@ -422,9 +278,24 @@
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
</chunk> </chunk>
<chunk x="80" y="16" width="16" height="16"> <chunk x="80" y="16" width="16" height="16">
0,0,0,12,40,0,98,0,0,0,0,0,0,0,0,0, 98,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
7,0,0,99,0,98,98,0,0,0,0,0,0,0,0,0, 98,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
98,98,98,98,98,98,0,0,0,0,0,0,0,0,0,0, 98,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,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0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</chunk>
<chunk x="48" y="32" width="16" height="16">
0,0,0,0,0,86,86,86,86,86,86,86,86,86,0,0,
0,0,0,0,0,86,0,0,0,0,0,0,0,86,86,86,
0,0,0,0,0,86,0,0,0,0,0,7,0,86,0,0,
0,0,0,0,0,86,0,0,0,72,0,0,0,38,0,41,
0,0,0,0,0,86,25,8,0,0,0,7,0,86,0,0,
0,0,0,0,0,86,86,86,0,0,0,0,0,86,86,86,
0,0,0,0,0,0,0,86,86,86,86,86,86,86,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,99,99,99,99,99,99,99,99,99,0,0,0,
0,0,0,0,86,0,0,0,0,0,0,0,86,0,0,0,
0,0,0,0,86,0,0,0,0,0,7,0,86,0,0,0,
0,0,0,0,86,25,8,0,72,0,7,38,86,0,0,0,
0,0,0,0,86,25,8,0,0,0,9,38,86,0,0,0,
0,0,0,0,86,86,86,0,43,0,86,86,86,0,0,0,
0,0,0,0,0,0,86,86,86,86,86,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</chunk>
<chunk x="64" y="32" width="16" height="16">
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
86,86,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,86,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,86,0,0,0,0,0,0,0,0,0,0,86,86,86,86,
0,86,0,0,0,0,0,0,0,0,86,86,86,0,0,0,
86,86,0,0,0,0,0,0,0,0,86,51,8,0,0,0,
0,0,0,0,0,0,0,0,0,0,86,51,8,0,0,0,
0,0,0,0,0,0,0,0,0,0,86,0,0,0,72,0,
0,0,0,0,0,0,0,0,0,0,86,0,7,0,0,0,
0,0,0,0,0,0,0,0,0,0,86,38,7,0,0,0,
0,0,0,0,0,0,0,0,0,0,86,38,7,0,0,0,
0,0,0,0,0,0,0,0,0,0,86,0,86,86,0,0,
0,0,0,0,0,0,0,0,0,0,86,43,86,86,86,86,
0,0,0,0,0,0,0,0,0,0,86,86,86,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
</chunk>
<chunk x="80" y="32" width="16" height="16">
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,
86,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
86,86,86,0,0,0,0,0,0,0,0,0,0,0,0,0,
9,25,86,0,0,0,0,0,0,0,0,0,0,0,0,0,
9,25,86,0,0,0,0,0,0,0,0,0,0,0,0,0,
9,25,86,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,86,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,86,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,86,0,0,0,0,0,0,0,0,0,0,0,0,0,
86,86,86,0,0,0,0,0,0,0,0,0,0,0,0,0,
86,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
</chunk> </chunk>
</data> </data>
</layer> </layer>
<objectgroup id="7" name="Level bounds" visible="0"> <objectgroup id="7" name="Level bounds" visible="0">
<object id="15" x="93.3333" y="805.334" width="848" height="441.334"> <object id="15" x="138.333" y="906.334" width="683" height="303.334">
<properties> <properties>
<property name="level" type="int" value="1"/> <property name="level" type="int" value="1"/>
</properties> </properties>
</object> </object>
<object id="18" x="1118" y="811.333" width="829.333" height="434.667"> <object id="23" x="1025.17" y="769.666" width="648.333" height="562.001">
<properties>
<property name="level" type="int" value="2"/>
</properties>
</object>
<object id="19" x="2070.67" y="818.666" width="829.333" height="434.667">
<properties> <properties>
<property name="level" type="int" value="3"/> <property name="level" type="int" value="3"/>
</properties> </properties>
</object> </object>
<object id="20" x="2988" y="813.333" width="829.333" height="434.667"> <object id="24" x="1041.17" y="122.999" width="648.333" height="562.001">
<properties>
<property name="level" type="int" value="2"/>
</properties>
</object>
<object id="25" x="1023.83" y="1357.67" width="648.333" height="562.001">
<properties> <properties>
<property name="level" type="int" value="4"/> <property name="level" type="int" value="4"/>
</properties> </properties>
</object> </object>
<object id="21" x="3877.33" y="814.666" width="829.333" height="434.667"> <object id="26" x="1823.83" y="800.999" width="648.333" height="562.001">
<properties> <properties>
<property name="level" type="int" value="5"/> <property name="level" type="int" value="5"/>
</properties> </properties>
</object> </object>
<object id="22" x="4772" y="812" width="829.333" height="434.667"> <object id="29" x="4531.23" y="2037.03" width="1108.7" height="982.668">
<properties> <properties>
<property name="level" type="int" value="6"/> <property name="level" type="int" value="0"/>
</properties> </properties>
</object> </object>
</objectgroup> </objectgroup>

View File

@ -136,6 +136,26 @@
<property name="type" value="goal_marker"/> <property name="type" value="goal_marker"/>
</properties> </properties>
</tile> </tile>
<tile id="84">
<properties>
<property name="type" value="wall"/>
</properties>
</tile>
<tile id="85">
<properties>
<property name="type" value="wall"/>
</properties>
</tile>
<tile id="86">
<properties>
<property name="type" value="wall"/>
</properties>
</tile>
<tile id="87">
<properties>
<property name="type" value="wall"/>
</properties>
</tile>
<tile id="97"> <tile id="97">
<properties> <properties>
<property name="type" value="wall"/> <property name="type" value="wall"/>

View File

@ -320,36 +320,59 @@ fn isColumnEmpty(tile_layer: Layer.TileVariant, x: i32, y: i32, length: u32) boo
return true; return true;
} }
pub fn trimBoundsByEmptyTiles(self: *const Tilemap, bounds: Bounds) Bounds { fn isRowEmptyInAllLayers(self: *const Tilemap, x: i32, y: i32, length: u32) bool {
var result: Bounds = bounds;
for (self.layers) |*layer| { for (self.layers) |*layer| {
if (layer.variant != .tile) { if (layer.variant != .tile) {
continue; continue;
} }
const tile_layer = layer.variant.tile; const tile_layer = layer.variant.tile;
// Trim left if (!isRowEmpty(tile_layer, x, y, length)) {
while (result.min_x < result.max_x and isColumnEmpty(tile_layer, result.min_x, result.min_y, result.height())) { return false;
result.min_x += 1;
} }
}
// Trim right return true;
while (result.min_x < result.max_x and isColumnEmpty(tile_layer, result.max_x, result.min_y, result.height())) { }
result.max_x -= 1;
}
// Trim top fn isColumnEmptyInAllLayers(self: *const Tilemap, x: i32, y: i32, length: u32) bool {
while (result.min_y < result.max_y and isRowEmpty(tile_layer, result.min_x, result.min_y, result.width())) { for (self.layers) |*layer| {
result.min_y += 1; if (layer.variant != .tile) {
continue;
} }
const tile_layer = layer.variant.tile;
// Trim bottom if (!isColumnEmpty(tile_layer, x, y, length)) {
while (result.min_y < result.max_y and isRowEmpty(tile_layer, result.min_x, result.max_y, result.width())) { return false;
result.max_y -= 1;
} }
} }
return true;
}
pub fn trimBoundsByEmptyTiles(self: *const Tilemap, bounds: Bounds) Bounds {
var result: Bounds = bounds;
// Trim left
while (result.min_x < result.max_x and self.isColumnEmptyInAllLayers(result.min_x, result.min_y, result.height())) {
result.min_x += 1;
}
// Trim right
while (result.min_x < result.max_x and self.isColumnEmptyInAllLayers(result.max_x, result.min_y, result.height())) {
result.max_x -= 1;
}
// Trim top
while (result.min_y < result.max_y and self.isRowEmptyInAllLayers(result.min_x, result.min_y, result.width())) {
result.min_y += 1;
}
// Trim bottom
while (result.min_y < result.max_y and self.isRowEmptyInAllLayers(result.min_x, result.max_y, result.width())) {
result.max_y -= 1;
}
return result; return result;
} }

View File

@ -340,6 +340,8 @@ const MenuState = enum {
}; };
levels: std.ArrayList(World), levels: std.ArrayList(World),
level_order: []usize,
current_level: u32 = 0,
roboto_font: Font, roboto_font: Font,
sokoban_tilesheet: Tilesheet, sokoban_tilesheet: Tilesheet,
@ -360,7 +362,6 @@ ui_state: UI.State,
world: World, world: World,
undo_stack: std.ArrayList(UndoFrame) = .empty, undo_stack: std.ArrayList(UndoFrame) = .empty,
current_level: u32 = 0,
animation_timer: Platform.Nanoseconds = 0, animation_timer: Platform.Nanoseconds = 0,
menu_state: ?MenuState = null, menu_state: ?MenuState = null,
@ -479,6 +480,7 @@ pub fn init(self: *App, plt: Platform.Init) !?u8 {
.vorbis = plt.assets.readFile("kenney-ui/Sounds/tap-b.ogg") .vorbis = plt.assets.readFile("kenney-ui/Sounds/tap-b.ogg")
}) })
}), }),
.level_order = &.{},
.world = undefined, .world = undefined,
}; };
@ -486,7 +488,8 @@ pub fn init(self: *App, plt: Platform.Init) !?u8 {
Audio.getBus(self.ui_bus).?.volume = 0.3; Audio.getBus(self.ui_bus).?.volume = 0.3;
self.levels = try self.loadLevels(plt.gpa, plt.assets); self.levels = try self.loadLevels(plt.gpa, plt.assets);
self.world.copy(self.levels.items[0]); self.level_order = try getLevelOrder(plt.arena, self.levels.items);
self.world.copy(self.levels.items[self.level_order[0]]);
return null; return null;
} }
@ -576,15 +579,28 @@ fn loadLevels(self: *App, gpa: Allocator, assets: *Platform.Assets) !std.ArrayLi
level.level_number = level_index; level.level_number = level_index;
} }
return levels;
}
fn getLevelOrder(gpa: Allocator, levels: []World) ![]usize {
const Context = struct { const Context = struct {
fn lessThan(_: @This(), lhs: World, rhs: World) bool { levels: []World,
return lhs.level_number < rhs.level_number;
fn lessThan(self: @This(), lhs: usize, rhs: usize) bool {
return self.levels[lhs].level_number < self.levels[rhs].level_number;
} }
}; };
std.sort.insertion(World, levels.items, Context{}, Context.lessThan); const order = try gpa.alloc(usize, levels.len);
errdefer gpa.free(order);
return levels; for (0..levels.len) |i| {
order[i] = i;
}
std.mem.sort(usize, order, Context{ .levels = levels }, Context.lessThan);
return order;
} }
fn loadLevel( fn loadLevel(
@ -936,8 +952,8 @@ pub fn frame(self: *App, plt: *Platform.Frame) !void {
var layout = UI.VerticalLayout{ .ui = &ui, .gap = 30 }; var layout = UI.VerticalLayout{ .ui = &ui, .gap = 30 };
for (0.., self.levels.items) |i, level| { for (0..self.levels.items.len) |i| {
const label = try std.fmt.allocPrint(plt.frame, "{}", .{level.level_number}); const label = try std.fmt.allocPrint(plt.frame, "{}", .{i+1});
if (layout.textButton(label)) { if (layout.textButton(label)) {
self.menu_state = null; self.menu_state = null;
@ -957,7 +973,7 @@ pub fn frame(self: *App, plt: *Platform.Frame) !void {
} }
pub fn setWorldByLevel(self: *App, index: usize) void { pub fn setWorldByLevel(self: *App, index: usize) void {
self.world.copy(self.levels.items[index]); self.world.copy(self.levels.items[self.level_order[index]]);
self.undo_stack.clearRetainingCapacity(); self.undo_stack.clearRetainingCapacity();
} }

View File

@ -415,7 +415,7 @@ pub fn textButton(self: *UI, rect: Rect, text: []const u8) bool {
sprite, sprite,
animated_rect.pos, animated_rect.pos,
animated_rect.size, animated_rect.size,
Color.white.lerp_invert(hot_t * 0.2 - active_t * 0.2), Color.white.lerp_invert(-0.2 * hot_t + 0.8 * active_t),
); );
const content_size = rect.size.sub(frame.padding.toVec2()); const content_size = rect.size.sub(frame.padding.toVec2());