Brian Osman | 7c979f5 | 2019-02-12 13:27:51 -0500 | [diff] [blame] | 1 | { |
| 2 | "MaxCount": 4096, |
Brian Osman | 8b6283f | 2019-02-14 16:55:21 -0500 | [diff] [blame] | 3 | "Duration": 1, |
Brian Osman | 7c979f5 | 2019-02-12 13:27:51 -0500 | [diff] [blame] | 4 | "Rate": 30, |
| 5 | "Life": { |
Brian Osman | 8b6283f | 2019-02-14 16:55:21 -0500 | [diff] [blame] | 6 | "XValues": [], |
| 7 | "Segments": [ |
| 8 | { |
| 9 | "Constant": true, |
| 10 | "Ranged": false, |
| 11 | "Bidirectional": false, |
| 12 | "A0": 10, |
| 13 | "B0": 0, |
| 14 | "C0": 0, |
| 15 | "D0": 0, |
| 16 | "A1": 0, |
| 17 | "B1": 0, |
| 18 | "C1": 0, |
| 19 | "D1": 0 |
| 20 | } |
| 21 | ] |
Brian Osman | 7c979f5 | 2019-02-12 13:27:51 -0500 | [diff] [blame] | 22 | }, |
| 23 | "StartColor": [ 1, 0.999994, 0.99999, 1 ], |
| 24 | "EndColor": [ 0.99999, 0.999992, 1, 1 ], |
Brian Osman | 543d2e2 | 2019-02-15 14:29:38 -0500 | [diff] [blame^] | 25 | "Drawable": { |
| 26 | "Type": "SkCircleDrawable", |
| 27 | "Radius": 1 |
Brian Osman | 7c979f5 | 2019-02-12 13:27:51 -0500 | [diff] [blame] | 28 | }, |
Brian Osman | 7c979f5 | 2019-02-12 13:27:51 -0500 | [diff] [blame] | 29 | "Emitter": { |
| 30 | "Type": "SkLineEmitter", |
| 31 | "P1": { "x": 61, "y": 34 }, |
| 32 | "P2": { "x": 606, "y": 32 } |
| 33 | }, |
Brian Osman | 8b6283f | 2019-02-14 16:55:21 -0500 | [diff] [blame] | 34 | "Spawn": [ |
| 35 | { |
| 36 | "Type": "SkLinearVelocityAffector", |
| 37 | "Force": false, |
| 38 | "Angle": { |
| 39 | "XValues": [], |
| 40 | "Segments": [ |
| 41 | { |
| 42 | "Constant": true, |
| 43 | "Ranged": true, |
| 44 | "Bidirectional": false, |
| 45 | "A0": 80, |
| 46 | "B0": 1, |
| 47 | "C0": 0, |
| 48 | "D0": 0, |
| 49 | "A1": 100, |
| 50 | "B1": 0, |
| 51 | "C1": 0, |
| 52 | "D1": 0 |
| 53 | } |
| 54 | ] |
| 55 | }, |
| 56 | "Strength": { |
| 57 | "XValues": [], |
| 58 | "Segments": [ |
| 59 | { |
| 60 | "Constant": true, |
| 61 | "Ranged": true, |
| 62 | "Bidirectional": false, |
| 63 | "A0": 10, |
| 64 | "B0": 0, |
| 65 | "C0": 0, |
| 66 | "D0": 0, |
| 67 | "A1": 30, |
| 68 | "B1": 0, |
| 69 | "C1": 0, |
| 70 | "D1": 0 |
| 71 | } |
| 72 | ] |
| 73 | } |
| 74 | } |
| 75 | ], |
Brian Osman | 5c1f8eb | 2019-02-14 14:49:55 -0500 | [diff] [blame] | 76 | "Update": [ |
Brian Osman | 7c979f5 | 2019-02-12 13:27:51 -0500 | [diff] [blame] | 77 | { |
Brian Osman | 8b6283f | 2019-02-14 16:55:21 -0500 | [diff] [blame] | 78 | "Type": "SkSizeAffector", |
| 79 | "Curve": { |
| 80 | "XValues": [], |
| 81 | "Segments": [ |
| 82 | { |
| 83 | "Constant": false, |
| 84 | "Ranged": true, |
| 85 | "Bidirectional": false, |
| 86 | "A0": 10, |
| 87 | "B0": 10, |
| 88 | "C0": 10, |
| 89 | "D0": 0, |
| 90 | "A1": 10, |
| 91 | "B1": 0, |
| 92 | "C1": 0, |
| 93 | "D1": 0 |
| 94 | } |
| 95 | ] |
Brian Osman | 7c979f5 | 2019-02-12 13:27:51 -0500 | [diff] [blame] | 96 | } |
| 97 | } |
| 98 | ] |
| 99 | } |