You can make sprites by putting all the images onto one bitmap. To separate them out, set the current bitmap to the one with all the sprites loaded, then get images for each one.
load bitmap "tiles.bmp",1
tilesacross = 5
tilesdown = 5
tilesizeacross = 32
tilesizedown = 32
tilenumber = 0
for i=0 to tilesdown-1
for j=0 to tilesacross-1
tilenumber=tilenumber+1
get image tileno,i*tilesizedown,j*tilesizeacross,(i+1)*tilesizedown,(j+1)*tilesizeacross
next j
next i
delete bitmap 1
That code should put the sprites in tiles.bmp into separate images, numbered across then down. The variables are fairly straightforward to understand.
To use the images as sprites, use:
This is useful for animated sprites, because you can just loop the imagenumber and the sprite will animate:
imagenumber=firstimagenumber
do
...
imagenumber=imagenumber+1
if imagenumber>lastimagenumber then imagenumber=firstimagenumber
sprite 1,x,y,imagenumber
...
loop
That will loop a sprite from firstimagenumber to lastimagenumber. Hope that helps.