Real time editing?

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.
Post Reply
Message
Author
Settle for Pocky
Regular
Posts: 33
Joined: Sun Jul 08, 2018 8:49 am
Contact:

Real time editing?

#1 Post by Settle for Pocky »

Hopefully this makes sense. So to make an basic example let's pretend I have character "boy" and three mouths mouth_a, mouth_b, and mouth_c

So let's pretend I'm playing through the game and 50 lines in I see that he has mouth_a instead of mouth_b. Is there a way for me to change this, save, and somehow reload the game without having to leave the game and re going into it?

I have code on how to load up the game in a certain area, but I have to exit out of the game and replace it to a different section to get you started at a new point.

I know that when you get an error screen you're able to fix the code and re-load it without exiting the game. I'm just seeing if there's a way to do that with editing non-error code.

any help is appreciated. Would save me a ton of time

thanks again,
Pat

rayminator
Miko-Class Veteran
Posts: 793
Joined: Fri Feb 09, 2018 12:05 am
Location: Canada
Contact:

Re: Real time editing?

#2 Post by rayminator »

there isn't any real time editor for renpy as of today maybe in version 8 or 9 or 10 or it might never happen

the only way that I can see it happening is if renpy get it own editor built into it instead of interdependent editors like atom

if renpy get it's own editor i can see it happening

User avatar
Remix
Eileen-Class Veteran
Posts: 1628
Joined: Tue May 30, 2017 6:10 am
Completed: None... yet (as I'm still looking for an artist)
Projects: An un-named anime based trainer game
Contact:

Re: Real time editing?

#3 Post by Remix »

Open game from Launcher
Start playing
Press [Shift] + [R]
Reloads at same place

Go to editor, make a change and save it
Notice the game (still in Shift+R mode) reloads itself in the background

Hope that is what you meant
(sub-note: some changes might require starting from fresh, like some edits using old saves)

Alternatively: [Shift] + [D] then no-shift [D] to open in-game editor

These likely both need config.developer = True
Frameworks & Scriptlets:

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3791
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: Real time editing?

#4 Post by Imperf3kt »

Remix wrote: Tue Jan 15, 2019 3:58 pm Open game from Launcher
Start playing
Press [Shift] + [R]
Reloads at same place

Go to editor, make a change and save it
Notice the game (still in Shift+R mode) reloads itself in the background

Hope that is what you meant
(sub-note: some changes might require starting from fresh, like some edits using old saves)

Alternatively: [Shift] + [D] then no-shift [D] to open in-game editor

These likely both need config.developer = True
This is what I would suggest as well. I only actually use the reload function though, I've never used the interactive developer.
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

Post Reply

Who is online

Users browsing this forum: BeverlyLane