Another way to do it is to hide the normal sprites using HIDE SPRITE and use PASTE SPRITE to paste them just like an image. That way I can write text over them
. Or was this the way you felt wasn't right?
ex.
Sync On
Sync Rate 60
rem Create a red box image
Create Bitmap 1,30,30
ink rgb(255,0,0),0
box 0,0,30,30
get image 1,0,0,30,30
Delete Bitmap 1
rem Create a green box image
Create Bitmap 1,30,30
ink rgb(0,255,0),0
box 0,0,30,30
get image 2,0,0,30,30
Delete Bitmap 1
rem Create the sprites so that they exist, but then hide them.
Sprite 1,0,0,1
Sprite 2,0,0,2
Hide Sprite 1
Hide Sprite 2
Do
rem Draw sprite 1 first, then sprite 2.
PASTE SPRITE 1,100,100
PASTE SPRITE 2,110,110
rem Print some text
ink rgb(255,255,255),0
Text 100,100,"OMG TEXT ON SOME SPRITES!"
Sync
Loop
Or they could be drawn in the loop if you wanted to change the image (warning flashing sprites):
Sync On
Sync Rate 60
rem Create a red box image
Create Bitmap 1,30,30
ink rgb(255,0,0),0
box 0,0,30,30
get image 1,0,0,30,30
Delete Bitmap 1
rem Create a green box image
Create Bitmap 1,30,30
ink rgb(0,255,0),0
box 0,0,30,30
get image 2,0,0,30,30
Delete Bitmap 1
Do
rem Create the sprites so that they exist, but then hide them.
Sprite 1,0,0,1+rnd(1)
Sprite 2,0,0,1+rnd(1)
Hide Sprite 1
Hide Sprite 2
rem Draw sprite 1 first, then sprite 2.
PASTE SPRITE 1,100,100
PASTE SPRITE 2,110,110
rem Print some text
ink rgb(255,255,255),0
Text 100,100,"OMG TEXT ON SOME SPRITES!"
Sync
Loop