Player movement and sprite animation