this is a simple method where by pasting the text over the image then grabbing it all as one image for use in the sprite
sync on
sync rate 0
ink rgb(55,55,55),1
box 0,0,32,32
ink rgb(255,255,255),1
text 0,0,"sp1"
get image 1,0,0,32,32
sprite 1,screen width()/2,screen height()/2,1
hide mouse
disable escapekey
while escapekey()=0
sprite 1,mousex()-sprite width(1)/2,mousey()-sprite height(1)/2,1
sync
endwhile
delete sprite 1
end
an advanced method is to choose a sprite to be a dynamic updating sprite.
You would want it to sit on top of all other sprites perhaps,
so keep in mind where it lives as u create the sprites.
This is to do with the z order of sprites or the (which sprite is in front) issue.
you can find the length of a string and that can be used to determine the length
of the text when u want to use the get image to grab the right length.
If the font has irregular spaces for characters then you may have to add a buffer or set some rules towards how many maximum characters you can use for the dyna text sprite.