basic animation and colliding implemented