main site
blog home
Harmonic Animation Editor
January 3rd 2021I was working on a survival game which used hand-drawn art assets. I wanted to animate these art assets in a similar way to the game One Hour One Life which also uses hand-drawn art.
The creator of One Hour One Life, Jason Rohrer, demonstrated his animation editor in a YouTube video. I set about creating a similar tool which outputs a spritesheet which could be used to draw the animation.
First I draw the object to be animated in parts like so:
Then you import it into the animator software, you then select each part which you wish to animate separately, setting the origin of rotation for each part also. Once you’ve selected all the parts you can build your animation. You add parts to the animation in hierarchy, each object will inherit its parent’s transformations. Objects are animated by rotating and translating them using simple harmonic oscillations. You can edit the parameters of the oscillations of each part using the sliders on the left and once you’re ready click “Animate” to test. Once you’ve tweaked your animation you can export it and are happy with it you can export it to a spritesheet.
The final result is a nice smooth animation!
Here’s a little video of the full process:
The project is available here.