Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: monkey0506 on Tue 19/09/2006 23:59:33

Title: Overlay.CreateTextual with 0 width (SOLVED)
Post by: monkey0506 on Tue 19/09/2006 23:59:33
Okay, I'm working with textual overlays (again)...and I've noticed some interesting behavior. Overlays with low width parameters (I actually only tested it (by accident) with 0 and (on purpose) 1) seem to take some sort of internally-defined default width. I can't seem to find anything mentioning this, though it is interesting...what exactly is the width that this defaults to?
Title: Re: Overlay.CreateTextual with 0 width...
Post by: Pumaman on Wed 20/09/2006 21:51:27
It defaults to half the screen width if it's too small to display any text.
Title: Re: Overlay.CreateTextual with 0 width...
Post by: monkey0506 on Wed 20/09/2006 22:23:04
Ah...wonderful. Thanks Pumaman...though I opted to use something else instead of the method I wanted to use (because there's no overlay text alignment yet ;))...but thanks for the info!