Can indicate that a animation is flipped, which will *-1 on the x.
This commit is contained in:
parent
c4fcb41c34
commit
2ecd8528ea
7 changed files with 45 additions and 13 deletions
|
|
@ -20,7 +20,8 @@
|
|||
"scale_y": 0.6,
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"at_mid": false
|
||||
"at_mid": false,
|
||||
"flipped": false
|
||||
},
|
||||
{
|
||||
"name": "player",
|
||||
|
|
@ -30,7 +31,8 @@
|
|||
"scale_y": 0.5,
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"at_mid": false
|
||||
"at_mid": false,
|
||||
"flipped": false
|
||||
}
|
||||
],
|
||||
"fixtures": [
|
||||
|
|
@ -39,20 +41,24 @@
|
|||
"sprite": "torch_fixture",
|
||||
"scale_x": 0.5,
|
||||
"scale_y": 0.5,
|
||||
"flipped": false,
|
||||
"cell": "torch1",
|
||||
"x": 66,
|
||||
"y": -50,
|
||||
"at_mid": false
|
||||
"at_mid": false,
|
||||
"flipped": false
|
||||
},
|
||||
{
|
||||
"name": "torch_fixture",
|
||||
"sprite": "torch_fixture",
|
||||
"scale_x": -0.5,
|
||||
"scale_x": 0.5,
|
||||
"scale_y": 0.5,
|
||||
"flipped": true,
|
||||
"cell": "torch2",
|
||||
"x": 132,
|
||||
"y": -30,
|
||||
"at_mid": false
|
||||
"y": -50,
|
||||
"at_mid": false,
|
||||
"flipped": true
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue