Page 1 of 1

Exception: Screen is not known!

Posted: Sun Jun 06, 2021 10:01 am
by magdalene
Hey everybody!
This is my first post.
Please, I would like to make a question that is puzzling me for more than two days now (and is the reason that I subscribed to this forum :-) )
I am starting a demo game, following the exact steps from a tutorial. I created my first scene and though in the tutorial in the video works fine, on my side I get the error:
Exception: scene gotoLivingRoomArrow is not known.

I am embedding below my code in case someone understands what's wrong with it!

Love ya!

script.rpy
________________

image kitchen = "kitchen.jpg"
image livingroom = "livingroom.jpg"



define m = Character("Mike", color="#6b34eb")


label start:


scene kitchen


"Good morning."

"This is the kitchen."

show screen gotoLivingRoomArrow

$ renpy.pause(hard=True)

label LivingRoom:

scene livingroom



screens.rpy
_____________________

screen gotoLivingRoomArrow():
imagebutton:
idle "arrow_right.png"

Re: Exception: Screen is not known!

Posted: Sun Jun 06, 2021 10:59 am
by Alex
magdalene wrote:
Sun Jun 06, 2021 10:01 am
...Exception: scene gotoLivingRoomArrow is not known. ...
Check if you've mistyped it like

Code: Select all

show scene gotoLivingRoomArrow

Re: Exception: Screen is not known!

Posted: Sun Jun 06, 2021 11:15 am
by magdalene
Sorry,
I have just found it from the people on discord.
I have forgotten to save(!) my scene!
Noob alert!
Thank you for replying :-)