i've started a game recently and i came across some problems regarding dealing damage and then playing a death animation upon the finish of the death animation it destroys the dead sprite
Develop games in your browser. Powerful, performant & highly capable.