Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers AppGameKit Corner / Display Text One Character At A Time Like It's Being Typed?

Author
Message
JeZxLee
7
Years of Service
User Offline
Joined: 15th Mar 2017
Location: Long Island, New York, United States, Earth
Posted: 12th Jan 2018 22:50
Hi,

Say I have a string:
----------------------------------------------------------------
global ActOneBoyText as string
ActOneBoyText = "Boy: Hi...Wanna hang out?"
----------------------------------------------------------------

How can I display the string onto the screen one character at a time until it's fully displayed?
(almost like the text is being typed)

Let me know, thanks!
JeZxLee
16BitSoft
Video Game Design Studio
http://www.16BitSoft.com
Open-Source AppGameKit Project!
puzzler2018
User Banned
Posted: 13th Jan 2018 10:28 Edited at: 13th Jan 2018 10:36
Hope this helps



D
puzzler2018
User Banned
Posted: 13th Jan 2018 10:49 Edited at: 13th Jan 2018 10:53
One step further



lol
IronManhood
9
Years of Service
User Offline
Joined: 6th Feb 2015
Location: US
Posted: 14th Jan 2018 17:32 Edited at: 14th Jan 2018 17:34
You can actually loop through a text and set the alpha of individual characters in said text. Actually, you could probably accomplish this with tweening.

Login to post a reply

Server time is: 2024-11-23 00:59:38
Your offset time is: 2024-11-23 00:59:38