Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Rui 'Trovatore' Pires on Sat 07/01/2006 16:30:11

Title: Tiny thing - screen stretches on calling Display
Post by: Rui 'Trovatore' Pires on Sat 07/01/2006 16:30:11
Ok, so this is a very, very, very small, inconsequential thing. I just wondered whether anyone has seen it, and whether even CJ knows about it at all. I would expect it to be on Strazer's "tidbits and snippets", if it's anywhere at all.

It's very simple. It seems that often, calling "Display" stretches the screen about a couple of pixels wider. It's usually not visible, but in this case is a bit noticeable:

http://www.lumpcity.co.uk/~skimbleshanks/IF%20Mouse.rar

Press the + button and type something, anything. Watch the edges. And THEN press it and leave it blank and type enter... and repeat the operation. The message is smaller, so the screen doesn't stretch as much. Alt-X to quit

I just thought I'd share, and would like to know - curiosity's sake - why it happens.

On a side note - try adding A. It adds to the list, which it should, because for test purposes I put an "A" (and a b,c,d,e,f) on the dictionary. ANd words not on the dictionary don't get added. But "As", "Bs" and so on do get added, but I didn't put them there. Does the text parser accept plurals as not-unknown words in this way?
Title: Re: Tiny thing - screen stretches on calling Display
Post by: Pumaman on Sat 07/01/2006 17:54:49
I presume you have a CRT monitor?

This is an effect you get on CRT's due to the way the tube works. It's a hardware issue.

It doesn't happen on TFT monitors.

As for your parser question, yes the parser will strip an "s" from the end and retry the match, this is to automatically account for plurals.