Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Slasher on Fri 24/01/2014 13:14:56

Title: Have Display non-blocking workaround..
Post by: Slasher on Fri 24/01/2014 13:14:56
Hi,

I am trying to have Display (text gui) non blocking. What would be a good workaround?

If you can help that would be good.

Thanks
Title: Re: Have Display non-blocking workaround..
Post by: Andail on Fri 24/01/2014 21:10:27
Display is always blocking, but you can use a normal gui and put whatever text you want on it, and you can show it whereever and whenever you want. You could also have an invisible character say all your messages, and use the saybackground command,
What do you need help with more specifically?
Title: Re: Have Display non-blocking workaround..
Post by: Slasher on Sat 25/01/2014 04:12:35
Hi Andail,

The main reason for my asking is because normal Display stops (blocks)the SimpleRain I have. I could use a gui disguised as the Display but then I would need to do a Click to clear it and Saybackgound would not look like the Display.

Although this I suppose is acceptable it would be nice to have no block.

cheers


Title: Re: Have Display non-blocking workaround..
Post by: Ghost on Sat 25/01/2014 04:59:27
Quote from: slasher on Sat 25/01/2014 04:12:35
I could use a gui disguised as the Display but then I would need to do a Click to clear it

Display required a click too, so you may win on the deal. You don't need to have an actual close button on the GUI.
Title: Re: Have Display non-blocking workaround..
Post by: Slasher on Sat 25/01/2014 09:52:10
Hi,

QuoteDisplay required a click too
Not if you use:
Code (ags) Select
game.skip_display = 0;

I suppose I could use a gui (non pause game with a label) with a click outside the gui to close it as an alternative.

Food for thought ;)

Cheers