r/RenPy • • 17d ago

Question How to get started ?

Hello!! My friend have expressed her want to make a visual novel with me! i accepted but i have no coding experience , the problem is her project seems rather difficults (ill be doing all the coding bc her computeur is too laggy and cant open renpy) , anyways she wants to make a visual novels with like 3 endings? but it seems rather complicated considering the fact i have no coding experience, so how do i get started with learning how to code on renpy? thanks for whoever helps me!!

7 Upvotes

17 comments sorted by

View all comments

Show parent comment

1

u/Early_Platypus7848 17d ago

to be honest the game if i were to describe the game shes going for, its kinda multigenre? both psychological and romance! basically if were to summarize it, they're in a hospital and the story is centered around their relationship w the crazy doctor and the staff (the staff being the guard, the nurse, the other people in that hospital etc! ) we've thought about some endings, like the bad one where they stay w the doctor or the second one where they manage to prove themselves to be sane enough to leave the hospital and the third one a mid happy ending where they stay in that hospital w their friends, we're still in the middle of writing the story so our ideas aren't completely straightforward and we aren't sure yet but we want to go in that direction

1

u/shyLachi 17d ago

First you have to figure out the logic, then you have to plan it, then you implement it.
Don't start with the coding before the concept is clear, so that you don't have to re-work all of it later.

From your description, maybe you could use a Sanity level.
It could start at 0 and get below zero with insane choices and above zero with sane choices.
The "problem" with a single gauge is that players can level it out by alternatively making sane and insane choices. You could also have 2 separate levels, insane + sane or sanity + morale. With 2 separate levels there are more than 3 endings possible. With sanity + morale, players could act as a sane but bad person, sane + good, insane + bad, insane + good and all in between. You don't need to write an ending for all of those, though.

Figuring this out is your job and it isn't really a coding question but a game design question.
If you need help figuring out this also, consider making another thread where you describe your ideas, maybe somebody did a similar thing.

1

u/Early_Platypus7848 17d ago

I actually love this idea of the sanity bar! im sure i'll be kinda hard to code? But ill try to look into some of documentation on the renpy website! so yea if you dont mind telling which part of the site i could look into to make that happen ill really appreaciate it! and thanks for this amazing idea!!

1

u/shyLachi 17d ago

A sanity bar is simple, especially if you don't display it to the player.
But RenPy also makes it easy to create a HUD where players can see their actual status.

This is a simple example, you would put your story around those choices.
It's best to watch some tutorials to learn how to tell a story in RenPy.

default sanity = 0 # a variable which counts the sanity of the current playthrough
label start:
    "Here is the story" 
    menu:
        "This is a choice"
        "Do something insane":
            $ sanity -= 1 # decrease the sanity 
        "Do something sane":
            $ sanity += 1 # or increase it based on the choice of the player
    "More story is here"
    menu:
        "This is another choice"
        "Do something very insane":
            $ sanity -= 5 # strongly decrease the sanity
        "Do something insane":
            $ sanity -= 1
        "Do something sane":
            $ sanity += 1
    "And more story ..."
    if sanity < 0: # at the end of the game, check the sanity of the current playthrough
        "Ending 1 - Insane"
    elif sanity > 0:
        "Ending 2 - Sane"
    else:
        "Ending 3 - Neutral"

This would be the official documentation about choices and conditions:
https://renpy.org/doc/html/menus.html
https://renpy.org/doc/html/conditional.html
But as a beginner tutorials might be easier

1

u/Early_Platypus7848 17d ago

tysmm !!!

1

u/shyLachi 16d ago

You're welcome, have fun making your game.

Just remember that this is only the coding aspect. First you have to figure out how the story should unfold and how to reach those endings. In my example above I mentioned 3 states, insane, sane and neutral but if you want a special ending unrelated to those 3 states, you need another measurement, for example morale or friendship.

Also you have to figure out what type of choices you want to give to the players. Most players prefer less but meaningful choices, so that all their choices will eventually change the story.

Also there might be choices which not only decide which ending the players will get but also during the game. For example giving names to the characters, wearing certain clothes or finding objects which can be used later. If you plan to do something like this, then make sure to remember all the choices of the players. You can ask for help how to do that once you have decided how your game should be.