Changing Variables Mid-Game for testing

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
MissLanna
Regular
Posts: 52
Joined: Fri Feb 08, 2013 10:58 am
Contact:

Changing Variables Mid-Game for testing

#1 Post by MissLanna »

Stupid simple little question, can't believe it slipped my mind. What's the shortcut / keys to bring up the menu during testing that'll let you edit variables? @-@ Please and thank you.

pwisaguacate
Veteran
Posts: 356
Joined: Mon Mar 11, 2013 11:03 pm
Contact:

Re: Changing Variables Mid-Game for testing

#2 Post by pwisaguacate »

Press Shift+O to open the console. You will then be able to type in renpy/python statements.
Last edited by pwisaguacate on Thu Jul 11, 2013 8:04 pm, edited 1 time in total.

User avatar
trooper6
Lemma-Class Veteran
Posts: 3712
Joined: Sat Jul 09, 2011 10:33 pm
Projects: A Close Shave
Location: Medford, MA
Contact:

Re: Changing Variables Mid-Game for testing

#3 Post by trooper6 »

If you type in variable in the Shift+O, it doesn't change the acutal code, right?

So if i do something like:
$witnesses = False
$interrupts = 3
$redemption_pts = 4
$damnation_pts =2
jump shaving

That should work without overwriting the code in my rpy files?
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

pwisaguacate
Veteran
Posts: 356
Joined: Mon Mar 11, 2013 11:03 pm
Contact:

Re: Changing Variables Mid-Game for testing

#4 Post by pwisaguacate »

Correct, it should not overwrite any scripts.

Post Reply

Who is online

Users browsing this forum: No registered users