makeusabrew/playhorde

fix knife attack animation position

Opened this issue · 0 comments

Our rendering logic at the moment doesn't allow animations to have different offsets, because they're all attached to the same phaser sprite.

Haven't quite worked out the best way to do this - the attack animation will need splitting into a different renderer, but there's a wider issue which needs solving in that we need to render the other top halves of the player anyway (handgun, rifle etc). So we need flexibility per weapon but also per weapon state, too.