Naming Your Saves

A place for Ren'Py tutorials and reusable Ren'Py code.
Forum rules
Do not post questions here!

This forum is for example code you want to show other people. Ren'Py questions should be asked in the Ren'Py Questions and Announcements forum.
Post Reply
Message
Author
User avatar
Nuxill
Veteran
Posts: 464
Joined: Sat Sep 25, 2010 4:50 pm
Projects: No Friend
Tumblr: nuxill
itch: nuxill
Contact:

Naming Your Saves

#1 Post by Nuxill »

For some reason there's no simple explanation on the forums (that I can find that also works with the new GUI), so for the sake of coding-impaired individuals (like myself) I'm making this thread.

Basically all you need to do is write

Code: Select all

define save_name =(" ")
where you define your characters and such.

When you start your game, you'll want to change the variable by typing

Code: Select all

$ save_name ="Whatever you want your save name to be" 
under your label.

If this is considered redundant, feel free to delete it mods.

User avatar
PyTom
Ren'Py Creator
Posts: 16093
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: Naming Your Saves

#2 Post by PyTom »

You shouldn't use define there. Default would work, as would doing nothing - save_name exists by default. Your line to change it is correct.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
Nuxill
Veteran
Posts: 464
Joined: Sat Sep 25, 2010 4:50 pm
Projects: No Friend
Tumblr: nuxill
itch: nuxill
Contact:

Re: Naming Your Saves

#3 Post by Nuxill »

PyTom wrote:You shouldn't use define there. Default would work, as would doing nothing - save_name exists by default. Your line to change it is correct.
I had no idea it was automatically defined. That's good to know

Post Reply

Who is online

Users browsing this forum: No registered users