Change menu to a side

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
User avatar
richycapy
Regular
Posts: 56
Joined: Mon May 27, 2019 8:53 pm
Organization: EN Productions
Location: Mexico
Contact:

Change menu to a side

#1 Post by richycapy »

Hi!

I was seen other games and run into Been a DIK, and I like how the menu is in the side instead of in the middle:
Image

Does someone know how to do this??

User avatar
Milkymalk
Miko-Class Veteran
Posts: 753
Joined: Wed Nov 23, 2011 5:30 pm
Completed: Don't Look (AGS game)
Projects: KANPEKI! ★Perfect Play★
Organization: Crappy White Wings
Location: Germany
Contact:

Re: Change menu to a side

#2 Post by Milkymalk »

In your screens.rpy, line 199 onwards, is the choice screen. In line 225 onwards, you see:

Code: Select all

style choice_vbox:
    xalign 0.5
    ypos 270
    yanchor 0.5
xalign is what you need to change to a number of your choice between 0.0 and 1.0, 0.0 being far left and 1.0 being far right.

The alignment of the text inside the buttons is in gui.rpy, line 172.
Crappy White Wings (currently quite inactive)
Working on: KANPEKI!
(On Hold: New Eden, Imperial Sea, Pure Light)

User avatar
richycapy
Regular
Posts: 56
Joined: Mon May 27, 2019 8:53 pm
Organization: EN Productions
Location: Mexico
Contact:

Re: Change menu to a side

#3 Post by richycapy »

Thanks!!! :D
Worked perfectly

Post Reply

Who is online

Users browsing this forum: Bing [Bot]