Congrats on surviving longer than a minute! That's huge!
Behind the cannon's animation is just a simple 3-bone setup with no rig. These bones aren't actually connected to each other, but are parented. I'm doing this just so the cannon can stretch freely when I'm animating. You're really welcome, and thank you for playing!