You don't have to do it through points, you can do some true/false as well.
Remember when writing your code: "=" means assigning value, "==" mean checking value.
Also remember you need to have ":" after your choices in your menus...and the indentation in your code wasn't right. You might want to review the Renpy quick start again for some of the basics.
All of that said, this is how to do what you want:
Code: Select all
define ljw = Character('Leather Jacket Woman', color="#c8ffc8")
define cw = Character('Cardigan Woman', color="#c8ffc8")
define xw = Character('X-Files Woman', color="#c8ffc8")
# The game starts here.
label start:
$ boy = False
menu:
"What gender are you?"
"Boy":
$ boy = True
jump scene1
"Girl":
$ boy = False
jump scene1
"Other":
$ boy = True
jump scene1
label scene1:
"You were supposed to meet your blind date at the cafe. You were told that she would be wearing a white rose behind her ear. But there are three women with white roses! One is wearing a leather jacket with short spiky hair, one is wearing a cardigan sweater with her hair in a pony tail, and one is wearing an X-Files T-shirt with a shaggy hair cut."
menu date_choice:
"Which woman do you approach?"
"Leather Jacket Woman":
if boy:
ljw "Hello! You must be my date!"
jump leather_date
else:
ljw "Oh, I'm sorry, but I'm not into women."
jump date_choice
"Cardigan Woman":
if boy:
cw "Oh, I'm sorry, but I'm only into women."
jump date_choice
else:
cw "Hello! You must be my date!"
jump cardigan_date
"X-Files Woman":
xw "Hello! You must be my date!"
jump xfiles_date
"Date No One":
"You find fulfillment as a single person with just your friends and family!"
jump end
label leather_date:
"You ride on motorcycles together. What a nice time!"
jump end
label cardigan_date:
"You debate philosophy together. What a nice time!"
jump end
label xfiles_date:
"You marathon a bunch of sci-fi TV and geek out together. What a nice time!"
jump end
label end:
"You live long and prosper!"
return
But, since you want to be non-binary about how you see gender, I'd to the game like this:
Code: Select all
# Declare characters used by this game.
define e = Character('Eileen', color="#c8ffc8")
define ljw = Character('Leather Jacket Woman', color="#c8ffc8")
define cw = Character('Cardigan Woman', color="#c8ffc8")
define xw = Character('X-Files Woman', color="#c8ffc8")
# The game starts here.
label start:
$ gender = "girl"
menu:
"What gender are you?"
"Boy":
$ gender = "boy"
jump scene1
"Girl":
$ gender = "girl"
jump scene1
"Other":
$ gender = "other"
jump scene21
label scene1:
"You were supposed to meet your blind date at the cafe. You were told that she would be wearing a white rose behind her ear. But there are three women with white roses! One is wearing a leather jacket with short spiky hair, one is wearing a cardigan sweater with her hair in a pony tail, and one is wearing an X-Files T-shirt with a shaggy hair cut."
menu date_choice:
"Which woman do you approach?"
"Leather Jacket Woman":
if gender == "boy":
ljw "Hello! You must be my date!"
jump leather_date
else:
ljw "Oh, I'm sorry, but I'm only into guys."
jump date_choice
"Cardigan Woman":
if gender == "girl":
cw "Hello! You must be my date!"
jump cardigan_date
else:
cw "Oh, I'm sorry, but I'm only into gals."
jump date_choice
"X-Files Woman":
if gender == "other":
xw "Hello! You must be my date!"
jump xfiles_date
else:
xw "Oh, I'm sorry, but I'm only into non-binary people."
jump date_choice
"Date No One":
"You find fulfillment as a single person with just your friends and family!"
jump end
label leather_date:
"You ride on motorcycles together. What a nice time!"
jump end
label cardigan_date:
"You debate philosophy together. What a nice time!"
jump end
label xfiles_date:
"You marathon a bunch of sci-fi TV and geek out together. What a nice time!"
jump end
label end:
"You live long and prosper!"
return
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?)
Check out My Clock Cookbook Recipe:
http://lemmasoft.renai.us/forums/viewto ... 51&t=21978