I made the animated background and the foreground with Synfig. And between both i played the self made marionettes in front of a green screen.
Edit BobSynfig: Integration of the original title as text in the post. It was a bit long