Hi.
I want to display the value of a variable in a sprite without using "say...", "think...", or "view on stage". So for example, I have a sprite called Textbox, and a variable called Num. How do I display Num in Textbox?
Thx in advance.
pw
Offline
How many different numbers must it be able to show? If just a few, make a costume for each. If more, make a few "digit" sprites and calculate the digits' values with / and mod.
Or, of course, just go to the variables page, check Num and drag the resulting box around where you want it.
Offline
You can also look at my print_decimal program
http://scratch.mit.edu/projects/kevin_karplus/2951
Offline