I'm working on a Norse Style game, and I'm trying to add some flavour to the battle scenes. For instance, everytime a warrior with a shield kills an enemy, I want to have him bash his shield with his axe.
The art content is not a problem. I can easily draw the animation. The problem is, how can I programm a custom animation and play it in battle everytime the warrior kills his enemies?
I'm using QuasiSprite.js. (Don't know if it is a useful information. But, if it is, all the better.)
The art content is not a problem. I can easily draw the animation. The problem is, how can I programm a custom animation and play it in battle everytime the warrior kills his enemies?
I'm using QuasiSprite.js. (Don't know if it is a useful information. But, if it is, all the better.)