I have two questions actually and I'd like if you guys could answer either one.
The main one and the more important one is that question in the title.
I've got this setup where two to three textbuttons show up and I want the user to have to press one of the textbuttons before they can continue. Problem is, right now they can just ignore the buttons and press somewhere away from the buttons and the script.rpy will just continue past the textbuttons and they'll just stay there while the game continues.
I was thinking something like making a jump command right after the textbuttons to where, if you pressed somewhere other than the textbuttons you would be taken to back to the textbuttons, but I was wondering if there was a more sophisticated way of doing it.
That's the first and most important question. But I figured since I'm here I might as well ask this as well since I'm having trouble.
I have these two or three textbuttons right, they're in an hbox, in fact nvm let me show you
Here's what I have in script.rpy
Code: Select all
i "Hey, sorry I'm late, I had to take Elly to the gym"
window hide
label buttons1:
show screen twochoices("Forgive her", "Don't forgive her", "forgive", "dforgive")
pause
jump buttons1
label forgive:
Code: Select all
screen twochoices(choice1, choice2, label1, label2):
frame:
xpadding 10
ypadding 10
xalign 0.4
yalign 0.9
hbox:
null height 10
textbutton choice1 action (Hide("twochoices"), Jump(label1)):
xpadding 40
textbutton choice2 action (Hide("twochoices"), Jump(label2)):
xpadding 40
Now the issue is that it looks like this
I want there to be a pause between the two buttons (hence the xpadding that didn't work).
Is that feasible?
Thank you