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.
I can't give you an example in code because I am in a cafe and don't have access to my computer.
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?)
$ store.load = 1
for i in range(10):
button:
#action FileAction(i)
action SetVariable("load", i)
does nothing
Okay. Actually, maybe i'm doing it wrong.
I just want to have a list of saving, when you click on it, screenshot of saving is appearing in right side of screen and there is a button "Load".
That is from the wiki and it is out of date (that page is 7 years old!), you should use the current documentation.
I can't help you much with load/save stuff as that is not anything I've experimented with yet...but I'd look in the screens.rpy file and really study what is there. Also look at the screen language documentation more generally.
Also, you might want to do a search here in the forum Question Board for save and image or save and screenshot or save and thumbnail because I know people have asked questions like that before.
Otherwise, you'll probably need one of the more advanced programmers to stop by this thread and help you out.
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?)
I agree with trooper6, avoid the wiki like the plague. There are more outdated articles than updated so you're better off looking at the current documentation or asking.
If you're looking for how to have a selectable save/load screen that displays the screenshot of the currently selected save, then I have this snippet from when I helped another person to achieve the same thing. https://bitbucket.org/snippets/sinnysta ... matic-save This has the automatically generated file description function which is optional.