Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: BerserkerTails on Sat 15/11/2003 19:01:34

Title: Slowing down the speed of dialog
Post by: BerserkerTails on Sat 15/11/2003 19:01:34
In the opening of my game, there's a scene in which alot of dialog is printed. Unfortunatley, the speed might be too fast for some readers. Is there anyway I could slow down the rate at which the text is displayed?

Thanks in advance!
Title: Re:Slowing down the speed of dialog
Post by: scotch on Sat 15/11/2003 20:08:17
You can set the text speed by setting game.text_speed, the default is 15, higher means speech stays longer.

So for slow text you might put

game.text_speed = 25;
Title: Re: Slowing down the speed of dialog
Post by: Etcher Squared Games on Sun 15/08/2004 21:24:29
is there a way to make it where the next line only comes on like a mouse click, and not to automatically switch after so much time?
Title: Re: Slowing down the speed of dialog
Post by: CodeJunkie on Sun 15/08/2004 22:37:12
esg - you could try making an object with the image as the text pasted onto it.  Image should probably be full screen size, but as it's only about 4 colours it won't be too big.  Say the text was object 0, you could make it turn on object 0 when necessary, and the finish the script there.  In the interactions for object 0 you could make 'Any click on object' remove it and then either run a new script or cycle to another object with more text on.
Alternatively you could use WaitMouseKey, and set the timer to a period long enough for anybody to read the text.
It's a bit inefficient, but it should work.  You should probably try a different way if you have lots of text though.
Title: Re: Slowing down the speed of dialog
Post by: TheJBurger on Sun 15/08/2004 22:59:01
You could also just change the options of the Speech in the Game options so that the game speech won't advance until a key is pressed, or the mouse is clicked.