Moving Menu Position

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
Rosstin
Veteran
Posts: 368
Joined: Mon Jan 31, 2011 5:43 pm
Completed: Rex Rocket, Kitty Love, King's Ascent
Projects: Road Redemption, Queen At Arms
Organization: Aqualuft Games
Contact:

Moving Menu Position

#1 Post by Rosstin » Sat Jan 30, 2016 5:23 pm

I have done this before, but I cannot find the documentation currently for whatever reason.

I'm at GGJ and we're developing a game where I want the menu to be in a different position than is typical. I've forgotten how to modify that-- for instance, place the menu somewhat above its normal position.

Additionally-- later I'd like to swap the position of the menu and the textbox that displays with the menu. How can this be done?
Image

User avatar
Rosstin
Veteran
Posts: 368
Joined: Mon Jan 31, 2011 5:43 pm
Completed: Rex Rocket, Kitty Love, King's Ascent
Projects: Road Redemption, Queen At Arms
Organization: Aqualuft Games
Contact:

Re: Moving Menu Position

#2 Post by Rosstin » Sat Jan 30, 2016 7:45 pm

Alright, in screens.rpy:


Code: Select all

screen choice:
    window: 
        style "menu_window"        
        xalign 0.5
        yalign 0.05
change yalign to whatever decimal between 0.0 and 1.0
Image

Post Reply

Who is online

Users browsing this forum: enaielei