
By using the reserved label "splashscreen". You can even call this variables BEFORE the main menu. The cool thing is the persistent file is going to be read always no matter which save you load or if you close the game and then open it. Your save folder should have a new file now, called persistent. Everything after the $ symbol is going to be interpreted as pure Python code, instead of some Renpy formatting)Īfter you add all the values you need to save, you need to call the function which is going to save this. (The $ sign is used on Renpy as a escape system of sorts.


You can search a variable or value in the search box on the right side. The way to use it is adding to the object persistent a new attribute, and since Python is dynamic is actually quite simple. Click on the Load Ren’Py Save button on the top right. really not back, I got a writers block almost all July and August and everything I had to add was way more that I anticipated.īUT, I can talk about something I discovered about the framework while doing the visual novel.ĭo you remember those parts in Undertale in which the characters muse about remembering something you did in another playthrough? Like Toriel remembering your pick for favorite pie? Well, I tried to add something similar to the game and I found a save system they use with an object called Persistent.
