Top | Up (Sprite) | < Previous (SPDEF) | Next (SPUSED) >
Deletes a sprite
SPCLR [sprite%]
Parameter | Description |
---|---|
sprite% | management number of the sprite to delete |
If sprite%
is omitted, all sprites will be cleared.
SPSET 1,4
SPSET 0,6
SPSET 3,16
WAIT 60
SPCLR 'all sprites disappear
Fixed a bug where the Z position was preserved after clearing and re-creating a sprite 1
1 SmileBoom, “Fixes in Ver. 3.2.0 (June 17, 2015)” http://smilebasic.com/en/debug/archive/