Marionette for canvas games