added sprite switching and jumping, press q to see one leg animation