Exception: Screen is not known!

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
Post Reply
Message
Author
User avatar
magdalene
Newbie
Posts: 8
Joined: Sun Jun 06, 2021 9:50 am
Contact:

Exception: Screen is not known!

#1 Post 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"

User avatar
Alex
Lemma-Class Veteran
Posts: 3094
Joined: Fri Dec 11, 2009 5:25 pm
Contact:

Re: Exception: Screen is not known!

#2 Post 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

User avatar
magdalene
Newbie
Posts: 8
Joined: Sun Jun 06, 2021 9:50 am
Contact:

Re: Exception: Screen is not known!

#3 Post 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 :-)

Post Reply

Who is online

Users browsing this forum: No registered users