Question about backgrounds and Choices / Paths
Forum rules
Ren'Py specific questions should be posted in the Ren'Py Questions and Annoucements forum, not here.
Ren'Py specific questions should be posted in the Ren'Py Questions and Annoucements forum, not here.
- mugenjohncel
- Hentai Poofter
- Posts: 2121
- Joined: Sat Feb 04, 2006 11:13 pm
- Organization: Studio Mugenjohncel
- Location: Philippines
- Contact:
Question about backgrounds and Choices / Paths
- CONTENT NO LONGER RELEVANT -
Last edited by mugenjohncel on Wed Jan 26, 2011 1:57 am, edited 1 time in total.
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Question about backgrounds and Choices / Paths
I don't understand what you mean by this. Are you talking about starting the game without having to make the user go through a menu, or something that happens before the menu, or something that happens after the menu?mugenjohncel wrote: Question 1
Let's say I have a BG named BG_1.jpg and BG_2.jpg
I want BG_1.jpg to be displayed for about 4 seconds and then BG_2.jpg then start the game without using animation.
You'll definitely want a pause as part of it, something like:
Code: Select all
scene black
with None
show bg bg_1
with dissolve
$renpy.pause(4)
with None
show bg bg_2
with dissolve
The player was asked a question as to which door shall she opens and then a menu will pop up that will probably look like this
Door No.1
Door No.2
Door No.3
Then chooses Door No.3 and a text will pop up saying "None" then jumps back to the Menu but this time Door No.3 will no longer be accessible in the menu and after choosing all doors a new question will pop up (One Question) and then the story moves forward.
Code: Select all
$ seen_1 = False
$ seen_2 = False
$ seen_3 = False
menu timewaster:
"Door 1" if not seen_1:
$ seen_1 = True
"None"
jump timewaster
"Door 2" if not seen_2:
$ seen_2 = True
"None"
jump timewaster
"Door 3" if not seen_3:
$ seen_3 = True
"None"
jump timewaster
"Secret Door" if seen_1 and seen_2 and seen_3:
"You discover a secret door!"
"And now you go on to the rest of the game."
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
- mugenjohncel
- Hentai Poofter
- Posts: 2121
- Joined: Sat Feb 04, 2006 11:13 pm
- Organization: Studio Mugenjohncel
- Location: Philippines
- Contact:
Thanks!
- CONTENT NO LONGER RELEVANT -
Who is online
Users browsing this forum: No registered users