Parameters
sprite
The sprite object to create the animation from. A sprite object is created from new_sprite(uri)
fps
The frame rate of the animation.
start
The frame number of the sprite sheet to start the animation from. 0 is the top
left corner, with numbers increasing to the right and downwards.
end
The frame number of the sprite sheet to end the animation on. 0 is the top left
corner, with numbers increasing to the right and downwards.