Skip to content

Commit 8261e3e

Browse files
committed
heat_wave battle anim
1 parent 1f4e183 commit 8261e3e

File tree

4 files changed

+245
-4
lines changed

4 files changed

+245
-4
lines changed
Lines changed: 221 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,221 @@
1+
{
2+
"key_name": "heat_wave",
3+
"cast_type": "psynergy_cast",
4+
"wait_for_cast_animation": true,
5+
"sprites": [{
6+
"key_name": "cast",
7+
"per_target": false,
8+
"position": "between",
9+
"count": 10,
10+
"initial_config": {
11+
"x": "caster",
12+
"y": "caster",
13+
"alpha": 0,
14+
"blend_mode": "screen",
15+
"anchor": {
16+
"x": 0.5,
17+
"y": 1.0
18+
}
19+
}
20+
}],
21+
"alpha_sequence": [{
22+
"start_delay": 0,
23+
"to": 0.75,
24+
"is_absolute": true,
25+
"tween": "Linear.None",
26+
"sprite_index": "background",
27+
"duration": 200
28+
},{
29+
"start_delay": 1000,
30+
"to": 1.0,
31+
"is_absolute": true,
32+
"tween": "Linear.None",
33+
"sprite_index": "background",
34+
"duration": 200
35+
},{
36+
"to": 1,
37+
"start_delay": {
38+
"starting_value": 0,
39+
"cumulator": 40
40+
},
41+
"is_absolute": true,
42+
"sprite_index": {
43+
"starting_value": 0,
44+
"cumulator": 1,
45+
"amount": 10
46+
}
47+
},{
48+
"to": 0,
49+
"start_delay": {
50+
"starting_value": 500,
51+
"cumulator": 40
52+
},
53+
"is_absolute": true,
54+
"duration": 70,
55+
"sprite_index": {
56+
"starting_value": 0,
57+
"cumulator": 1,
58+
"amount": 10
59+
}
60+
}],
61+
"play_sequence": [{
62+
"animation_key": "attack",
63+
"start_delay": 0,
64+
"sprite_index": "caster",
65+
"wait": false
66+
},{
67+
"animation_key": "damage",
68+
"start_delay": 320,
69+
"sprite_index": "targets",
70+
"wait": false
71+
}],
72+
"center_shift_sequence": [{
73+
"start_delay": 320,
74+
"to": 25,
75+
"is_absolute": false,
76+
"tween": "Quadratic.Out",
77+
"sprite_index": "targets",
78+
"duration": 120
79+
}],
80+
"levels_filter_sequence": [{
81+
"start_delay": 0,
82+
"sprite_index": {
83+
"starting_value": 0,
84+
"cumulator": 1,
85+
"amount": 10
86+
},
87+
"min_input": 0.1,
88+
"max_input": 0.8,
89+
"gamma": 1.5
90+
},{
91+
"start_delay": 1000,
92+
"sprite_index": {
93+
"starting_value": 0,
94+
"cumulator": 1,
95+
"amount": 10
96+
},
97+
"remove": true
98+
}],
99+
"flame_filter_sequence": [{
100+
"sprite_index": "targets",
101+
"start_delay": 320
102+
},{
103+
"sprite_index": "targets",
104+
"start_delay": 800,
105+
"remove": true
106+
}],
107+
"blink_sequence": [{
108+
"sprite_index": "targets",
109+
"start_delay": 850,
110+
"count": 1,
111+
"interval": 50
112+
}],
113+
"shake_sequence": [{
114+
"sprite_index": "background",
115+
"start_delay": 320,
116+
"interval": 40,
117+
"shake_count": 6,
118+
"intensity": 2,
119+
"direction": "x",
120+
"random_delta": 1
121+
},{
122+
"sprite_index": "background",
123+
"start_delay": 320,
124+
"interval": 40,
125+
"shake_count": 6,
126+
"intensity": 2,
127+
"direction": "y",
128+
"random_delta": 1
129+
}],
130+
"x_sequence": [{
131+
"to": "targets",
132+
"start_delay": {
133+
"starting_value": 0,
134+
"cumulator": 40
135+
},
136+
"shift": -60,
137+
"is_absolute": true,
138+
"duration": 500,
139+
"sprite_index": {
140+
"starting_value": 0,
141+
"cumulator": 1,
142+
"amount": 10
143+
}
144+
}],
145+
"y_sequence": [{
146+
"to": "targets",
147+
"start_delay": {
148+
"starting_value": 0,
149+
"cumulator": 40
150+
},
151+
"is_absolute": true,
152+
"duration": 500,
153+
"sprite_index": {
154+
"starting_value": 0,
155+
"cumulator": 1,
156+
"amount": 10
157+
}
158+
}],
159+
"particles_sequence": [{
160+
"data": {
161+
"explosion" : {
162+
"red": 255,
163+
"green": 10,
164+
"blue": 0,
165+
"lifespan": 900,
166+
"alpha": 0.8,
167+
"ay": {
168+
"value": -0.075,
169+
"control": [
170+
{"x": 0.0, "y": 1.0},
171+
{"x": 0.65, "y": 1.0},
172+
{"x": 1.0, "y": 10}
173+
]
174+
},
175+
"velocity": {
176+
"initial": {"min": 1.0, "max": 7.0},
177+
"radial": { "arcStart": 95, "arcEnd": 125 },
178+
"control": [
179+
{"x": 0.0, "y": 1.0},
180+
{"x": 0.6, "y": 1.0},
181+
{"x": 0.61, "y": 0.3},
182+
{"x": 1.0, "y": 0.1}
183+
]
184+
}
185+
}
186+
},
187+
"zones": {
188+
"line_zone": {
189+
"type": "line",
190+
"points": [{"x":0,"y":7}, {"x":0,"y":-32}]
191+
}
192+
},
193+
"emitters": [{
194+
"x": "targets",
195+
"y": "targets",
196+
"tween_emitter": {
197+
"duration": 400,
198+
"incremental": true,
199+
"x": -50
200+
},
201+
"shift_y": -15,
202+
"zone_key": "line_zone",
203+
"position": "between",
204+
"render_type": "pixel",
205+
"show_trails": true,
206+
"trails_clear_factor": 0.2,
207+
"pixel_size": 7,
208+
"pixel_reducing_factor": 0.075,
209+
"pixel_is_rect": false,
210+
"particles_display_blend_mode": "screen",
211+
"render_white_core": true,
212+
"core_custom_color": "rgba(255,255,210,0.95)",
213+
"total": 20,
214+
"repeat": 22,
215+
"frequency": 30,
216+
"emitter_data_key": "explosion"
217+
}],
218+
"emission_delay": 300,
219+
"emission_finish": 1500
220+
}]
221+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{"frames": {
2+
3+
"cast/000":
4+
{
5+
"frame": {"x":1,"y":1,"w":40,"h":64},
6+
"rotated": false,
7+
"trimmed": false,
8+
"spriteSourceSize": {"x":0,"y":0,"w":40,"h":64},
9+
"sourceSize": {"w":40,"h":64}
10+
}},
11+
"meta": {
12+
"app": "http://www.codeandweb.com/texturepacker",
13+
"version": "1.0",
14+
"image": "heat_wave.png",
15+
"format": "RGBA8888",
16+
"size": {"w":42,"h":66},
17+
"scale": "1",
18+
"smartupdate": "$TexturePacker:SmartUpdate:095e2c597c53a0892b350b9496b0cbfe:be0a9d55b02e74c7837aacfad6bc7091:4b7907842909184b7c850e4bdfb57828$"
19+
}
20+
}
1.45 KB
Loading

assets/plugins/particle-storm.js

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

0 commit comments

Comments
 (0)