Hi, so umm it's me again.
Since we can change text speed through slider, can we get the value of text speed that has changed? Is there any renpy function that return value from a slider? Thank you.
How to get current text speed?
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.
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.
- Kia
- Eileen-Class Veteran
- Posts: 1040
- Joined: Fri Aug 01, 2014 7:49 am
- Deviantart: KiaAzad
- Discord: Kia#6810
- Contact:
Re: How to get current text speed?
it's stored in: preferences.text_cps
Re: How to get current text speed?
Ah so i still can access it. Thank you Kia for your answer!
Re: How to get current text speed?
Btw, in case someone need the code
it shows the value of your text speed beside the Text Speed text
Code: Select all
python:
def get_speed():
return _preferences.text_cps
$ current_speed = get_speed()
label _("Text Speed ([cur_speed)")
Who is online
Users browsing this forum: Ahrefs [Bot]