Greetings!
I didn't find an answer after googling, so maybe I'm doing something wrong.
I'm working on a prototype which will have a lot of NVL text. And after every single block of text there are going to be simple or complex choices to make. Because of that, I would like to give these choices the same Text Speed that influences the core dialogue.
I just don't know how to do it. The core text shows up like I want it to show up (influenced by the Text Speed), but the Choices (used with the basic Choice Menu) are displayed instantly. It creates a clash and a better option would be to set the Text Speed at 100% and leave it at that.
But maybe someone has an idea how to approach this?
Text Speed in choices menu? [SOLVED]
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.
- Aureus
- Veteran
- Posts: 278
- Joined: Sun Aug 06, 2017 4:49 am
- Completed: The Tavern, Tales From Windy Meadow
- Projects: Roadwarden
- Organization: Moral Anxiety Studio
- itch: moral-anxiety
- Location: Breslau, Poland
- Contact:
Text Speed in choices menu? [SOLVED]
Last edited by Aureus on Sat Feb 16, 2019 3:34 am, edited 1 time in total.
Tales From Windy Meadow - slice of life, pixel art Visual Novel set in a fantasy village. now available on Steam.
- xavimat
- Eileen-Class Veteran
- Posts: 1461
- Joined: Sat Feb 25, 2012 8:45 pm
- Completed: Yeshua, Jesus Life, Cops&Robbers
- Projects: Fear&Love
- Organization: Pilgrim Creations
- Github: xavi-mat
- itch: pilgrimcreations
- Location: Spain
- Discord: xavimat
- Contact:
Re: Text Speed in choices menu?
Try adding "text_slow_cps True" in the choice screen:
Code: Select all
screen choice(items):
style_prefix "choice"
vbox:
for i in items:
textbutton i.caption action i.action text_slow_cps True # <- HERE
Comunidad Ren'Py en español: ¡Únete a nuestro Discord!
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)
- Remix
- Eileen-Class Veteran
- Posts: 1628
- Joined: Tue May 30, 2017 6:10 am
- Completed: None... yet (as I'm still looking for an artist)
- Projects: An un-named anime based trainer game
- Contact:
Re: Text Speed in choices menu?
try (in screens.rpy in the screen nvl where it creates a menu):
Code: Select all
textbutton i.caption:
action i.action
style "nvl_button"
slow_cps preferences.text_cps
Frameworks & Scriptlets:
- Speech Bubble dialogue system
- Multiple Notify with ATL and history
- (WIP) Radial Masking - needs updating to use Shader
- 7.4 - Smooth Tinting using ATL and matrixcolor
- Several other repositories there too
- xavimat
- Eileen-Class Veteran
- Posts: 1461
- Joined: Sat Feb 25, 2012 8:45 pm
- Completed: Yeshua, Jesus Life, Cops&Robbers
- Projects: Fear&Love
- Organization: Pilgrim Creations
- Github: xavi-mat
- itch: pilgrimcreations
- Location: Spain
- Discord: xavimat
- Contact:
Re: Text Speed in choices menu?
Inside a textbutton, you probably need text_slow_cps, and not only slow_cps.Remix wrote: ↑Thu Feb 14, 2019 2:29 pm try (in screens.rpy in the screen nvl where it creates a menu):Code: Select all
textbutton i.caption: action i.action style "nvl_button" slow_cps preferences.text_cps
Comunidad Ren'Py en español: ¡Únete a nuestro Discord!
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)
- Aureus
- Veteran
- Posts: 278
- Joined: Sun Aug 06, 2017 4:49 am
- Completed: The Tavern, Tales From Windy Meadow
- Projects: Roadwarden
- Organization: Moral Anxiety Studio
- itch: moral-anxiety
- Location: Breslau, Poland
- Contact:
Re: Text Speed in choices menu?
Hello again!
Changing the screen choice(items) didn't modify the NVL, but modifying the textbutton i.caption, as in
worked perfectly fine! Thank you both for your assistance!
I wonder, however - is there an option to make this "unrolling effect" occur in various parts apart of one another? Currently it occurs simultaneously, so if I have a) the message, b) the choice 1 and c) the choice 2, all 3 these parts show up at the same time. And this is completely fine, I just wonder if there's an easy-to-apply option to make these parts show one after another, so first the message, then the 1st choice, and then the 2nd one.
Once again, thank you for your time and for helping me solve it, I failed to find "text_slow_cps" on my own and I can see that Google also doesn't show that many results for it. : P
Changing the screen choice(items) didn't modify the NVL, but modifying the textbutton i.caption, as in
Code: Select all
textbutton i.caption:
action i.action
style "nvl_button" text_slow_cps True
I wonder, however - is there an option to make this "unrolling effect" occur in various parts apart of one another? Currently it occurs simultaneously, so if I have a) the message, b) the choice 1 and c) the choice 2, all 3 these parts show up at the same time. And this is completely fine, I just wonder if there's an easy-to-apply option to make these parts show one after another, so first the message, then the 1st choice, and then the 2nd one.
Once again, thank you for your time and for helping me solve it, I failed to find "text_slow_cps" on my own and I can see that Google also doesn't show that many results for it. : P
Tales From Windy Meadow - slice of life, pixel art Visual Novel set in a fantasy village. now available on Steam.
Who is online
Users browsing this forum: Google [Bot]