Horizontal Main Menu Buttons?

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Post Reply
Message
Author
cyandlne
Newbie
Posts: 4
Joined: Wed Dec 20, 2017 12:20 pm
Tumblr: cyandlne
Contact:

Horizontal Main Menu Buttons?

#1 Post by cyandlne »

I'm really sorry if this has been answered or I'm just not looking in the right places, but everything I've found is too outdated. Bascially, all I want to do is lay the main menu buttons out horizontally, instead of how they regularly stack vertically. I feel so dumb for not being able to figure this out. Any help is appreciated!

User avatar
Ocelot
Lemma-Class Veteran
Posts: 2398
Joined: Tue Aug 23, 2016 10:35 am
Github: MiiNiPaa
Discord: MiiNiPaa#4384
Contact:

Re: Horizontal Main Menu Buttons?

#2 Post by Ocelot »

Open sceens.rpy, find screen navigation, replace first vbox with hbox

BAM! Instant horisontal buttons.

Now you just need to figure out how to make them go, where you actually want them. Check out screen language documentation: https://www.renpy.org/doc/html/screens.html
And learn about styles: https://www.renpy.org/doc/html/style.html
< < insert Rick Cook quote here > >

cyandlne
Newbie
Posts: 4
Joined: Wed Dec 20, 2017 12:20 pm
Tumblr: cyandlne
Contact:

Re: Horizontal Main Menu Buttons?

#3 Post by cyandlne »

Thanks! I'm almost where I need it to be. The spacing is not even between options (I can't add an image at the moment, but preferences is encroaching on help while the rest are nicely spaced), and I feel like I'm pulling my hair out trying to solve it. Any suggestions?

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Alex, Google [Bot], Shie