add animation support to simplegame