could you open source it to see how it was done, per ludum dare?
here you go: https://github.com/jontopielski/thwack-jam
it's not the cleanest code, but i know it can sometimes be helpful to poke around a project. the character movement is a combination of 'stacked sprites' and 'procedural walking', if you want to research those concepts first