LEXSDL_CreateSprite


Creates a new sprite.
Will check if the texture is valid and return an error if its invalid.

If the fps parameter is set to 0 the animation will be Steeped instead of timed.
In the frameDimensions parameter the x is ignored and the y is preserved.
The number of frames cannot be 0, if a value of 0 is given it will be set to 1.

Function

Return

Parameters