1) How do you move a choice menu.
For example, if I wanted to move something like this;
Code: Select all
menu:
Choice 1
"Words"
Choice 2
Words"
Second, how would I crop an image to fit the screen, or certain space?
Thanks in advance.
Code: Select all
menu:
Choice 1
"Words"
Choice 2
Words"
Like DragoonHP, I don't really know what you're talking about. I did notice your menu code though. Pretty sure it should have colons and quotations, as in:Alex~kun wrote:Just some quick questions;
1) How do you move a choice menu.
For example, if I wanted to move something like this;
To, say, the left hand side, how would I do it, just for one or two menus?Code: Select all
menu: Choice 1 "Words" Choice 2 Words"
Code: Select all
menu:
"Choice 1":
"Words"
"Choice 2":
"Words"Code: Select all
menu:
"Choice 1":
"Words"
"Choice 2":
"Words"
I think it's possible to, instead of customizing that screen, create a very similar, but different type of screen, and call that one when you want the menu to the left, is it not?DragoonHP wrote:You will have to customise choice screen (found in screens.rpy)
But I don't think it is possible to do that just for a few choices... but I might be wrong...
So... basically, it'll probably work if I copy/paste the original choice menu code, rename it, and re-align it to how I want it, then use that for any choices I want in that way?MoPark wrote:I think it's possible to, instead of customizing that screen, create a very similar, but different type of screen, and call that one when you want the menu to the left, is it not?DragoonHP wrote:You will have to customise choice screen (found in screens.rpy)
But I don't think it is possible to do that just for a few choices... but I might be wrong...
I'll test it when I get the chance, and let you know. If not, maybe someone else has an idea.MoPark wrote:I haven't done this before myself, but the idea seems sound enough, seeing as how you want two menus. There likely is a better method, but that was my first thought.
Code: Select all
screen choice: <- This is where it should be originally
window:
style "menu_window"
xalign 0.5
yalign 0.5
vbox:
style "menu"
spacing 2
for caption, action, chosen in items:
if action:
button:
action action
style "menu_choice_button"
text caption style "menu_choice"
else:
text caption style "menu_caption"
init -2 python:
config.narrator_menu = True
style.menu_window.set_parent(style.default)
style.menu_choice.set_parent(style.button_text)
style.menu_choice.clear()
style.menu_choice_button.set_parent(style.button)
style.menu_choice_button.xminimum = int(config.screen_width * 0.75)
style.menu_choice_button.xmaximum = int(config.screen_width * 0.75)
screen choice2: <- This is the new menu, placed to the left.
window:
style "menu_window"
xalign 0.0
yalign 0.0
vbox:
style "menu"
spacing 2
for caption, action, chosen in items:
if action:
button:
action action
style "menu_choice_button"
text caption style "menu_choice"
else:
text caption style "menu_caption"
init -2 python:
config.narrator_menu = True
style.menu_window.set_parent(style.default)
style.menu_choice.set_parent(style.button_text)
style.menu_choice.clear()
style.menu_choice_button.set_parent(style.button)
style.menu_choice_button.xminimum = int(config.screen_width * 0.75)
style.menu_choice_button.xmaximum = int(config.screen_width * 0.75)
It isn't... there can be only one behaviour for menu...MoPark wrote:I think it's possible to, instead of customizing that screen, create a very similar, but different type of screen, and call that one when you want the menu to the left, is it not?DragoonHP wrote:You will have to customise choice screen (found in screens.rpy)
But I don't think it is possible to do that just for a few choices... but I might be wrong...
Users browsing this forum: Bing [Bot]