hey ,
I am working now on a metroidvania sidescroller and having hard time with combo system. While I managed to get combo attack with different animations using timer, I don't know how to approach moving player's object to match with its animations' object.
Will try to explain this more clear:
For example I want my player to move forward while slashing with the sword ( with each attack it moves 1 step forward) , so I create the animation in wich player moves as he attacks, but what would be the logic to implement this ingame ? Was thinking to move player X pixels in the direction I need at but that would require to calculate the distante in the animation through trial and error a lot of times, and if it doesnt match it looks awkward and would be crazy hard to do this way when having air combos and so on. Any thoughts on this ?