|
Hey, I'm working on a script for a guidebook that will act as an instruction manual for my project. I want to make a window class < window base with methods that will take a block of text, seperate it into lines, then print the text into a transparent window over a picture of a book.
Does anyone know of (or have already written) a method for seperating texts into lines?
I guess I would need a way to recognize individual words, then recognize if a word exceeds the line length, then split the string before that word and draw the rest of the text on the next line, huh? I'm pretty new to scripting so if anyone has any advice on this one, I'd appreciate it
__________________________
Vis vobiscum. 
|