I had found a few posts on this subject, but I can't seem to get where I need to be and I'm a bit confused.
TextArea Module v0.0.1.1 BETA (Multi-line textboxes)
http://www.adventuregamestudio.co.uk/forums/index.php?topic=34560.msg451995
Description Module:
http://www.adventuregamestudio.co.uk/forums/index.php?topic=26306.0
and this MultiTextBox v1.00 Module (Handle multiple text boxes)
http://www.adventuregamestudio.co.uk/forums/index.php?topic=26539.msg335878#msg335878
All I'm doing is making it so that when I click a button in the gui, let's say "Strength", then it will display "Your ability to carry lots of equipment blah blah" in a text box area at the bottom right of the screen. I can get it to do that, but of course it's just 1 line that trails off the screen.
I'm just wondering what the most efficient way would be to get this done. I also don't want another text box filling up unrelated ones. Right now if I type in the character's name then it will also fill the description box until I click on "strength" and it's cleared.
Should I use one of these modules or am I just making it more complicated than it is? My prediction is that I should use a text box to enter the character name and a separate listbox for the description box (info for each button). Sorry, I can't always figure out if a module is exactly what I need or if it's not necessary.
It seems like I'll need one of these modules since you can only have 1 text box displayed at a time (from what I've tried). I don't want to disable one at any time, I need them both to display at once.
Important note: The MultiTextBox Module gives me an error just running the game after. It says:
"
Error(line 55): Array size must be constant value
struct MultiTextBox {
import static Label *HighlightCloseLabel(GUIControl *gc, int color);
TextBox *stack[AGS_MAX_GUIS];
"
Incase all of that mess confused you, I'm just asking what any of you would do to solve two problems:
1. Text boxes don't wrap and just make a straight line off the screen"
2. I can't have multiple independent text boxes without a module (from what I can tell). So should I use listboxes or somehow set a label to display different wrapped text for each button (strength, dexterity, etc)?
Thanks in advance!
TextArea Module v0.0.1.1 BETA (Multi-line textboxes)
http://www.adventuregamestudio.co.uk/forums/index.php?topic=34560.msg451995
Description Module:
http://www.adventuregamestudio.co.uk/forums/index.php?topic=26306.0
and this MultiTextBox v1.00 Module (Handle multiple text boxes)
http://www.adventuregamestudio.co.uk/forums/index.php?topic=26539.msg335878#msg335878
All I'm doing is making it so that when I click a button in the gui, let's say "Strength", then it will display "Your ability to carry lots of equipment blah blah" in a text box area at the bottom right of the screen. I can get it to do that, but of course it's just 1 line that trails off the screen.
I'm just wondering what the most efficient way would be to get this done. I also don't want another text box filling up unrelated ones. Right now if I type in the character's name then it will also fill the description box until I click on "strength" and it's cleared.
Should I use one of these modules or am I just making it more complicated than it is? My prediction is that I should use a text box to enter the character name and a separate listbox for the description box (info for each button). Sorry, I can't always figure out if a module is exactly what I need or if it's not necessary.
It seems like I'll need one of these modules since you can only have 1 text box displayed at a time (from what I've tried). I don't want to disable one at any time, I need them both to display at once.
Important note: The MultiTextBox Module gives me an error just running the game after. It says:
"
Error(line 55): Array size must be constant value
struct MultiTextBox {
import static Label *HighlightCloseLabel(GUIControl *gc, int color);
TextBox *stack[AGS_MAX_GUIS];
"
Incase all of that mess confused you, I'm just asking what any of you would do to solve two problems:
1. Text boxes don't wrap and just make a straight line off the screen"
2. I can't have multiple independent text boxes without a module (from what I can tell). So should I use listboxes or somehow set a label to display different wrapped text for each button (strength, dexterity, etc)?
Thanks in advance!