Page 1 of 1

How do you guys organize your .rpy files?

Posted: Thu Jun 15, 2023 10:39 pm
by Cat_Bardy
Do you prefer to keep all the screens and dialogue in their own separate .rpy files, or would you rather keep every single line of code all in one big .rpy file?
No wrong answers of course, just wondering what works for other people. I'm still very new and want to know what works for other people. All my .rpy files are extremely disorganized lol

Re: How do you guys organize your .rpy files?

Posted: Thu Jun 15, 2023 11:06 pm
by Ben The Sodaman
On a small project (and I imagine if I were doing something bigger), I'd like to keep the chapters in their own .rpy files.

Where the small project had a Prologue and a Chapter 1 file separate from the script.

And as the top of my Script file grows in size, I suspect I will revisit a Branch/Choices file. Where the variables, jumps to chapters or scenes if conditionals are met, and comments on where or what the path is may end up.

Re: How do you guys organize your .rpy files?

Posted: Wed Oct 11, 2023 10:46 am
by RizVN
I separate assets into their own folders.

My story folder is further divided into folders for each chapter. Only then will I write a .rpy for a sub-chapter in that folder.

As for musics, sprites, and backgrounds, I write their own .rpy in the game main folder.

This way, I find it easy to update the game later on. Because I can just quickly edit the necessary .rpy and it's easy to see in github what specifically changed with each update.