expected label name not found .. but the button finds it?
Posted: Mon Oct 12, 2020 10:44 am
This is the button:
screen devNight():
textbutton _("Dev Night") style "stdButton" xalign 0.5 yalign 0.5 action Jump("toNight")
Works like a charm
Here's a block I jump to as a placeholder, mess around in it, have a button (devMorning) to jump to the next section or want to just return to the start of this one if I don't click it.
label toNight:
scene dream_encounter_01_c01 with dissolve
hide screen devNight
show devNightIntro
$renpy.pause()
scene dream_encounter_01_c02 with dissolve
hide devNightIntro
narrator "Introducing a second layer in the game"
scene dream_encounter_01_c03 with dissolve
narrator "Showing you some renders"
scene dream_encounter_01_c04 with dissolve
show screen devMorning
narrator "But no spoilers"
jump "toNight"
#return
I tried with and without return (after all, I have little idea of what I'm doing, apparently) to no avail.
But I get an 'expected label name not found' while the button finds it. How?
Thanks in advance
(also, I google my ass of thinking somebody else must have encountered this problem without hits. Am I *that* weird?)
screen devNight():
textbutton _("Dev Night") style "stdButton" xalign 0.5 yalign 0.5 action Jump("toNight")
Works like a charm
Here's a block I jump to as a placeholder, mess around in it, have a button (devMorning) to jump to the next section or want to just return to the start of this one if I don't click it.
label toNight:
scene dream_encounter_01_c01 with dissolve
hide screen devNight
show devNightIntro
$renpy.pause()
scene dream_encounter_01_c02 with dissolve
hide devNightIntro
narrator "Introducing a second layer in the game"
scene dream_encounter_01_c03 with dissolve
narrator "Showing you some renders"
scene dream_encounter_01_c04 with dissolve
show screen devMorning
narrator "But no spoilers"
jump "toNight"
#return
I tried with and without return (after all, I have little idea of what I'm doing, apparently) to no avail.
But I get an 'expected label name not found' while the button finds it. How?
Thanks in advance
(also, I google my ass of thinking somebody else must have encountered this problem without hits. Am I *that* weird?)