I tried to understand the information from an existing thread http://lemmasoft.renai.us/forums/viewto ... =8&t=23365 but with no success... What am i doing wrong? Besides, i want the movie to loop the whole time and doesn't dissapear when returning to the main menu from ex. 'options menu'.
Here is the sample from my code:
Code: Select all
screen main_menu:
on "show" action Play("movie", "planetg.mpg")
on "hide" action Stop("movie")
on "replaced" action Stop("movie")
# This ensures that any other menu screen is replaced.
tag menu
# The background of the main menu.
window:
style "mm_root"
add Movie(size=(1920, 1080))
# The main menu buttons.
frame:
style_group "mm"
xalign .98
yalign .98
has vbox
textbutton _("Start Game") action Start()
textbutton _("Load Game") action ShowMenu("load")
textbutton _("Preferences") action ShowMenu("preferences")
textbutton _("Help") action Help()
textbutton _("Quit") action Quit(confirm=False)
init -2:
# Make all the main menu buttons be the same size.
style mm_button:
size_group "mm"
Code: Select all
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
File "game/screens.rpy", line 184: Line is indented, but the preceding on statement does not expect a block. Please check this line's indentation.
tag menu
^
Ren'Py Version: Ren'Py 6.17.7.521