Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: lawon on Sat 11/09/2010 13:32:16

Title: Changing non-blocking speech width *SOLVED*
Post by: lawon on Sat 11/09/2010 13:32:16
Is it possible to change the overlay area width on a SayBackground() ? I know you can change it on SayAt() but i really need it on non-blocking speech too.  And if its impossible, then would it be hard to implement it on the next version? Thanks.
Title: Re: Changing non-blocking speech width
Post by: GarageGothic on Sat 11/09/2010 15:24:05
No direct way of doing it, no. You could either simulate the built-in text display by using a GUI or Overlay (e.g. use the background speech module (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=35787.0), and add a width paramater to use instead of the module's default_text_width value) or - in case you just want the width to be less than the default, you could insert your own forced linebreaks into the String. That could either be done manually or with an automated linebreaking script.
Title: Re: Changing non-blocking speech width
Post by: lawon on Sat 11/09/2010 17:00:30
Thanks!  The textual overlay works perfectly for what i need, i had even thought about it before but i gave up cos there was no timer to take it off, but now i realised i could make my own timer and check it every cycle.