Animating a 2D character