This is just a small suggestion, but we should have scratch be able to handle text. I know that you can make sprites say things, but you can't join different texts to variables and percentages and all that kind of stuff. If anyone has gamemaker, that has a good way of handling text.
Offline
I have no idea if this works, but try having a "say [ ( (phrase 1)+(phrase 2) ) ]"
Last edited by boinoinoi (2008-12-09 21:50:19)
Offline
Yah, I am. It is kind of like you make a font, and then you use gamemakers draw functions to draw a text that you want it to type in a certain co-ordinate that you have appionted. But what I like about gamemakers text is that you will be able to write certain text at different points so it is like
'Hi, I have 25 lollies'
Instead of-
'Hi, I have
25
Lollies!'
Offline
Okay, you just confused me.
I meant by "say [ ( (Phrase 1) + (Phrase 2) ) ]" that one could be a list and the other could be a variable. I have no idea what you're buisness with fonts is, unless you mean to be able to say things in different fonts.
To be clear, I don't have gamemaker and have never used it.
Offline
Uncanny wrote:
sorry to confuse you, I am not good at explaining things.
Can you try to explain it better then?
Offline
he wants to draw text, which is already possible. A sprite with a costume for each letter of the alphabet and when, lets say A is pressed, it goes to that costume and stamps.
Offline
boinoinoi wrote:
Okay, you just confused me.
I meant by "say [ ( (Phrase 1) + (Phrase 2) ) ]" that one could be a list and the other could be a variable. I have no idea what you're buisness with fonts is, unless you mean to be able to say things in different fonts.
To be clear, I don't have gamemaker and have never used it.
Gamemaker has a 'draw text' block, when it opens, you just have to select the font you want to write it in, and type in what you want it to say. Then when you compile the game and run it, there would be the text you wanted the computer to say to you, written in the spot you wanted it to be written, and in that font.
Then Gamemaker also has a block called 'draw variable' which takes a variable and makes a number in the position that you want it to be written. So all you need to do is to type in the position you want it to be in, and there would be the number.
So here is what the text would look like in scratch.
([speech bubble]I have)
([speech bubble]25 (the variable used is lollies))
([speech bubble]lollies)
Here is what it would look like in gamemaker
([written in a defined spot]I have 25 lollies)
It just makes it seem more polished, and easier to follow. I am not saying to take the saying funcion out, because that is useful for quick things.
Banshee has a point, so I am sorry for causing trouble.
BTW: I had tried what you said before, but for some reason the variables with strings in them just seem to equal 0 when the character says it.
Last edited by Uncanny (2008-12-13 17:26:18)
Offline