So I have a player sprite where I stored animations.
Player hit box which does collisions and carries behaviours (platform, scroll to)
And now I have 4 different attacks, so I was thinking how should i make hit boxes for them.
What I have in mind to do is something like attack1 is playing, on frame3/ spawn attack1 hit box
So what I want to know is if there is a better way to do this because it seems kinda clumsy.