How to Make My Text Running (Letter by Letter)?

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
cathsplat
Regular
Posts: 54
Joined: Sun Apr 21, 2013 9:33 am
Projects: Sleepless
Organization: Springchild Studio
Location: Indonesia
Contact:

How to Make My Text Running (Letter by Letter)?

#1 Post by cathsplat »

Hi! So I've been studying Renpy for my first ever project now, and I can't figure out how to make my text/dialog running. I can break the sentences with {w} or {p} code, but I want it to make it appear letter by letter, like Steins Gate, or most of the VNs I've played before. I've searched for the code on the renpy site as well, but still nothing. Is there a code I can download or did I miss something on renpy's official site? Thanks before, guys~XD

User avatar
Googaboga
Eileen-Class Veteran
Posts: 1395
Joined: Wed Dec 12, 2012 1:37 pm
Completed: https://gbpatch.itch.io/
Projects: Floret Bond, XOXO Blood Droplets, Our Life
Organization: GB Patch Games
Tumblr: gb-patch
itch: gbpatch
Contact:

Re: How to Make My Text Running (Letter by Letter)?

#2 Post by Googaboga »

Okay so open up Ren'Py and then open the options.rpy for your game. In there look for this:

Code: Select all

    ## The default text speed in characters per second. 0 is infinite.

    config.default_text_cps = 0
cps stands for Characters ("characters" means letters, numbers, whatever else you use in your text) Per Second. If it is set to 0 it means the characters come all at once in one big block. So just change the 0 to a different number. Then that many characters will appear on screen per second. You'll probably want to make the number pretty high so the text doesn't come by super slowly.
In-Progress:
Floret Bond, XOXO Blood Droplets, Our Life
Released:
A Foretold Affair, My Magical Divorce Bureau, XOXO Droplets, Lake of Voices

User avatar
cathsplat
Regular
Posts: 54
Joined: Sun Apr 21, 2013 9:33 am
Projects: Sleepless
Organization: Springchild Studio
Location: Indonesia
Contact:

Re: How to Make My Text Running (Letter by Letter)?

#3 Post by cathsplat »

Whoaa I've seen that one in renpy and gave it a try, but nothing happened XD
Wait, let me give it another try~^^
Thanks so much for the help!

User avatar
Googaboga
Eileen-Class Veteran
Posts: 1395
Joined: Wed Dec 12, 2012 1:37 pm
Completed: https://gbpatch.itch.io/
Projects: Floret Bond, XOXO Blood Droplets, Our Life
Organization: GB Patch Games
Tumblr: gb-patch
itch: gbpatch
Contact:

Re: How to Make My Text Running (Letter by Letter)?

#4 Post by Googaboga »

No problem :>. Let me know if it doesn't work.
In-Progress:
Floret Bond, XOXO Blood Droplets, Our Life
Released:
A Foretold Affair, My Magical Divorce Bureau, XOXO Droplets, Lake of Voices

User avatar
cathsplat
Regular
Posts: 54
Joined: Sun Apr 21, 2013 9:33 am
Projects: Sleepless
Organization: Springchild Studio
Location: Indonesia
Contact:

Re: How to Make My Text Running (Letter by Letter)?

#5 Post by cathsplat »

Just gave it a try and all those words still came in once. I inserted the number 20, and then changed it to 200, and even randomly typed 1568 just to see if it reacted. Still couldn't make my text run :\

User avatar
Googaboga
Eileen-Class Veteran
Posts: 1395
Joined: Wed Dec 12, 2012 1:37 pm
Completed: https://gbpatch.itch.io/
Projects: Floret Bond, XOXO Blood Droplets, Our Life
Organization: GB Patch Games
Tumblr: gb-patch
itch: gbpatch
Contact:

Re: How to Make My Text Running (Letter by Letter)?

#6 Post by Googaboga »

Oh right I think you need to put .0 at the end. So for example "99.0" instead of simply "99".
In-Progress:
Floret Bond, XOXO Blood Droplets, Our Life
Released:
A Foretold Affair, My Magical Divorce Bureau, XOXO Droplets, Lake of Voices

