Animations can now be applied to sf::View to do animated camera effects.
This commit is contained in:
parent
d60e1af6df
commit
f1f4cbc80f
4 changed files with 27 additions and 22 deletions
|
|
@ -292,16 +292,16 @@
|
|||
"test_zoom": {
|
||||
"_type": "Animation",
|
||||
"easing": 6,
|
||||
"motion": 1,
|
||||
"motion": 6,
|
||||
"ease_rate": 0.5,
|
||||
"min_x": -10.0,
|
||||
"min_y": -10.0,
|
||||
"max_x": 10.0,
|
||||
"max_y": 10.0,
|
||||
"min_x": 0.8,
|
||||
"min_y": 0.9,
|
||||
"max_x": 1.1,
|
||||
"max_y": 1.1,
|
||||
"simple": true,
|
||||
"frames": 1,
|
||||
"speed": 0.01,
|
||||
"scaled": false,
|
||||
"scaled": true,
|
||||
"stationary": true,
|
||||
"toggled": false,
|
||||
"flipped": false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue