Help with fake movement in ren'py

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
WaluigiBestGirl
Newbie
Posts: 4
Joined: Mon Oct 29, 2018 3:35 pm
Projects: Walouise
Contact:

Help with fake movement in ren'py

#1 Post by WaluigiBestGirl »

Hello, I am trying to make a dating sim. Right now I'm trying to make it so you can move around a house but its buggy!

Everytime you enter a room I made it so it will show the background but as soon as it jumps back to the label place_select it hides everything!
label place_select:
show bg guestroom if guestroom == True #this was an attempt to fix it
menu:
p "Where to now??"

"Hallway" if guestroom:

show bg hallway
with fade

hide bg guestroom

$ guestroom = False

$ hallway = True

jump place_select

"To bed" if guestroom:

p "Ya know? its been a long day, Ill go take a nap."

window hide

show black
with fade

jump dinner

"Downstairs" if hallway:

show bg downstairs
with fade

hide bg hallway

$ hallway = False

$ downstairs = True

jump place_select

"Upstairs" if downstairs:

$ downstairs = False

$ hallway = True

show bg hallway
with fade

hide bg downstairs

jump place_select

"Guestroom" if hallway:
$ hallway = False

$ guestroom = True

show bg guestroom
with fade

hide bg hallway

jump place_select


This is the code, can anyone help me?

Post Reply

Who is online

Users browsing this forum: Bing [Bot]