Unfortunately Ren'py's been complaining about it, so could I have some help? ono
The Code:
Code: Select all
# Main Menu
#
# Screen that's used to display the main menu, when Ren'Py first starts
# http://www.renpy.org/doc/html/screen_special.html#main-menu
screen main_menu:
transform mainmenu1:
alpha 0.1
linear 1.0 alpha 1.0
transform mainmenu2:
alpha 0.1
1.0
linear 1.0 alpha 1.0
transform mainmenu3:
alpha 0.1
2.0
linear 1.0 alpha 1.0
transform mainmenu4:
alpha 0.1
2.0
linear 1.0 alpha 1.0
screen main_menu:
add "into1.png" at mainmenu1
add "into2.png" at mainmenu2
add "into4.png" at mainmenu3
imagemap at mainmenu4:
ground "imagemenuhit.png"
hover "imagemenuhover.png"
idle "imagemenuidle.png"
selected_idle "imagemenuhit.png"
selected_hover "imagemenuhit.png"
hotspot (0,98,284,70) action Start()
hotspot (0,182,312,65) action ShowMenu("load")
hotspot (0,263,339,68) action ShowMenu("preferences")
hotspot (0,344,366,66) action Start()
hotspot (607,460,192,50) action Help()
hotspot (578,524,221,51) action Quit(confirm=True)
init -2 python:
# 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 173: u'mainmenu1' is not a keyword argument or valid child for the transform statement.
transform mainmenu1:
^
Ren'Py Version: Ren'Py 6.15.2.281
