So I am in the planning stages of a 2D forced perspective Action RPG, akin to Legend of Mana and the upcoming indie game Cryamore.
More like Legend of Mana in design. If you have no idea what that is look it up on Youtube, amazing game.
I was pondering, however, how attack animations would work with melee weapons in a side scrolling action game. My first thought, and I am hoping I am correct here, would be to have the weapon sprite as a seperate entity, and have the player spawn the weapon sprite (at a particular animation, lets say SWING) while they animate the attack animation.
Am I correct in thinking this is how it would work? Because if I have the player themselves animated with a sword, then having them hit an enemy would trigger both themselves getting damaged as well as the enemy, which says to me that the weapon sprite must be seperate, but I must also seamlessly integrate it with the sprites attack animation somehow. Not sure how I will do this (I assume spawn at image point)
And then there is doing multiple animations so it doesnt feel stiff, but that is something else I will worry about once I figure this out 0_0