blob: aa8b0bb4ca2ad10ee67b02ef559a578d01f65768 [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",
Brian Osman0c486812019-02-26 10:02:15 -050035 "Enabled": true,
Brian Osman8b6283f2019-02-14 16:55:21 -050036 "Force": false,
Brian Osmane5d532e2019-02-26 14:58:40 -050037 "Frame": "World",
Brian Osman8b6283f2019-02-14 16:55:21 -050038 "Angle": {
39 "XValues": [],
40 "Segments": [
41 {
42 "Constant": true,
43 "Ranged": true,
44 "Bidirectional": false,
Brian Osmand5c57fe2019-02-22 11:48:18 -050045 "A0": 170,
Brian Osman8b6283f2019-02-14 16:55:21 -050046 "B0": 1,
47 "C0": 0,
48 "D0": 0,
Brian Osmand5c57fe2019-02-22 11:48:18 -050049 "A1": 190,
Brian Osman8b6283f2019-02-14 16:55:21 -050050 "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 Osman5c1f8eb2019-02-14 14:49:55 -050076 "Update": [
Brian Osman7c979f52019-02-12 13:27:51 -050077 {
Brian Osman8b6283f2019-02-14 16:55:21 -050078 "Type": "SkSizeAffector",
Brian Osman0c486812019-02-26 10:02:15 -050079 "Enabled": true,
Brian Osman8b6283f2019-02-14 16:55:21 -050080 "Curve": {
81 "XValues": [],
82 "Segments": [
83 {
84 "Constant": false,
85 "Ranged": true,
86 "Bidirectional": false,
87 "A0": 10,
88 "B0": 10,
89 "C0": 10,
90 "D0": 0,
91 "A1": 10,
92 "B1": 0,
93 "C1": 0,
94 "D1": 0
95 }
96 ]
Brian Osman7c979f52019-02-12 13:27:51 -050097 }
98 }
99 ]
100}