Game Development Community

Typewriter style text?

by Andrea Farid Marsili · in Torque Game Builder · 05/16/2011 (12:13 pm) · 4 replies

Someone knows how to perform typewriter style text?

I found this topic:

http://www.garagegames.com/community/forums/viewthread/59342

But I cannot understand how to use the code.
Thank you guys!

#2
05/26/2011 (7:33 am)
What do you mean by typewriter style?

You can use different fonts, just set 'font' field of the textobject to the name of the font you want to use.
#3
05/26/2011 (9:34 am)
Show text like in RPG/Graphic Andventure Game
#4
05/27/2011 (2:30 am)
There is basically two steps Kevin's code performs on that topic you've linked to:

1. Grab a portion of text using getSubString() function.
2. Assign that portion to the .text field of the textObject you have so it gets displayed.
And, in fact, 3. Repeat first two steps with more and more characters displayed each time.