I see this choice style in the game name "I love you" make by Tyrano, and wonder if how to did it with Renpy...
How to make choice box shorter each choice?
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.
Re: How to make choice box shorter each choice?
You can modify the choice screen, like
so each choice will be 50 pxls shorter than previous.
Code: Select all
screen choice(items):
style_prefix "choice"
vbox:
for ind, i in enumerate(items):
textbutton i.caption action i.action xsize (790 - 50 * ind) xalign 1.0
Code: Select all
# The game starts here.
label start:
"..."
menu:
"Buy matcha pudding":
pass
"Buy yakisoba bread":
pass
"Buy jumbo cup romen":
pass
"Go home instead":
pass
"?!"
Who is online
Users browsing this forum: No registered users