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.
Nuxill
Veteran
Posts: 464 Joined: Sat Sep 25, 2010 4:50 pm
Projects: No Friend
Tumblr: nuxill
itch: nuxill
Contact:
#1
Post
by Nuxill » Sat May 13, 2017 4:39 pm
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
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.
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:
#2
Post
by PyTom » Sat May 13, 2017 10:41 pm
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
Nuxill
Veteran
Posts: 464 Joined: Sat Sep 25, 2010 4:50 pm
Projects: No Friend
Tumblr: nuxill
itch: nuxill
Contact:
#3
Post
by Nuxill » Sun May 14, 2017 11:19 pm
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
Users browsing this forum: No registered users