Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Rui 'Trovatore' Pires on Mon 16/01/2006 11:52:42

Title: Suggestion: Removing length limits for labels (IMPLEMENTED)
Post by: Rui 'Trovatore' Pires on Mon 16/01/2006 11:52:42
First off, I know this has been said in the recent past - in fact, I think I was the one to bring it up. But since I now would find it handy (if not vital - though not as pretty, I can certainly work around it), and didn't find it in the tracker, I'm posting this. Mainly, what I expect right now is just to it get it trackered.

Now that "string"s have been replaced by "String"s, which have no 200-char limitation, the fact that some elements of AGS (specifically, GUI Labels) still retain a 200-length limit seems a bit redundant and limitating. I have run across this limit twice now, and while the first time it wasn't really an issue as it was unlikely the text would ever be that big, I am now working with a much larger body of text, and 200+ characters is practicaly a certainty. I've worked around it by using two labels, of course, but not only does it make very hard/nigh impossible aligning them both so that it looks like just one label, it can also get ugly when I resize the GUI they're in (a feature of the project I'm working on).

I can upload a demonstration of what I'm working on, so you can see for yourselves what I'm talking about. The main points are: 1) It's not vital, and it survives without what I'm asking. 2) It's ugly, and does nothing for appearances/image/first impressions.
Title: Re: Suggestion - removing length limits for labels
Post by: monkey0506 on Mon 16/01/2006 13:56:46
I like this suggestion.  I would also like to suggest (seeing as it has to do with Labels & how they are displayed, I won't start a new thread) that there be some option implemented to control the width between lines on the label.  If the 200 char limit was removed and you could define the width between lines...oh the joy!  It would make my life soooooo much easier.
Title: Re: Suggestion - removing length limits for labels
Post by: Rui 'Trovatore' Pires on Mon 16/01/2006 13:59:38
Heh. That one is already on the tracker, though. :=

...I think.
Title: Re: Suggestion - removing length limits for labels
Post by: monkey0506 on Mon 16/01/2006 14:01:24
Is it?  I haven't looked in a while...

[EDIT:]

Blast you Rui!!!  Blast you and your infernal correctness!

http://adventuregamestudio.co.uk/tracker.php?action=detail&id=541

But I would still LOOOVEE for this to be implemented in 2.72...I'm sure it couldn't be that hard... ;)
Title: Re: Suggestion - removing length limits for labels
Post by: Pumaman on Mon 16/01/2006 19:36:26
Ok, I hear you! If removing the length limit from labels would be important to you, I'll look into it.

Edit by strazer:

AGS v2.72 Beta 3:
* Increased permitted length of GUI label text from 200 to 2048 characters.
Title: Re: Suggestion - removing length limits for labels
Post by: monkey0506 on Mon 16/01/2006 23:34:25
No word on my previously suggested suggestion then?

But it's good to hear that the 200 character limit will be removed...soon enough.
Title: Re: Suggestion - removing length limits for labels
Post by: Rui 'Trovatore' Pires on Tue 17/01/2006 00:52:35
Thankyouthankyouthankyou! <hug>
Title: Re: Suggestion: Removing length limits for labels
Post by: Shini on Sat 21/01/2006 14:28:14
Hope most of the limits will be increased soon, since I'm working on a big project that will certainly more than 300 rooms...
Title: Re: Suggestion: Removing length limits for labels
Post by: monkey0506 on Sat 21/01/2006 15:36:02
Well that actually has nothing to do with this, but you can have more than 300 rooms.  The only problem is the room states aren't saved for rooms 300+ (which means any room variables, any objects moved/disabled, etc. will be restored to their original state as soon as you leave the room).  Look at strazer's OtherRoom module (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=20650.msg251891#msg251891).  That will allow you to save the states of rooms 300 - 999.
Title: Re: Suggestion: Removing length limits for labels
Post by: Shini on Sun 22/01/2006 15:05:10
Huge thanks for your help monkey!!! Great module
Title: Re: Suggestion: Removing length limits for labels
Post by: monkey0506 on Mon 23/01/2006 01:39:44
You're welcome, but just so you know, I didn't make the module, that's strazer's.