Now fixtures and actors are loaded the same.
This commit is contained in:
parent
4f39f2a504
commit
23f54bd4fe
3 changed files with 73 additions and 56 deletions
|
|
@ -11,19 +11,39 @@
|
|||
"sprite": "rat_king_boss",
|
||||
"cell": "boss5",
|
||||
"scale_x": 0.6,
|
||||
"scale_y": 0.6
|
||||
"scale_y": 0.6,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"name": "player",
|
||||
"sprite": "peasant_girl_rear_view",
|
||||
"cell": "player2",
|
||||
"scale_x": 0.5,
|
||||
"scale_y": 0.5
|
||||
"scale_y": 0.5,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
}
|
||||
],
|
||||
"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}
|
||||
{
|
||||
"name": "torch_fixture",
|
||||
"sprite": "torch_fixture",
|
||||
"scale_x": 0.5,
|
||||
"scale_y": 0.5,
|
||||
"cell": "torch1",
|
||||
"x": 66,
|
||||
"y": -50
|
||||
},
|
||||
{
|
||||
"name": "torch_fixture",
|
||||
"sprite": "torch_fixture",
|
||||
"scale_x": -0.5,
|
||||
"scale_y": 0.5,
|
||||
"cell": "torch2",
|
||||
"x": 132,
|
||||
"y": -30
|
||||
}
|
||||
]
|
||||
},
|
||||
{"_type": "Combat", "hp": 20, "max_hp": 20, "damage": 20, "dead": false},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue