Hey everyone. So I've been working on testing the points system in our visual novel and I've run into a wall.
We have a lot of choices, rough math leads me to believe there are over 4000 different outcomes in point values over six characters and I need to know them all to make sure it's always possible to get onto one route.
Is there any way I can make renpy test every single combination of choices and spit out the results of each combination at the end? Cheers!
A way to test every possible combination of choices?
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.
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.
- PyTom
- Ren'Py Creator
- Posts: 15893
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: A way to test every possible combination of choices?
Sorry, but this isn't something you can do. What you probably want to do is to break your game logic out into a python program, one that makes each of the decisions in the game for you. You can do the simulation there, and record which outcomes you get.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
Who is online
Users browsing this forum: _ticlock_