Hi,
I'm new to Ren'Py. I just started in an existing project, with that there is already a lot of Ren'Py scripts.
Now I'm also new to Python, but I'm pretty experienced with other imperative programming languages like c++, c#, java, php etc.
I'm used to 'fancy' IDE's like Visual Studio, which has a file-tree so you can organize your source code and quickly navigate to it.
I'm kinda missing this with Ren'Py and its standard editor Editra. For me it consumes developing time to ask around and find out where everything is located in source code.
For example, in Visual Studio, you have features like, find all references, or go to declaration to quickly navigate while viewing source. I assume when coding with Ren'Py there is no feature like this by default?
So how do you guys handle these problems? Are there any tips on how to organize and structure your scripts, and how to use the editor or maybe an alternative editor which has those features I talked about?
Searching labels etc in multiple scripts
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.
-
- Newbie
- Posts: 12
- Joined: Thu Nov 20, 2014 12:58 pm
- Contact:
-
- Newbie
- Posts: 12
- Joined: Thu Nov 20, 2014 12:58 pm
- Contact:
Re: Searching labels etc in multiple scripts
Well, I already found the Projects plugin, for source control and tree-view! Great one! So what about finding references?
-
- Newbie
- Posts: 12
- Joined: Thu Nov 20, 2014 12:58 pm
- Contact:
Re: Searching labels etc in multiple scripts
And I guess I will use ctrl + shift + f, to find things in the directory..
- Donmai
- Eileen-Class Veteran
- Posts: 1960
- Joined: Sun Jun 10, 2012 1:45 am
- Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
- Projects: Slumberland
- Location: Brazil
- Contact:
Re: Searching labels etc in multiple scripts
What text editor are you using, Editra or jEdit? In jEdit, for example, you can simply open the 'search & replace' window and select 'all buffers' to search on all open scripts at the same time. Editra must have a similar feature, but I don't use it.
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)
TOIRE NO HANAKO (A Story About Fear)
- PyTom
- Ren'Py Creator
- Posts: 16096
- 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: Searching labels etc in multiple scripts
I'll note you can also click "Navigate" in the launcher, and that will let you open files, labels, etc.
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
- Donmai
- Eileen-Class Veteran
- Posts: 1960
- Joined: Sun Jun 10, 2012 1:45 am
- Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
- Projects: Slumberland
- Location: Brazil
- Contact:
Re: Searching labels etc in multiple scripts
Thank you, Tom. Never tried that before.PyTom wrote:I'll note you can also click "Navigate" in the launcher, and that will let you open files, labels, etc.
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)
TOIRE NO HANAKO (A Story About Fear)
- xavimat
- Eileen-Class Veteran
- Posts: 1461
- Joined: Sat Feb 25, 2012 8:45 pm
- Completed: Yeshua, Jesus Life, Cops&Robbers
- Projects: Fear&Love
- Organization: Pilgrim Creations
- Github: xavi-mat
- itch: pilgrimcreations
- Location: Spain
- Discord: xavimat
- Contact:
Re: Searching labels etc in multiple scripts
In the Navigation panel I find specially useful the "TODO" feature.PyTom wrote:I'll note you can also click "Navigate" in the launcher, and that will let you open files, labels, etc.
Add "# TODO something" in your code and Renpy will rememeber it for you.
Comunidad Ren'Py en español: ¡Únete a nuestro Discord!
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)
Who is online
Users browsing this forum: Ahrefs [Bot], MisterPinetree