With cps, click reveal text dialogue instead of goes to the next?
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.
With cps, click reveal text dialogue instead of goes to the next?
Hi. I changed config.default_text_cps (not very fast but neither slow) because I want a reveal text for my dialogues but I see that when the player clicks, the game pass to next dialogue instead of reveal the actual. Is it possible to prevent that? It's for impatient players or speedreaders that wants to click for reveal showing text.
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3791
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: With cps, click reveal text dialogue instead of goes to the next?
By default, it should simply reveal the entire line of dialogue, not skip to the next (unless you click twice)
Have you done anything fancy or other editing to config options that may cause this unexpected behaviour?
Have you done anything fancy or other editing to config options that may cause this unexpected behaviour?
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Re: With cps, click reveal text dialogue instead of goes to the next?
Yes, thank you to say it because I didn't think that maybe it was my fault
I've this in script.rpy
Code: Select all
init python:
config.keymap["dismiss"] = None
Code: Select all
screen nextclickarea:
imagebutton idle "transparentbox.png" action Return("smth") xpos 34 ypos 848
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3791
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: With cps, click reveal text dialogue instead of goes to the next?
Sorry, I can't see how what you have works, so cannot say.
I can however, see what you're trying to do.
Personally, I'd make a screen and add a 99.9% transparent imagebutton that covers the whole screen and has a cut out section where the text box is. Give the imagebutton an action of 'None' or 'NullAction', remember to set focus_mask True
Clicking anywhere on the99. 9% invisible button will do nothing, while clicking on the text box should work as normal.
I can however, see what you're trying to do.
Personally, I'd make a screen and add a 99.9% transparent imagebutton that covers the whole screen and has a cut out section where the text box is. Give the imagebutton an action of 'None' or 'NullAction', remember to set focus_mask True
Clicking anywhere on the99. 9% invisible button will do nothing, while clicking on the text box should work as normal.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Re: With cps, click reveal text dialogue instead of goes to the next?
Better solution than mine! Thank you!Imperf3kt wrote: ↑Sun Oct 21, 2018 6:33 pm Sorry, I can't see how what you have works, so cannot say.
I can however, see what you're trying to do.
Personally, I'd make a screen and add a 99.9% transparent imagebutton that covers the whole screen and has a cut out section where the text box is. Give the imagebutton an action of 'None' or 'NullAction', remember to set focus_mask True
Clicking anywhere on the99. 9% invisible button will do nothing, while clicking on the text box should work as normal.
Who is online
Users browsing this forum: No registered users