Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Mehrdad on Thu 03/09/2009 15:30:46

Title: Fade text dialoges and any texts
Post by: Mehrdad on Thu 03/09/2009 15:30:46
Is it possible?for any text that appear on screen.(without use Gui)
Title: Re: Fade text dialoges and any texts
Post by: Dualnames on Thu 03/09/2009 18:58:13
Quote from: MEHRDAD on Thu 03/09/2009 15:30:46
Is it possible?for any text that appear on screen.(without use Gui)

You can use an Overlay, I guess.
Title: Re: Fade text dialoges and any texts
Post by: Mehrdad on Fri 04/09/2009 15:00:15
can you more explain please?
Title: Re: Fade text dialoges and any texts
Post by: Akatosh on Fri 04/09/2009 15:31:27
Look up "Overlay.CreateTextual" (or something like that) in the manual. It's explained there quite neatly.
Title: Re: Fade text dialoges and any texts
Post by: Khris on Fri 04/09/2009 15:34:00
Overlays don't support transparency (except when using an alpha-channel image and 32bit), so I guess when it comes to fading, a GUI is the best way.
Mehrdad, why don't you want to use them?
Title: Re: Fade text dialoges and any texts
Post by: Mehrdad on Sat 05/09/2009 15:09:43
Quote from: KhrisMUC on Fri 04/09/2009 15:34:00
Mehrdad, why don't you want to use them?

I think game will be slow with GUI since i have hundred dialoges and texts.dosent it? .(maybe i think mistake).ok... can you help me with use GUI on text fade?
Title: Re: Fade text dialoges and any texts
Post by: Khris on Sat 05/09/2009 15:28:15
Your game would only get slow if you displayed hundreds of GUIs at the same time.

Put the text on a label on a blank GUI and change the GUI's transparency.
Give us more info and we can help you with a specific problem.
Title: Re: Fade text dialoges and any texts
Post by: Mehrdad on Sat 05/09/2009 15:41:20
thanks KhrisMUC .I try it .and report them if was any problem.