DELETES THE SPRITE NUMBER N
ACTION
The command SPRITE_DELETE N deletes the SPRITE designated by its number N.
The number N becomes free and can be reused to create a new SPRITE.
SYNTAX:
SPRITE_DELETE N
USE ERROR EXAMPLE
rem create a 2D world number 1
scene2d 1
rem load a background picture
file_load 1,"city.bmp"
rem create a SPRITE number 1
sprite 1
rem load a picture to the SPRITE
sprite_file_load 1,"alien.bmp"
rem wait for 1 seconde
wait 1000
rem delete ce SPRITE
sprite_delete 1
SPRITE_DELETE
SPRITE_DELETE N
SEE ALSO
SPRITE
SPRITE_DELETE_ALL