Overlay rpy

Coding and VN Engine > overlay_rpy

Overlay label overlay: $ game_played = "%s" % (renpy.get_game_runtime) $ ui.imagebutton(Solid((0, 0, 0, 0)), Solid((0, 0, 0, 0)), clicked=ui.jumps("showscreen"), xfill=True, yfill=True) $ ui.image(ui_topborder,                 xpos=0,                  ypos=0                  ) $ ui.image(ui_botborder,                 xpos=0,                  ypos=500                  ) ##Overlay Main $ ui.frame(background=Frame(ui_backwin, 12, 12),xpos=0.5, ypos=0.9, xanchor='center', yanchor='bottom') $ ui.hbox $ ui.imagebutton(ui_save1,                        ui_save2,                         clicked=_intra_jumps('save_menu', 'main_game_transition')) $ ui.imagebutton(ui_load1,                        ui_load2,                         clicked=_intra_jumps('load_menu', 'main_game_transition')) $ ui.imagebutton(ui_opti1,                        ui_opti2,                         clicked=_intra_jumps('newpref_menu','main_game_transition')) $ ui.imagebutton(ui_mainm1,                        ui_mainm2,                         clicked= lambda: renpy.full_restart) $ ui.imagebutton(ui_quitg1,                        ui_quitg2,                         clicked=ui.jumps('_quit_prompt')) $ ui.imagebutton(ui_return1,                        ui_return2,                         clicked=ui.jumps("_return")) $ ui.close $ ui.interact(suppress_overlay=True, mouse='gamemenu') label showscreen: $ ui.imagebutton(Solid((0, 0, 0, 0)), Solid((0, 0, 0, 0)), clicked=ui.jumps("overlay"), xfill=True, yfill=True) $ ui.interact(suppress_overlay=True, suppress_underlay=True, mouse='gamemenu')