Slowing down the speed of dialog

Started by BerserkerTails, Sat 15/11/2003 19:01:34

Previous topic - Next topic

BerserkerTails

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!
I make music.

scotch

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;

Etcher Squared Games

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?
website: http://www.etcher2games.com/
email: etcher2games@yahoo.com
forum: http://www.etcher2games.com/forums

Anyone want to make my website for free?

CodeJunkie

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.

TheJBurger

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.

SMF spam blocked by CleanTalk