Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Joe on Thu 07/09/2006 21:11:22

Title: Problem with TextBoxes [SOLVED]
Post by: Joe on Thu 07/09/2006 21:11:22
Hi everyone.

I'm making a game which needs a textbox that must be filled with a long text, but what a surprise when discover you cant follow typing in the text box when you finish the frist line:
I mean this:

(http://www.subir-imagenes.com/imagenes-fotos-subir/dcc4775277.jpg) (http://www.subir-imagenes.com)

If anybody knows a solution, please let me know.
Title: Re: Problem with TextBoxes
Post by: Khris on Thu 07/09/2006 21:42:05
A textbox isn't meant to hold more than one line, regardless of its height.

You'd need to create multiple textboxes, then script the whole typing system yourself.
Title: Re: Problem with TextBoxes
Post by: R4L on Thu 07/09/2006 21:57:20
Quote from: KhrisMUC on Thu 07/09/2006 21:42:05
A textbox isn't meant to hold more than one line, regardless of its height.

I think thats something that belongs in the tracker, if it isn't already there.
Title: Re: Problem with TextBoxes
Post by: Ashen on Thu 07/09/2006 22:43:55
Perhaps you could fake it, though.
Hide the TextBox (set it's coordinates to be off the GUI), and use repeatedly_execute_always to fill a Label with the entered text. Since Labels can handle multiple lines, it should look as you want. See this thread (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=27373.0) for slightly more details.