feat: add an homming attack GFX
This commit is contained in:
parent
47301e3bb3
commit
85ffa8c735
3 changed files with 19 additions and 1 deletions
18
sonic-radiance.love/assets/sprites/gfx/HA.lua
Normal file
18
sonic-radiance.love/assets/sprites/gfx/HA.lua
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
return {
|
||||||
|
metadata = {
|
||||||
|
width = 33,
|
||||||
|
height = 44,
|
||||||
|
defaultAnim = "default",
|
||||||
|
ox = 16,
|
||||||
|
oy = 22,
|
||||||
|
},
|
||||||
|
animations = {
|
||||||
|
["default"] = {
|
||||||
|
startAt = 1,
|
||||||
|
endAt = 7,
|
||||||
|
loop = 1,
|
||||||
|
speed = 15,
|
||||||
|
pauseAtEnd = false,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
BIN
sonic-radiance.love/assets/sprites/gfx/HA.png
Normal file
BIN
sonic-radiance.love/assets/sprites/gfx/HA.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.4 KiB |
|
@ -20,8 +20,8 @@ return {
|
||||||
|
|
||||||
{"taggedAction", "hommingQte", {"addQTE", "none", {"simplePrompt", {{"A", 1}}, 0.4}, "target", false}},
|
{"taggedAction", "hommingQte", {"addQTE", "none", {"simplePrompt", {{"A", 1}}, 0.4}, "target", false}},
|
||||||
{"waitFor", "none", "actionFinished:hommingQte"},
|
{"waitFor", "none", "actionFinished:hommingQte"},
|
||||||
|
|
||||||
{"taggedAction", "dashToEnnemy", {"goTo3D", "none", "target", 0, 0, 8, 0.2, false}},
|
{"taggedAction", "dashToEnnemy", {"goTo3D", "none", "target", 0, 0, 8, 0.2, false}},
|
||||||
|
{'addGFX', "none", 'hommingGFX', "actor", 0, 0, -4, true, false},
|
||||||
{"setAnimation", "none", "spin", false},
|
{"setAnimation", "none", "spin", false},
|
||||||
{'playSFX', "none", 'spinrelease'},
|
{'playSFX', "none", 'spinrelease'},
|
||||||
{"waitFor", "none", "actionFinished:dashToEnnemy"},
|
{"waitFor", "none", "actionFinished:dashToEnnemy"},
|
||||||
|
|
Loading…
Reference in a new issue