Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hi there ! I can be of help depending of what you’re trying to achieve in your game. Do you want to do something similar to the in dept pronouns system made by fenik ( this one ) or something more basic like letting player choose between she / he / them to then have variation later in the storie ? Else if it can be of any help there is these two system exemple available to use on itch, this one and this one

I wanted to do something similar to the first one you talked about, but I didn't understood how </3

I saw the others two but I didn't understood either

The first one is way more complex so I can’t help you if it’s that you’re trying to achieve ( re reading the notice and copy pasting in your project to figure it out is an option )

If you’re okay settling for a simpler code then I can share you the one I used in my game as exemple. Copy paste the same code into your game to try and then adapt it for your storie (I’ll add it in a second reply )

I'm totally okay with it, that would be nice!! Tysm for your help :')

# Start game here.
label start:
    scene black

    # jump temp #Uncomment to jump to the temp label for testing purposes. (temp.rpy)
    jump mc_customization


###########################
# Choose name for MC
label mc_customization:
    "Welcome to the start of this wholesome and adorable romance game !"
    "To start your whimsical adventure in the enchanted world of love, I will need some information on the character you'll be playing."

label mc_customization2:
    # Allow certain characters + name length limit.
    $ name = renpy.input("What name will you give your character ?", allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZéèëç-", length=20)

    # remove spaces, replace capital letters, etc.
    $ name = name.strip()
    $ name = name.replace(" ", "")
    $ name = name.lower()
    $ name = name.title()

    if not name:
        "Please enter a name silly !"
        jump mc_customization2

    elif name == "Erinna" or name == "Erina":
        achieve taken
        voice erinna_v1
        "This name is taken, please choose a different name."
        jump mc_customization2

    elif name == "Leila":
        achieve taken
        voice taken_leila
        "This name is taken."
        jump mc_customization2

    elif name == "Aissata" or name == "Aisata":
        achieve taken
        voice taken_aissata
        "This name is taken. Please choose another name !"
        jump mc_customization2

    elif name == "Rowan" or  name == "Rowane":
        achieve taken
        voice taken_rowan
        "This name is taken, please choose a different name."
        jump mc_customization2

    else:
        "You chose the name [name] right ?"

    menu:
        "Yes": #continue game
      
            jump mc_gender_choice
        "No": #reselect
      
            "let's fix that."
            jump mc_customization2


###################
# Gender choice
label mc_gender_choice:
    "Wonderful !"
    "Now, tell me what gender would you like to choose for your character ?"
    "This choice may impact the storyline but won't stop you from dating anyone."

    label gender_loop:
        menu:
            "Cis Woman":
          
                $ mc_gender = 0

            "Trans Woman":
          
                $ mc_gender = 1

            "Non-Binary":
          
                $ mc_gender = 2

            "Why is there no men option ?"if men1ew == False:
       
             jump nomen


        "Your character is {nw}"
        if mc_gender == 0:
            extend "a cis woman right {nw}"
        elif mc_gender == 1:
            extend "a trans woman right {nw}"
        elif mc_gender == 2:
            extend "non-binary right {nw}"
        else:
            extend "ERROR: could not log response, please try again."
        extend "?"

        menu:
            "Yes":
          
                jump pronoun_choice
            "No":
          
                "Let's retry then."
                jump gender_loop

        label nomen:
        $men1ew = True
        "Because this is a sapphic game intended to a sapphic audience."
        "This story is build around specific topics and wouldn't work with a man protagonist."
        menu:
          "But what if I still want to play a man ?":
           "Well then..."
           $ renpy.quit()
          "Okay I understand":
           "Thank you."
           achieve Sapphic_game
           jump gender_loop


###################
# Pronoun choice
label pronoun_choice:
    "Notes taken."
    "Final question !"
    "Please choose the pronouns of your character."

    label pronoun_loop:
        menu:
            "She/Her":
          
                $ mc_pronouns = 0
            "He/Him":
          
                $ mc_pronouns = 1
            "They/Them":
          
                $ mc_pronouns = 2
            "Any":
          
                $ mc_pronouns_any = True

        # "You've chosen {if mc_pronouns == 0}She/Her {elif mc_pronouns == 1}He/Him {else}They/Them{/else} ?"

        "You've chosen {nw}"
        if mc_pronouns_any == True:
            extend "Any {nw}"
        elif mc_pronouns == 0:
            extend "She/Her {nw}"
        elif mc_pronouns == 1:
            extend "He/Him {nw}"
        elif mc_pronouns == 2:
            extend "They/Them {nw}"
        else:
            extend "ERROR: could not log response, please try again."
        extend "?"


        menu:
            "Yes":

                jump prologue
            "No":
                "Let's try again."
                $ mc_pronouns_any = False
                jump pronoun_loop
(1 edit)

And here is an exemple of when the variable get used in game :

#if any pronouns
if mc_pronouns_any == True:
    mc "I use any pronouns."
else:
    # otherwise based on customization selection
    mc "My pronouns are {nw}"
    if mc_pronouns == 0:
        extend "she/her{nw}"
    elif mc_pronouns == 1:
        extend "he/him{nw}"
    else:
        extend "they/them{nw}"
    extend "."
(+1)

tysm!! 🙏🙏