Alright, so I've got this text that types itself out (Like in Noitu Love 2 or My distraction) but I want to have a continue button appear when it reaches the last letter/number/sign/whatever. How is this done? Also, if I wanted to skip the typing and show just the whole sentence how would I do that?
Edit: Btw, How would I set the text to the first letter also?
Have it set that if the raw string (what the displayed text is copying from) is equal to the display text then display a continue button. Don't know how flexible that system is though but it works on my project.
I have a system that allows all the text to be imputed at once and then I have a fast loop to split it up into groups with auto word wrapping, and stuff, which only works with the text blitter object because if the equal size of all the characters. I'll post an example file later.
It works good, but I personalized it a little and I put in a couple of features like the one you're looking for (display the whole text when pressing a key)
Try to download the example and figure it out how to do it.
If you can't find the way, I can write to you the code lines.
I usually save one character to determine the end of line, like an asterisk *. Then once it gets to the asterisk, it sets the string to the same string minus 1 (the asterisk) and pauses until the player does something like press enter. Of course my way means you can't use an asterisk anywhere else and not have it think it's the end of the paragraph or whatever, so use something you know you'll never write in the text speech like this thing here ^.
--
"Del Duio has received 0 trophies. Click here to see them all."
"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"
DXF Games, coming next: Hasslevania 2- This Space for Rent!