blob: 1734a9a6b93283d1623a12dfdb057ae9d3442325 [file] [log] [blame]
Brian Osman7c979f52019-02-12 13:27:51 -05001{
2 "MaxCount": 4096,
Brian Osman8b6283f2019-02-14 16:55:21 -05003 "Duration": 1,
Brian Osman7c979f52019-02-12 13:27:51 -05004 "Rate": 30,
5 "Life": {
Brian Osman8b6283f2019-02-14 16:55:21 -05006 "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 Osman7c979f52019-02-12 13:27:51 -050022 },
Brian Osman543d2e22019-02-15 14:29:38 -050023 "Drawable": {
24 "Type": "SkCircleDrawable",
25 "Radius": 1
Brian Osman7c979f52019-02-12 13:27:51 -050026 },
Brian Osman7c979f52019-02-12 13:27:51 -050027 "Emitter": {
28 "Type": "SkLineEmitter",
29 "P1": { "x": 61, "y": 34 },
30 "P2": { "x": 606, "y": 32 }
31 },
Brian Osman8b6283f2019-02-14 16:55:21 -050032 "Spawn": [
33 {
34 "Type": "SkLinearVelocityAffector",
35 "Force": false,
Brian Osmand5c57fe2019-02-22 11:48:18 -050036 "Local": false,
Brian Osman8b6283f2019-02-14 16:55:21 -050037 "Angle": {
38 "XValues": [],
39 "Segments": [
40 {
41 "Constant": true,
42 "Ranged": true,
43 "Bidirectional": false,
Brian Osmand5c57fe2019-02-22 11:48:18 -050044 "A0": 170,
Brian Osman8b6283f2019-02-14 16:55:21 -050045 "B0": 1,
46 "C0": 0,
47 "D0": 0,
Brian Osmand5c57fe2019-02-22 11:48:18 -050048 "A1": 190,
Brian Osman8b6283f2019-02-14 16:55:21 -050049 "B1": 0,
50 "C1": 0,
51 "D1": 0
52 }
53 ]
54 },
55 "Strength": {
56 "XValues": [],
57 "Segments": [
58 {
59 "Constant": true,
60 "Ranged": true,
61 "Bidirectional": false,
62 "A0": 10,
63 "B0": 0,
64 "C0": 0,
65 "D0": 0,
66 "A1": 30,
67 "B1": 0,
68 "C1": 0,
69 "D1": 0
70 }
71 ]
72 }
73 }
74 ],
Brian Osman5c1f8eb2019-02-14 14:49:55 -050075 "Update": [
Brian Osman7c979f52019-02-12 13:27:51 -050076 {
Brian Osman8b6283f2019-02-14 16:55:21 -050077 "Type": "SkSizeAffector",
78 "Curve": {
79 "XValues": [],
80 "Segments": [
81 {
82 "Constant": false,
83 "Ranged": true,
84 "Bidirectional": false,
85 "A0": 10,
86 "B0": 10,
87 "C0": 10,
88 "D0": 0,
89 "A1": 10,
90 "B1": 0,
91 "C1": 0,
92 "D1": 0
93 }
94 ]
Brian Osman7c979f52019-02-12 13:27:51 -050095 }
96 }
97 ]
98}