How to attach arm to 2D animated pixel sprite with aim?
A friend and I are making a 2D runner shooter game. The main character is always running. The arm of the character follows the cursor by rotating. The problem here is that the main character's "running" sprite is animated, and the character moves up and down in the animation. (It does that in pixels in the spritesheet). This results in the arm not following the body.
How would you approach this problem? It looks really weird if the arm is not in sync with the body.
Here is the running animation for reference: http://gfycat.com/BiodegradableMeaslyAnchovy
Thanks in advance! :)
Comment