add controller support (keyboard)

This commit is contained in:
Quillraven
2025-05-29 01:00:16 +02:00
parent 26e663e245
commit a8d0f8cf36
10 changed files with 201 additions and 53 deletions

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.10" tiledversion="1.11.1-99-gec89c545" orientation="orthogonal" renderorder="right-down" width="18" height="16" tilewidth="32" tileheight="32" infinite="0" nextlayerid="7" nextobjectid="4">
<map version="1.10" tiledversion="1.11.0" orientation="orthogonal" renderorder="right-down" width="18" height="16" tilewidth="32" tileheight="32" infinite="0" nextlayerid="7" nextobjectid="4">
<tileset firstgid="1" source="tileset.tsx"/>
<tileset firstgid="99" source="objects.tsx"/>
<layer id="1" name="ground" width="18" height="16">
@@ -26,7 +26,11 @@
<object id="3" x="57.4441" y="351.747" width="38.9518" height="37.378"/>
</objectgroup>
<objectgroup id="5" name="objects">
<object id="1" gid="99" x="50.0586" y="458.934" width="32" height="32"/>
<object id="1" gid="99" x="50.0586" y="458.934" width="32" height="32">
<properties>
<property name="controller" type="bool" value="true"/>
</properties>
</object>
<object id="2" gid="99" x="112.269" y="470.818" width="64" height="64"/>
</objectgroup>
</map>