Now have a simple camera system that I can configure in json for different motion effects.
This commit is contained in:
parent
8345097e10
commit
5b57fb2033
11 changed files with 173 additions and 128 deletions
74
assets/cameras.json
Normal file
74
assets/cameras.json
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
{
|
||||
"pan": {
|
||||
"_type": "Animation",
|
||||
"easing": 2,
|
||||
"motion": 7,
|
||||
"ease_rate": 0.05,
|
||||
"min_x": 0,
|
||||
"min_y": 0,
|
||||
"max_x": 150.0,
|
||||
"max_y": 0.0,
|
||||
"simple": true,
|
||||
"frames": 1,
|
||||
"speed": 0.01,
|
||||
"scaled": false,
|
||||
"stationary": true,
|
||||
"toggled": false,
|
||||
"flipped": false,
|
||||
"looped": false
|
||||
},
|
||||
"shake": {
|
||||
"_type": "Animation",
|
||||
"easing": 6,
|
||||
"motion": 1,
|
||||
"ease_rate": 0.05,
|
||||
"min_x": -10.0,
|
||||
"min_y": -10.0,
|
||||
"max_x": 10.0,
|
||||
"max_y": 10.0,
|
||||
"simple": true,
|
||||
"frames": 1,
|
||||
"speed": 0.01,
|
||||
"scaled": false,
|
||||
"stationary": true,
|
||||
"toggled": false,
|
||||
"flipped": false,
|
||||
"looped": false
|
||||
},
|
||||
"dolly": {
|
||||
"_type": "Animation",
|
||||
"easing": 2,
|
||||
"motion": 0,
|
||||
"ease_rate": 0.05,
|
||||
"min_x": 0.8,
|
||||
"min_y": 0.8,
|
||||
"max_x": 1.3,
|
||||
"max_y": 1.3,
|
||||
"simple": true,
|
||||
"frames": 1,
|
||||
"speed": 0.01,
|
||||
"scaled": true,
|
||||
"stationary": true,
|
||||
"toggled": false,
|
||||
"flipped": false,
|
||||
"looped": false
|
||||
},
|
||||
"bounce": {
|
||||
"_type": "Animation",
|
||||
"easing": 3,
|
||||
"motion": 2,
|
||||
"ease_rate": 0.05,
|
||||
"min_x": -10,
|
||||
"min_y": -10,
|
||||
"max_x": 10,
|
||||
"max_y": 10,
|
||||
"simple": true,
|
||||
"frames": 1,
|
||||
"speed": 0.01,
|
||||
"scaled": false,
|
||||
"stationary": true,
|
||||
"toggled": false,
|
||||
"flipped": false,
|
||||
"looped": false
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue