Спасибо!Добавлено (19.04.2021, 00:37)
---------------------------------------------
Не пойму, в чем ошибка:
Код
screen main_menu():
imagemap:
ground "images/mm/main1.png"
hover "images/mm/main2.png"
alpha True
hotspot (50, 320, 275, 65) action Start()
hotspot (50, 400, 275, 65) action ShowMenu("load")
hotspot (50, 480, 275, 65) action ShowMenu("preferences")
hotspot (50, 560, 275, 65) action ShowMenu("about")
hotspot (50, 640, 275, 65) action ShowMenu("help")
hotspot (50, 720, 275, 65) action Quit(confirm=not main_menu)
python:
renpy.music.queue("audio/mainmusic.ogg",channel = "music", fadein = 1)
## This ensures that any other menu screen is replaced.
tag menu
style_prefix "main_menu"
add gui.main_menu_background
## This empty frame darkens the main menu.
frame:
pass
Выдает вот такую ошибку:
Код
While running game code:
File "game/screens.rpy", line 348, in execute
screen main_menu():
File "game/screens.rpy", line 348, in execute
screen main_menu():
IndexError: list index out of range