add life info to game

This commit is contained in:
Quillraven
2025-06-01 20:26:36 +02:00
parent cdb23860b8
commit d5cd88a245
23 changed files with 323 additions and 21 deletions

View File

@@ -4,6 +4,8 @@
<tile id="1" type="Object">
<properties>
<property name="animation" value="IDLE"/>
<property name="life" type="int" value="12"/>
<property name="lifeReg" type="float" value="0.25"/>
<property name="speed" type="float" value="3.5"/>
</properties>
<image source="objects/player.png" width="32" height="32"/>