My main menu is a video with imagemaps/hotspots on top of it. It works fine, but if i enter on any menu (Preferences, Load) and use the fuction Return, the video on the background dissapear.
But if i return to the main menu through the game itself, its fine. Only when i use the Return it breaks.
My MainMenu code, on screens.rpy
Code: Select all
## Used to display the main menu when Ren'Py starts.
##
## http://www.renpy.org/doc/html/screen_special.html#main-menu
screen main_menu():
add Movie(size=(1280, 720))
on "show" action Play("movie", "gui/Title.avi", loop=True)
on "hide" action Stop("movie")
on "replaced" action Stop("movie")
# This ensures that any other menu screen is replaced.
tag menu
add Movie(size=(1280, 720))
imagemap:
ground 'gui/idle2.png'
idle 'gui/idle2.png'
hover 'gui/hover2.png'
alpha True
hotspot(928,406,320,60) action Start()
hotspot(900,475,389,60) action ShowMenu("load")
hotspot(950,550,260,62) action ShowMenu("preferences")
hotspot(910,616,325,70) action Quit(confirm=False)