I made my main menu customization with the Main Menu Generator, and my code looks like this:
Code: Select all
label main_menu:
$ ui.add(renpy.Keymap(toggle_fullscreen = renpy.toggle_fullscreen))
$ ui.window(style='mm_root', background='menu.jpg')
$ ui.imagebutton('start.jpg', 'starth.jpg',clicked=ui.jumpsoutofcontext('start'),xanchor=.5, yanchor=.5, xpos=341,ypos=257,xminimum=155,yminimum=10,hover_sound='None', activate_sound='click.wav ')
$ ui.imagebutton('continue.jpg','continueh.jpg',clicked=_intra_jumps('load_screen', 'main_game_transition'), xpos=341,ypos=289,xminimum=155,yminimum=10,hover_sound='None', activate_sound='click.wav',xanchor=.5, yanchor=.5 )
$ ui.imagebutton('preferences.jpg','preferencesh.jpg',clicked=_intra_jumps('preferences_screen', 'main_game_transition'), xpos=342,ypos=320,xminimum=155,yminimum=10,hover_sound='None', activate_sound='click.wav',xanchor=.5, yanchor=.5 )
$ ui.imagebutton('quit.jpg','quith.jpg',clicked=ui.jumps('_quit'), xpos=341,ypos=385,xminimum=155,yminimum=10,hover_sound='None', activate_sound='click.wav',xanchor=.5, yanchor=.5 )
$ renpy.music.play('menu.wav', fadein=2)
$ ui.interact(suppress_overlay=True, suppress_underlay=True, mouse='mainmenu')
Code: Select all
init:
image snowblossom = SnowBlossom("blossom.png")
label main_menu:
show snowblossom
Code: Select all
mm_root=Fixed(
Image("menu.jpg"),
SnowBlossom("blossom.png", count=10, xspeed=(10, 30), yspeed=(50, 70), start=7)),
I really want to know what's going on, as I want to use my game menus, my main menu and also want to add snowblossom to the latter.
It sounds really confusing, I'm sorry if it's hard to understand. And I'm also sorry if I'm missing something terribly stupid (which I probably am), but those details are really getting to my nerves and I don't know who else to turn to.
Thank you, and please bear with me ~