Slowing text...

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
Shellova
Newbie
Posts: 4
Joined: Thu Feb 16, 2006 11:16 am
Location: Indonesia
Contact:

Slowing text...

#1 Post by Shellova »

I got an error message when I tried to "slow down" the text speed. Is there some kind of code I have to put before using the slow down, i mean like the slow_abortable, but I don't know how to use it.

and is it possible to set the speed of the game at the start of new game (new game only) to not in the maximum speed.

thanks for your help, i'm just starting and trying out the function in Renpy, i'm thinking of making a game later.

Oh, btw. Great tools. Good job.
"Asinus asinorum in saecula saeculorum."

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

#2 Post by PyTom »

To set the default speed of text, you need to include in your script code like:

Code: Select all

init:
    python:
        if not persistent.set_text_cps: 
            persistent.set_text_cps = True 
            _preferences.text_cps = 42 
Does this answer your question, or is there something else you want to know?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Shellova
Newbie
Posts: 4
Joined: Thu Feb 16, 2006 11:16 am
Location: Indonesia
Contact:

#3 Post by Shellova »

Yes, it works perfectly. Thanks :)
but it doesn't solve the speed problem; I mean when the speed is not maximum the game returns a traceback like:

AttributeError: 'Text' object has no attribute 'slow_abortable'

do I need to set the slow_abortable, but where and how?
i read the reference manual and it is in "renpy.display_say", but I have no idea where to use this. I tested it out but the game returns a traceback again...

I checked the script for Moonlight, but it doesn't have the renpy.display_say set or anything and the slower text function just fine. Is this a problem of version? Cause I just downloaded the 5.41 version, and if I'm not mistaken you said something about the current version having the speed problem.

thanks before. again.
"Asinus asinorum in saecula saeculorum."

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

#4 Post by PyTom »

Oh, there was a bug in text speed in 5.4.0 that was fixed in 5.4.1.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Shellova
Newbie
Posts: 4
Joined: Thu Feb 16, 2006 11:16 am
Location: Indonesia
Contact:

i see...

#5 Post by Shellova »

ah, i see...
i downloaded the 5.4.0 not 4.1 after all... (I downloaded it on Feb 9)

thanks anyway.
"Asinus asinorum in saecula saeculorum."

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot]