CreateSprite
Creates a sprite.
CreateSprite ( [parent] )
Parameters
- parent (optional)
- an entity to attach it to, or 0 for none.
Description
Creates a sprite and gives back its handle: a flat square, 2 units across, that turns to face the camera. Give it a picture with EntityTexture. Sprites suit particles, trees seen from afar, smoke, explosions and labels.
