Skip to content

Commit b8360de

Browse files
committed
douse battle anim
1 parent 0f6fa64 commit b8360de

File tree

4 files changed

+240
-2
lines changed

4 files changed

+240
-2
lines changed
Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
{
2+
"key_name": "douse",
3+
"cast_type": "psynergy_cast",
4+
"wait_for_cast_animation": false,
5+
"stage_angle_sequence": [{
6+
"start_delay": 200,
7+
"to": "cast_position",
8+
"is_absolute": true,
9+
"tween": "Quadratic.Out",
10+
"duration": 500,
11+
"direction": "closest"
12+
}],
13+
"alpha_sequence": [{
14+
"start_delay": 0,
15+
"to": 0.75,
16+
"is_absolute": true,
17+
"tween": "Linear.None",
18+
"sprite_index": "background",
19+
"duration": 200
20+
},{
21+
"start_delay": 1300,
22+
"to": 1.0,
23+
"is_absolute": true,
24+
"tween": "Linear.None",
25+
"sprite_index": "background",
26+
"duration": 200
27+
}],
28+
"play_sequence": [{
29+
"animation_key": "damage",
30+
"start_delay": 500,
31+
"sprite_index": "targets",
32+
"wait": false
33+
}],
34+
"blink_sequence": [{
35+
"sprite_index": "targets",
36+
"start_delay": 500,
37+
"count": 2,
38+
"interval": 80,
39+
"duration": 45
40+
}],
41+
"particles_sequence": [{
42+
"data": {
43+
"bubbles" : {
44+
"image": "douse_battle_animation",
45+
"blendMode": "SCREEN",
46+
"anchorX": 0.5,
47+
"anchorY": 0.5,
48+
"animations": {
49+
"pop": {
50+
"frames": { "start": 0, "stop": 2, "prefix": "bubble/", "suffix": "", "zeroPad": 3 },
51+
"frameRate": 15,
52+
"loop": false
53+
}
54+
},
55+
"play": [],
56+
"playOnKill": "pop",
57+
"frame": ["bubble/000"],
58+
"lifespan": 300,
59+
"vx": -5,
60+
"vy": 6
61+
}
62+
},
63+
"zones": {
64+
"line_zone": {
65+
"type": "line",
66+
"points": [{"x":-30,"y":0}, {"x":30,"y":0}]
67+
}
68+
},
69+
"emitters": [{
70+
"x": 150,
71+
"y": 0,
72+
"zone_key": "line_zone",
73+
"position": "between",
74+
"render_type": "sprite",
75+
"repeat": 6,
76+
"frequency": 60,
77+
"total": 1,
78+
"emitter_data_key": "bubbles"
79+
}],
80+
"emission_delay": 200,
81+
"emission_finish": 1300
82+
},{
83+
"data": {
84+
"clouds" : {
85+
"image": "douse_battle_animation",
86+
"blendMode": "SCREEN",
87+
"anchorX": 0.5,
88+
"anchorY": 0.5,
89+
"scale": 0.3,
90+
"animations": {
91+
"cloud": {
92+
"frames": { "start": 0, "stop": 7, "prefix": "cloud/", "suffix": "", "zeroPad": 3 },
93+
"frameRate": 20,
94+
"loop": false
95+
}
96+
},
97+
"lifespan": 350,
98+
"ay": 0.07,
99+
"velocity": {
100+
"initial": {"min": 1, "max": 2},
101+
"radial": {"arcStart": -90, "arcEnd": 90},
102+
"control": [
103+
{"x": 0.0, "y": 1.0},
104+
{"x": 1.0, "y": 1.0}
105+
]
106+
}
107+
}
108+
},
109+
"zones": {
110+
"circle_zone": {
111+
"type": "ellipse",
112+
"width": 25,
113+
"height": 10
114+
}
115+
},
116+
"emitters": [{
117+
"x": "targets",
118+
"y": "targets",
119+
"shift_y": -25,
120+
"zone_key": "circle_zone",
121+
"position": "between",
122+
"render_type": "sprite",
123+
"total": 8,
124+
"repeat": 4,
125+
"frequency": 80,
126+
"emitter_data_key": "clouds"
127+
}],
128+
"emission_delay": 500,
129+
"emission_finish": 1300
130+
}]
131+
}
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
{"frames": {
2+
3+
"bubble/000":
4+
{
5+
"frame": {"x":1,"y":1,"w":48,"h":48},
6+
"rotated": false,
7+
"trimmed": false,
8+
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":48},
9+
"sourceSize": {"w":48,"h":48}
10+
},
11+
"bubble/001":
12+
{
13+
"frame": {"x":51,"y":1,"w":48,"h":48},
14+
"rotated": false,
15+
"trimmed": false,
16+
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":48},
17+
"sourceSize": {"w":48,"h":48}
18+
},
19+
"bubble/002":
20+
{
21+
"frame": {"x":101,"y":1,"w":48,"h":48},
22+
"rotated": false,
23+
"trimmed": false,
24+
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":48},
25+
"sourceSize": {"w":48,"h":48}
26+
},
27+
"cloud/000":
28+
{
29+
"frame": {"x":151,"y":1,"w":48,"h":48},
30+
"rotated": false,
31+
"trimmed": false,
32+
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":48},
33+
"sourceSize": {"w":48,"h":48}
34+
},
35+
"cloud/001":
36+
{
37+
"frame": {"x":201,"y":1,"w":48,"h":48},
38+
"rotated": false,
39+
"trimmed": false,
40+
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":48},
41+
"sourceSize": {"w":48,"h":48}
42+
},
43+
"cloud/002":
44+
{
45+
"frame": {"x":251,"y":1,"w":48,"h":48},
46+
"rotated": false,
47+
"trimmed": false,
48+
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":48},
49+
"sourceSize": {"w":48,"h":48}
50+
},
51+
"cloud/003":
52+
{
53+
"frame": {"x":301,"y":1,"w":48,"h":48},
54+
"rotated": false,
55+
"trimmed": false,
56+
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":48},
57+
"sourceSize": {"w":48,"h":48}
58+
},
59+
"cloud/004":
60+
{
61+
"frame": {"x":351,"y":1,"w":48,"h":48},
62+
"rotated": false,
63+
"trimmed": false,
64+
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":48},
65+
"sourceSize": {"w":48,"h":48}
66+
},
67+
"cloud/005":
68+
{
69+
"frame": {"x":401,"y":1,"w":48,"h":48},
70+
"rotated": false,
71+
"trimmed": false,
72+
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":48},
73+
"sourceSize": {"w":48,"h":48}
74+
},
75+
"cloud/006":
76+
{
77+
"frame": {"x":451,"y":1,"w":48,"h":48},
78+
"rotated": false,
79+
"trimmed": false,
80+
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":48},
81+
"sourceSize": {"w":48,"h":48}
82+
},
83+
"cloud/007":
84+
{
85+
"frame": {"x":501,"y":1,"w":48,"h":48},
86+
"rotated": false,
87+
"trimmed": false,
88+
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":48},
89+
"sourceSize": {"w":48,"h":48}
90+
}},
91+
"meta": {
92+
"app": "http://www.codeandweb.com/texturepacker",
93+
"version": "1.0",
94+
"image": "douse.png",
95+
"format": "RGBA8888",
96+
"size": {"w":550,"h":50},
97+
"scale": "1",
98+
"smartupdate": "$TexturePacker:SmartUpdate:7d2be0949cdd922eb543011a7d16fbf6:161a9b0d0438569e395f03cf94f80e6c:ebdf02de901513c567f75c8643692f36$"
99+
}
100+
}
22.1 KB
Loading

assets/plugins/particle-storm.js

Lines changed: 9 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)