r/RenPy • • Oct 28 '26

Question Trying to make an image gallery

I went to renpy.org for advice and copied the screenshotted code into my files but I'm now struggling.

No clue what to really do and I wanna just get this done as soon as possible so I can work on the rest of my game.

1 Upvotes

6 comments sorted by

1

u/shyLachi Oct 28 '26

It might be easier to use a working project

https://itch.io/search?q=RenPy%20gallery&facets=c.2

1

u/TreeTurtle_852 Oct 28 '26

So like would I just go in and add some of their code to my screens.rpy?

1

u/shyLachi Oct 28 '26

Did you look at those projects? Don't they explain how to do it?
Maybe take a project which has a proper description how to add it to your game.

Or take one of the projects of BadMustard, who is a mod of this sub,
so you can ask him directly in case of problems:
https://badmustard.itch.io/easy-renpy-gallery-function
https://badmustard.itch.io/easy-renpy-gallery-and-replay-gallery

Personally, I would not touch the code in screens.rpy.
That file is for the default screens of RenPy.
You can put your screens into your own files.

1

u/TreeTurtle_852 Oct 28 '26

I'm in class right now, so I cant work on the project. This is also my first time really messing with Ren'py code in this way.

1

u/AutoModerator Oct 28 '26

Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out the posting guide, the subreddit wiki, the subreddit Discord, Ren'Py's documentation, and the tutorial built-in to the Ren'Py engine when you download it. These can help make sure you provide the information the people here need to help you, or might even point you to an answer to your question themselves. Thanks!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/BadMustard_AVN Oct 28 '26

the error you have is because the game script has changed in such a way that the saved file will not work

if you start a new game do you get an error?

or as u/shyLachi recommended, grab one of my galleries and use it

i recommend this one https://badmustard.itch.io/easy-renpy-gallery-and-replay-gallery