Ajoute un voxel au sprite.

La couleur sera celle définie par l'instruction COLOR.

add s dot x,y,z
snom du sprite
xhorizontal
yvertical
zprofondeur
Sourcecreate sprite 8 as "cube" move "camera" to 0, 0, -10 ?reset = 60 do turn "cube" by 1 update color (random 10) ?x = (random 1 to 8) ?y = (random 1 to 8) ?z = (random 1 to 8) add "cube" dot ?x, ?y, ?z ?reset -1 if ?reset < 1 ?reset = 60 clear "cube" end loop