Hello!
So, I'm making a 2D platformer in C++ with SFML. To animate my characters I used a sprite sheet where each frame has a fixed size and each line of frames is associated with a movement (for now, they are IDLE, WALK, and JUMP)
Now I got to a point where I need the head of the character to rotate, and I'm having a hard time on figuring out a nice way to divide the body in separate pieces and draw them togheter.
Can someone help me on this?
Thx!