Hello there!
I recently came across Ren'Py, after successfully finishing NaNoWriMo and I want to get to know it better in this year.
While digging around in the tutorials and on youtube, I always only managed to see small test-projects being shown, with mostly 2 characters going back and forth. When realizing this, I started to wonder how one would tackle a Vn with multiple characters, a couple of dozen scenes and round about 50k words.
In unity I am somewhat used to the idea of having to split the game (including cutscenes, logic and models) into several scenes. Is this something I should/can do in Ren'Py as well, or do I write the whole game, from the first sentence till the "The End" into this single script.py?
I already tried to find the answer for this, but as with every new program, I didn't really know what I was supposed to search for.
Hopefully you can help me with that!
Cheers!
The whole game in 1 script.rpy?
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.
- vollschauer
- Veteran
- Posts: 231
- Joined: Sun Oct 11, 2015 9:38 am
- Github: vollschauer
- Contact:
Re: The whole game in 1 script.rpy?
The short answer would be yes, you can put your whole story into the "script.py" BUT you can also have multiple files. So it's totally up to you....
Re: The whole game in 1 script.rpy?
Sounds good!vollschauer wrote:The short answer would be yes, you can put your whole story into the "script.py" BUT you can also have multiple files. So it's totally up to you....
I'll just assume that I can rename script.rpy into anything I need (day01.rpy, day02.rpy, etc), as long as I keep that in mind when jumping around from 1 script to another?
- trooper6
- Lemma-Class Veteran
- Posts: 3712
- Joined: Sat Jul 09, 2011 10:33 pm
- Projects: A Close Shave
- Location: Medford, MA
- Contact:
Re: The whole game in 1 script.rpy?
Script must keep the name script. All you new files can have new names, day01.rpy for example. Also, keep the start label in the script.rpy file.
And just so you know how it works, Ren'py treats all rpy files as one big file...so make as many as you like.
And just so you know how it works, Ren'py treats all rpy files as one big file...so make as many as you like.
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?) Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?) Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3791
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: The whole game in 1 script.rpy?
I have a couple of projects going (some abandoned)
Since I don't use the start label, I usually start like this in script.rpy
I define where to start from, from within the main menu.
You still need the start label, but thats all you need. It doesn't need to contain anything. you can make as many files as you want, as stated by others.
Since I don't use the start label, I usually start like this in script.rpy
Code: Select all
# Game Start ## Not used
label start:
return
You still need the start label, but thats all you need. It doesn't need to contain anything. you can make as many files as you want, as stated by others.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
- PyTom
- Ren'Py Creator
- Posts: 16093
- 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: The whole game in 1 script.rpy?
I don't think you need the start label for anything. If Ren'Py is calling it for some reason, it means some code is running in the main menu context and then returning, which is probably the sign of worse problems happening.
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?)
Software > Drama • https://www.patreon.com/renpytom
Who is online
Users browsing this forum: No registered users