DXS CREATE SPRITE
This command create a sprite from an existing image file. The image must be a BMP, JPG, TGA, PNG, DDS, PPM, DIB, HDR or PFM image.
The image is created internally and does not need other intervention from the user.
By default, the image does not use a transparent color. You can precise the color to consider transparent.
The pointer returned by the command must be kept to use the sprite after.
Syntax
Sprite Pointer = DXS CREATE SPRITE(Filename)
Sprite Pointer = DXS CREATE SPRITE(Filename, RGB Code)
Sprite Pointer = DXS CREATE SPRITE(Filename, Red, Green, Blue)
AdvancedSPRITES : Commands Menu