User avatar
cathsplat
Regular
Posts: 54
Joined: Sun Apr 21, 2013 9:33 am
Projects: Sleepless
Organization: Springchild Studio
Location: Indonesia
Contact:

Re: How to Make My Text Running (Letter by Letter)?

#7 Post by cathsplat »

Okay, just tried it again (with .0) on my game, still didn't work T^T~ I even tried to edit 'The Question' (that game by Renpy) and it showed no difference. Thanks for the help, again, sorry for the troubles :oops:

Here's the screenshot of the code:
Image

User avatar
Googaboga
Eileen-Class Veteran
Posts: 1395
Joined: Wed Dec 12, 2012 1:37 pm
Completed: https://gbpatch.itch.io/
Projects: Floret Bond, XOXO Blood Droplets, Our Life
Organization: GB Patch Games
Tumblr: gb-patch
itch: gbpatch
Contact:

Re: How to Make My Text Running (Letter by Letter)?

#8 Post by Googaboga »

Hit the "Delete Persistence" Button under Navigate Script on the main Ren'Py screen. That ought to do it.

And it's alright, you don't need to apologize. I am the one who keeps forgetting the steps and having to add more to the explanation XD.
In-Progress:
Floret Bond, XOXO Blood Droplets, Our Life
Released:
A Foretold Affair, My Magical Divorce Bureau, XOXO Droplets, Lake of Voices

User avatar
cathsplat
Regular
Posts: 54
Joined: Sun Apr 21, 2013 9:33 am
Projects: Sleepless
Organization: Springchild Studio
Location: Indonesia
Contact:

Re: How to Make My Text Running (Letter by Letter)?

#9 Post by cathsplat »

WOW IT WORKS!!
Can't stop clicking my text now *excited* XDDDD
Thankyou! Thanks so much! :lol: :lol: :lol: :lol: :lol: :lol:
Now I can continue on the project :)

User avatar
Googaboga
Eileen-Class Veteran
Posts: 1395
Joined: Wed Dec 12, 2012 1:37 pm
Completed: https://gbpatch.itch.io/
Projects: Floret Bond, XOXO Blood Droplets, Our Life
Organization: GB Patch Games
Tumblr: gb-patch
itch: gbpatch
Contact:

Re: How to Make My Text Running (Letter by Letter)?

#10 Post by Googaboga »

Hooray :mrgreen:.

Sorry I forgot all those extra steps. I remembered it being so simple I completely forgot you had to do those other few things. Still I'm glad it all worked out in the end.

Good luck with your project ^^.
In-Progress:
Floret Bond, XOXO Blood Droplets, Our Life
Released:
A Foretold Affair, My Magical Divorce Bureau, XOXO Droplets, Lake of Voices

User avatar
cathsplat
Regular
Posts: 54
Joined: Sun Apr 21, 2013 9:33 am
Projects: Sleepless
Organization: Springchild Studio
Location: Indonesia
Contact:

Re: How to Make My Text Running (Letter by Letter)?

#11 Post by cathsplat »

Thanks, thanks! I'll let you know when the project's done~^^

Once again thankyou very much dear sir/miss :D

User avatar
Googaboga
Eileen-Class Veteran
Posts: 1395
Joined: Wed Dec 12, 2012 1:37 pm
Completed: https://gbpatch.itch.io/
Projects: Floret Bond, XOXO Blood Droplets, Our Life
Organization: GB Patch Games
Tumblr: gb-patch
itch: gbpatch
Contact:

Re: How to Make My Text Running (Letter by Letter)?

#12 Post by Googaboga »

That's great. I look forward to seeing what you make :].
In-Progress:
Floret Bond, XOXO Blood Droplets, Our Life
Released:
A Foretold Affair, My Magical Divorce Bureau, XOXO Droplets, Lake of Voices

Post Reply

Who is online

Users browsing this forum: achiuachoo, Ahrefs [Bot]