Is there a way to put text in front of sprites?
Root / Programming Questions / [.]
Jacklack3Created:
You could do that by comparing the coordinates of the touch to those of the sprite, or make a sprite and hide it with SPHIDE, then just check sprite collisions with the hidden sprite (which would follow your stylus.)Either use WIDTH 16, or GPUTCHR X, Y, "STRING", SCALE_X, SCALE_Y, COLOR. Note that SCALE_X or/and SCALE_Y can't have decimals. It won't do anything.Great! Thank you! Oh and is there a way to have a sprite detect if its been touched by the stylus?
Is it okay if you could make/show an example? I dont quite know where to start from what you said.You could do that by comparing the coordinates of the touch to those of the sprite, or make a sprite and hide it with SPHIDE, then just check sprite collisions with the hidden sprite (which would follow your stylus.)Either use WIDTH 16, or GPUTCHR X, Y, "STRING", SCALE_X, SCALE_Y, COLOR. Note that SCALE_X or/and SCALE_Y can't have decimals. It won't do anything.Great! Thank you! Oh and is there a way to have a sprite detect if its been touched by the stylus?