Okay... I have never really started to use the String Parser.
But I have a couple questions:
(I'm using TGF1 by the way)
1 - Can you make text appear letter by letter with this extension?
If you can then:
2 - Can anyone make a example with it? I can't figure it out.
If you cant do this with the String Parser extension, its okay, not really that big of a deal, I just think it would be a cool effect for this game I am making.
Your just jealous that you're not as awesome as me.
(And my megaman avatar )
You want text to display character by character on screen? You can actualy do that with the string object.
Heres an example i done not to long back: http://www.create-games.com/download.asp?id=7139
But here's an explanation of one way to do it!
I use a slightly different way though, but as I said, I'm lazy today!
Cudos to Dustin: "The creation of a progressive text system is rather simple, but can be a bit tricky if you're not sure what you're doing. It's most complicated features involve the "Left$" command and the "Len" command, both available in the MMF event calculator.
The "Left$" command displays all the text in a paragraph from the left, up to a given number that you choose. When you click the "Left$" button, this will appear in your equation box: "Left$( >Enter string here<, 0 )"
The "Len" command will convert the length of a string to a numeric value in order to compare it to any other value. When you click the "Len" button, this will appear in your equation box: "Len( >Enter string here< )"
To begin, you'll need three individual text objects to perform progressive text: an on-screen text object and two off-screen text objects. One of the off-screen text objects will be the "Conversion String", while the other will be the "Text string". The "Conversion String" will be used as a placeholder for all text moving in between the main, on-screen text object and the off-screen "Text string" object, which will hold all paragraphs, ready to be displayed when you choose them to be.
Create all your text in the off-screen "Text String" object. Once you have done that, the rest is left to programming.
You'll also need two counter objects to keep track of the current Paragraph and Letter Display. Create an event in the Event Editor that states every 00'05" a value of 1 will be added to the Letter Display Counter. The time of 00'05" can be adjusted higher or lower to create faster or slower text, depending on what you prefer.
Next, create an set of events that change the current alterable string of the "Conversion String" to a paragraph from the "Text String", depending on the value of the Paragraph Counter. Create a new event for every separate paragraph available in the "Text String."
Create an event that states every 00'05" (more or less, depending on the other timed event stated earlier), the alterable string of the on-screen text will be set to:
This will display one letter for every 00'05", or every time the event runs. This event tells the Event Editor to display the current text, from the left most side, of the "Conversion String" to the amount of letters equal to the value currently stored in the Letter Display counter.
All that's left is to add an event stating when the user presses Enter and the value of the Letter Display counter is greater than the length (Len) of the current text used by the "Conversion String", to add a value of 1 to the Paragraph counter and set the value of the Letter Display counter to zero."
As stated above you only need to use the generic string functions, string parser is not needed at all. String Parser is usually used for sending data in online games.
Thanks a lot guys!
I figured this out last night before I read any of this, after like 15 minutes, or trying random things.
But this helped a lot! Now I actually know what I'm doing more, when before I was just clicking randomly
Thanks again.
-MacAdaM
Your just jealous that you're not as awesome as me.
(And my megaman avatar )