Now have the ability to place animated fixtures anywhere and to flip them.

This commit is contained in:
Zed A. Shaw 2025-10-20 00:29:12 -04:00
parent e99c07b50c
commit 387d1a5bf5
7 changed files with 36 additions and 17 deletions

View file

@ -18,10 +18,8 @@
"sprite": "rat_king_boss"
},
"fixtures": [
{"name": "torch_crappy", "scale": 0.8, "cell": "torch1"},
{"name": "torch_crappy", "scale": 0.8, "cell": "torch2"},
{"name": "rat_with_sword", "scale": 0.8, "cell": "boss13"},
{"name": "rat_with_sword", "scale": 0.8, "cell": "boss16"}
{"name": "torch_fixture", "scale_x": 0.5, "scale_y": 0.5, "cell": "torch1", "x": 66, "y": -10},
{"name": "torch_fixture", "scale_x": -0.5, "scale_y": 0.5, "cell": "torch2", "x": 130, "y": -10}
]
},
{"_type": "Combat", "hp": 20, "max_hp": 20, "damage": 20, "dead": false},