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.
As kivik says, it's up to you. This is how I prefer:
If dialogs in that part are short, I prefer option 2. If they are long, I prefer option 1 for readability.
From a player point of view, there is no difference.
I also use jumps, only calls when labes are reused (called from different parts of the game) also for readability.
If there are more levels of indentation (nested menus) I prefer jumps (you guessed it, I found it more readable).
Personally I tend toward a style reminiscent of old school emacs even though I now use sublime on windows ... (eek, windows... pretty odd for a username reflecting an Android OS and emulator that the great Linus Torvalds works on... hmmm)
You may have noticed that most editors can add a ruler at a set distance and most support a range of values including 72 and 78 which, for info, are the maximum line width supported by PEP-8 which Python uses for all code submissions.
So, basically, I work toward code/script writing with a maximum 79 characters per line...
For me:
All labels start at character 0 (no nested labels)
Choices/menus tend toward jump/call rather than dialogue unless said dialogue is minimal
Inline comments (mostly just before labels) help reference code flow
Naming protocol of labels also helps manage game flow and back referencing
Most screen widgets and defines use blocks rather than single line
Basically I do everything I need to try to stay under the 79 characters so prefer options that allow me to drop back to character 0 (or just 4 less) wherever possible.
That gives me a thought that I can make separate file (choices.rpy) for menu choices and place there all dialogs from choices and in main file just call them.