Either I missed this in the changelog, or I have a bug report:
Lines in question:
layout.imagemap_main_menu("mainmenuN.jpg", "mainmenuH.jpg", [
(599,355,707,404, "Start Game"),
(557,407,749,457, "Continue Game"),
(550,459,757,509, "Preferences"),
(607,511,699,561, "Quit"),
])
Problematic line: 3 (counting from 1)
Code: Select all
I'm sorry, but an exception occured while executing your Ren'Py
script.
ScriptError: could not find label 'Continue Game'.
While running game code:
- script at line 699 of renpy-6.8.0/common/00library.rpy
-- Full Traceback ------------------------------------------------------------
File "E:\renpy-6.8.0\renpy\bootstrap.py", line 247, in bootstrap
File "E:\renpy-6.8.0\renpy\main.py", line 300, in main
File "E:\renpy-6.8.0\renpy\main.py", line 92, in run
File "E:\renpy-6.8.0\renpy\execution.py", line 201, in run
File "E:\renpy-6.8.0\renpy\script.py", line 463, in lookup
ScriptError: could not find label 'Continue Game'.
While running game code:
Ren'Py Version: Ren'Py 6.8.0f
Tested with both my own project and Hinano's RenAi Blogger, run on Ren'Py 6.6.3 (original, works), Ren'Py 6.7.0 (works), and 6.8.0f (breaks). Manually setting config.main_menu to
Code: Select all
config.main_menu = [
(u"Start Game", "start", "True"),
(u"Continue Game", _intra_jumps("load_screen", "main_game_transition"), "True"),
(u"Preferences", _intra_jumps("preferences_screen", "main_game_transition"), "True"),
(u"Quit", ui.jumps("_quit"), "True")
]
causes it to work again. I assume the u"Continue Game" label changed somewhere between 6.7.0 and 6.8.0f.