For a new game I'm making, I'm trying to make one of those boxes in which text for what the character is saying appears. Now that's easy. You just do it costume by costume. But I'm trying to go a bit further. You know how you can set a variable to the answer of a question and make any sprite say that answer by telling them to
[blocks]<set{ Name }to( answer[/blocks]
Well, I'm trying to do this, but using costumes. What I mean is that I made a sprite that shows what the characters say instead of using the
[blocks]<say[ ]for( )secs>[/blocks]
script. I want to be able to display an answer in one of the questions. All I can think of so far is showing the variable, but that would be orange, and my speech box is grey with blue stripes. This brings me to another question- how exactly do you make the grey part of a variable not be shown? If you don't know what I mean, then take a look at Scratch Life, a project that one of my friends made. Take a look at the shown variables. You'll see what I mean. http://scratch.mit.edu/projects/Snowydude/1939040
That's it. Thanks guys!
Offline
There's no current way to easily display information without lists and variables. You could make a sprite with costumes of each letter and make it stamp it out, but that is really complex. You could also have a sprite with ghost effect set to 100 that says or thinks what you want to display.
EDIT: You can also make the sprite hide, ask a question with the answer as the question(a bit weird, I know) and then show it again, making an answer box with a prompt. I use that sometimes.
You can hide the grey part of the display by double-clicking the variable, or right-clicking the variable and choosing a display mode.
Last edited by Greatdane (2011-07-24 19:22:37)
Offline