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.
-
Jamiyu
- Newbie
- Posts: 3
- Joined: Thu Jun 05, 2014 8:17 pm
-
Contact:
#1
Post
by Jamiyu » Sat Jun 07, 2014 1:43 am
I'm an ultra noob, now I have my stats and they do work. I just don't know how to make a screen so the player can check on their stats with their romance interest and, the skills the player has build up so far.
Also I would like to hind the romantic interest stats until the player has met all of them.
I've found, cookbooks but I really don't understand how to apply it to the game, or even if it's were I should be looking. This was what I found --->
http://www.renpy.org/doc/html/screens.html /
http://www.renpy.org/wiki/renpy/doc/coo ... ion_Screen
I don't know how to make it work.
Any help will be greatly appreciated.
-
LRH
- Regular
- Posts: 42
- Joined: Mon May 19, 2014 10:59 am
-
Contact:
#2
Post
by LRH » Sat Jun 07, 2014 5:17 am
For making screens, you need
http://www.renpy.org/doc/html/screens.html
On hiding the stats until you find everyone, you'll need to set a variable for meeting each character. This should go at the start of your game.
Code: Select all
$ metchar1 = False
$ metchar2 = False
Then, when you meet the character, you set the variable to True.
On your screen, you can use an if statement to determine whether the relevant stats are shown.
Code: Select all
if metchar1 == True:
text "Stat: [variable]"
text "Stat: [anothervariable]"
if metchar2 == True:
text "Stat: [variable2]"
text "Stat: [anothervariable2]"
The variables above are the stats you want to show information on. You'd have to define those too, like for char1 and char2.
Users browsing this forum: Bing [Bot]