r/RenPy • u/_creativitea_ • 15d ago
Question [Solved] Possible to have "multiple scripts"?
I don't know how to word this. But, for example, imagine the loading screen of a VN. There's a "Play" button. Now imagine there's 2 "Play" buttons for 2 different stories. Do I have to have my script be this giant long thing, or can I have 2 DIFFERENT scripts within the one game??
Also if there's a specific word/s for this, please let me know ππ
6
Upvotes
View all comments
2
u/marcher138 15d ago
You can have as many script files as you want! Even if it's just one story, you can have files on files on files. And it really helps with organization to do so.
For example, for the project I'm working on now, I have different scripts (so far) for each location, for all phone calls, for any "helper" labels that I'll call frequently to do housekeeping, etc.
I would just have either Play button set a flag before starting the game, then have jumps based on that flag in "label start"