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.
- Posts: 27
- Joined: Tue Sep 13, 2016 10:01 pm
- Projects: Undertale: Kissy Cutie
- Tumblr: roseradetea
- itch: roseradetea
Let's say I have this
And I want it to look something like this
- Posts: 12
- Joined: Sat Jan 10, 2015 10:50 am
- Projects: unnamed bxb game with dinosaurs!
- Tumblr: shin-e-d
box_wrap and ymaximum into the choice menu in screens.rpy. Like this...
Choice menu with columns example:
Code: Select all
screen choice(items): style_prefix "choice" vbox: ## wrap around into columns or rows depending on if it's in vbox or hbox. box_wrap True ## ymaximum is used for vertical box wrap. ## It includes the size of your button + spacing. ## To make things easier I just put the gui variables in. ## it normally looks something like this: ymaximum 100 ## the *number at the end changes how many buttons are in the column. ## if nonetype error make sure the gui.choice variables are defined. ymaximum (gui.choice_button_height + gui.choice_spacing) *3 for i in items: textbutton i.caption action i.action ## This overwrites the variables in gui.rpy when put in screens.rpy define gui.choice_button_width = 350 define gui.choice_button_height = 50 define gui.choice_button_text_xalign = 0.0 define gui.choice_spacing = 0