In order to access each bonus scene from the Dreams screen, I use "call" to move to the corresponding label. From what I've read, simply adding "return" to the end of the scene should take me back to the Dreams screen. But instead, "return" takes me to the "Start" label for the game.
I've also tried, in lieu of "return," using "show screen dreams." This does show the Dreams screen, but it also shows the text from the next bonus scene, and then clicking through takes the player again to the Start label. Here's my code for the Dreams screen:
Code: Select all
screen dreams:
tag menu
add gui.game_menu_background
hbox:
xalign 0.5
yalign 0.5
spacing 30
grid 3 3:
if persistent.unlock_1:
imagebutton auto "unlocked1_%s" action Call("bonus_scene_1")
else:
image "lock1"
pass
if persistent.unlock_2:
imagebutton auto "unlocked2_%s" action Call("bonus_scene_2")
else:
image "lock2"
pass
if persistent.unlock_3:
imagebutton auto "unlocked3_%s" action Call("bonus_scene_3")
else:
image "lock3"
pass
if persistent.unlock_4:
imagebutton auto "unlocked4_%s" action Call("bonus_scene_4")
else:
image "lock4"
pass
if persistent.unlock_5:
imagebutton auto "unlocked5_%s" action Call("bonus_scene_5")
else:
image "lock5"
pass
if persistent.unlock_6:
imagebutton auto "unlocked6_%s" action Call("bonus_scene61")
else:
image "lock6"
pass
if persistent.unlock_7:
imagebutton auto "unlocked7_%s" action Call("bonus_scene_7")
else:
image "lock7"
pass
if persistent.unlock_8:
imagebutton auto "unlocked8_%s" action Call("bonus_scene_8")
else:
image "lock8"
pass
if persistent.unlock_9:
imagebutton auto "unlocked9_%s" action Call("bonus_scene_9")
else:
image "lock9"
pass
spacing 15
textbutton "Return" action Return()
Code: Select all
label bonus_scene_1:
xx "This is the beginning of the bonus scene."
xx "This is the end of the bonus scene."
$ renpy.pause()
scene black
return
label bonus_scene_2:
xx "testing"
return
label bonus_scene_3:
xx "testing"
return
label bonus_scene_4:
xx "testing"
return
label bonus_scene_5:
xx "testing"
return
label bonus_scene_6:
xx "testing"
return
label bonus_scene_7:
xx "testing"
return
label bonus_scene_8:
xx "testing"
return