Zelda-style RPG textbox?
in
Programming Questions
•
2 years ago
I am looking into making a small RPG (oxymoronic, I know), using processing. It seems to have the capabilities, and I really like the interface and the ease of programming. I am at a point in my game creation where I need some kind of textbox like the ones used in RPG's. These are formatted text boxes that display one character at a time, as if it were being typed. I also came across the text(String, int, int, int, int) method for text-box formatting. However, this cannot be used for individual characters one at a time. I want to know, is there any way I can use this method to format text into a text box, but actually draw the characters one at a time? Or, if there isn't an easy way out, what is the logic behind text formatting? What is happening to each character behind the scenes? I may have to format the text myself, and then loop through the string, drawing each character at its appropriate place. But how would I determine where to draw the character?
TL;DR
I want to make a text box that draws one character at a time.
1.) Is there any way I can use the text() method to format the text but only draw one character at a time?
2.) If not, how do I format the characters myself?
1