All i changed about the main menu is the background(.avi), music, and gui buttons of which i deleted the original and replaced it with my own imagemap+hotspots,
code would be this just in case you want to know:
Code: Select all
## Main and Game Menu Screens
################################################################################
## Navigation screen ###########################################################
##
## This screen is included in the main and game menus, and provides navigation
## to other menus, and to start the game.
screen navigation():
imagemap:
idle "main_menu.png"
hover "main_menu_blue.png"
ground "main_menu_grey.png"
hotspot (569,934,126,65) action ShowMenu('start')
hotspot (719,934,109,65) action ShowMenu('load')
hotspot (855,934,172,89) action ShowMenu('preferences')
hotspot (1050,934,171,76) action ShowMenu('about')
hotspot (1238,934,118,73) action Quit('quit')
style navigation_button is gui_button
style navigation_button_text is gui_button_text
style navigation_button:
size_group "navigation"
properties gui.button_properties("navigation_button")
style navigation_button_text:
properties gui.button_text_properties("navigation_button")
Code: Select all
## Main Menu screen ############################################################
##
## Used to display the main menu when Ren'Py starts.
##
## https://www.renpy.org/doc/html/screen_special.html#main-menu
screen main_menu():
## This ensures that any other menu screen is replaced.
tag menu
add Movie(size=(1920, 1080))
on "show" action Play("movie", "movies/mainbg.avi", loop=True)
on "hide" action Stop("movie")
on "replace" action Play("movie", "movies/mainbg.avi", loop=True)
on "replaced" action Stop("movie")
style_prefix "main_menu"
## This empty frame darkens the main menu.
frame:
pass
## The use statement includes another screen inside this one. The actual
## contents of the main menu are in the navigation screen.
use navigation
if gui.show_name:
vbox:
text "[config.name!t]":
style "main_menu_title"
text "[config.version]":
style "main_menu_version"
style main_menu_frame is empty
style main_menu_vbox is vbox
style main_menu_text is gui_text
style main_menu_title is main_menu_text
style main_menu_version is main_menu_text
style main_menu_frame:
xsize 420
yfill True
background "gui/overlay/main_menu.png"
style main_menu_vbox:
xalign 1.0
xoffset -30
xmaximum 1200
yalign 1.0
yoffset -30
style main_menu_text:
properties gui.text_properties("main_menu", accent=True)
style main_menu_title:
properties gui.text_properties("title")
style main_menu_version:
properties gui.text_properties("version")
pretty standard and it worked perfectly until i started editing the .script file by writing that simple scene^ before i did that it only played once and i havent touched the main menu coding since before i ever even edited the .script, worked fine up till then.
New project with same code = same results sadly.