New Game+

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.
Post Reply
Message
Author
galadain
Regular
Posts: 31
Joined: Wed Sep 09, 2020 4:24 pm
Contact:

New Game+

#1 Post by galadain » Thu Sep 10, 2020 12:01 pm

Is it possible to do a new game+ mode?

I'd like to have the player chose an NPC to work on and max out their relationship throughout one play through. Once they finish, they would save then start over with a new game and play through to work on a different character.

User avatar
Silken Sail
Regular
Posts: 33
Joined: Fri Apr 29, 2016 4:17 pm
Projects: Henchman Story
itch: silkensail
Contact:

Re: New Game+

#2 Post by Silken Sail » Thu Sep 10, 2020 2:12 pm

Yep! The technical side of this is actually really straightforward, you just need to set some persistent variables, first by setting the default value then setting the value to whatever you want when you need it to change: https://www.renpy.org/doc/html/persistent.html

In your case, I'd set one for them completing the game for the first time, and then one for each character reaching their "max" relationship. Then you'll want an if/elif check at the start of the game to change things accordingly.

As with many things in RenPy, the tough part isn't the technical aspect, but rather the follow through. Changing things drastically on each playthrough can be a lot of work, so make sure you've planned things out thoroughly with flowcharts and outlines before you start writing. Good luck!

Post Reply

Who is online

Users browsing this forum: Google [Bot]