| { |
| "MaxCount": 32, |
| "Duration": 1, |
| "Rate": 0.5, |
| "Life": { |
| "Input": { |
| "Source": "Age", |
| "TileMode": "Repeat", |
| "Left": 0, |
| "Right": 1 |
| }, |
| "XValues": [], |
| "Segments": [ |
| { |
| "Type": "Constant", |
| "Ranged": false, |
| "Bidirectional": false, |
| "A0": 20 |
| } |
| ] |
| }, |
| "Drawable": { |
| "Type": "SkImageDrawable", |
| "Path": "resources/images/baby_tux.png", |
| "Columns": 1, |
| "Rows": 1 |
| }, |
| "Spawn": [ |
| { |
| "Type": "SkLinearVelocityAffector", |
| "Enabled": true, |
| "Force": false, |
| "Frame": "World", |
| "Angle": { |
| "Input": { |
| "Source": "Age", |
| "TileMode": "Repeat", |
| "Left": 0, |
| "Right": 1 |
| }, |
| "XValues": [], |
| "Segments": [ |
| { |
| "Type": "Constant", |
| "Ranged": true, |
| "Bidirectional": false, |
| "A0": 10, |
| "A1": 70 |
| } |
| ] |
| }, |
| "Strength": { |
| "Input": { |
| "Source": "Age", |
| "TileMode": "Repeat", |
| "Left": 0, |
| "Right": 1 |
| }, |
| "XValues": [], |
| "Segments": [ |
| { |
| "Type": "Constant", |
| "Ranged": true, |
| "Bidirectional": false, |
| "A0": 140, |
| "A1": 200 |
| } |
| ] |
| } |
| } |
| ], |
| "Update": [ |
| { |
| "Type": "SkLinearVelocityAffector", |
| "Enabled": true, |
| "Force": true, |
| "Frame": "World", |
| "Angle": { |
| "Input": { |
| "Source": "Age", |
| "TileMode": "Repeat", |
| "Left": 0, |
| "Right": 1 |
| }, |
| "XValues": [], |
| "Segments": [ |
| { |
| "Type": "Constant", |
| "Ranged": false, |
| "Bidirectional": false, |
| "A0": 180 |
| } |
| ] |
| }, |
| "Strength": { |
| "Input": { |
| "Source": "Age", |
| "TileMode": "Repeat", |
| "Left": 0, |
| "Right": 1 |
| }, |
| "XValues": [], |
| "Segments": [ |
| { |
| "Type": "Constant", |
| "Ranged": false, |
| "Bidirectional": false, |
| "A0": 50 |
| } |
| ] |
| } |
| }, |
| { |
| "Type": "SkOrientationAffector", |
| "Enabled": true, |
| "Frame": "Velocity", |
| "Angle": { |
| "Input": { |
| "Source": "Age", |
| "TileMode": "Repeat", |
| "Left": 0, |
| "Right": 1 |
| }, |
| "XValues": [], |
| "Segments": [ |
| { |
| "Type": "Constant", |
| "Ranged": false, |
| "Bidirectional": false, |
| "A0": 0 |
| } |
| ] |
| } |
| } |
| ] |
| } |