feat: add an homming attack GFX

This commit is contained in:
Kazhnuz 2021-07-27 13:09:20 +02:00
parent 47301e3bb3
commit 85ffa8c735
3 changed files with 19 additions and 1 deletions

View 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,
},
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View file

@ -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"},