Cleaned up the arena code more and closer to pulling it out for a scene system.

This commit is contained in:
Zed A. Shaw 2025-10-23 00:29:15 -04:00
parent 25f7096489
commit 49c9702041
4 changed files with 65 additions and 43 deletions

View file

@ -5,20 +5,22 @@
"background": "test_background",
"floor": false,
"floor_pos": "floor1",
"actors": {
"player": {
"sprite": "peasant_girl_rear_view",
"start_pos": "player2",
"scale": 0.5,
"mid_cell": false
},
"boss": {
"actors": [
{
"name": "boss",
"sprite": "rat_king_boss",
"start_pos": "boss5",
"scale": 0.6,
"mid_cell": true
"cell": "boss5",
"scale_x": 0.6,
"scale_y": 0.6
},
{
"name": "player",
"sprite": "peasant_girl_rear_view",
"cell": "player2",
"scale_x": 0.5,
"scale_y": 0.5
}
},
],
"fixtures": [
{"name": "torch_fixture", "scale_x": 0.5, "scale_y": 0.5, "cell": "torch1", "x": 66, "y": -50},
{"name": "torch_fixture", "scale_x": -0.5, "scale_y": 0.5, "cell": "torch2", "x": 132, "y": -30}