Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(2 edits)

Hey! First of all, thanks so so much for this code and for everything you do for this community. Seriously, you're a Ren'py hero.

Secondly, is there a consistent way to unlock images that doesn't rely on "scene" or "show"? My CGs appear in a "comic style" meaning they're multiple images to create one image together when shown in game. I can have Ren'py show all of these images together by defining an image and showing that in the gallery, but that means I can't show anything with the script of the sex scene itself that correlates because trying to work off the first image of the sequence gives me an error of "maximum recursion depth exceeded" which I suspect has something to do with having a file named the same as an image definition? (I hope that makes sense.)

Here's a pic of my code so far:

So, my question is, how would I get this gallery to unlock such an image? Or, if it's not possible, how would I change this code to just run off "if" statements instead?

I'm working on solutions myself but thought I would ask, since it's somethings quicker just to be help.

Thanks a ton!

(+1)

your ATL image; the repeating 3 images will give you an error without a pause between the images

image enokkyscenegallery1"
    "enokkysexscene1"
    pause 0.25

    "enokkysexscene2"
    pause 0.25

for the image itself, you do not need to redefine it

just add it in

gallery_items.append(GalleryItem("Image 5", ["enokkyscenegallery1"] ))

as a side note the project that you downloaded for this is the tutorial for it (dump its contents in your project folder and launch it)

but basically to unlock an image that is not used in the script, just do a quick show and hide of it like this

show enokkyscenegallery1
hide enokkyscenegallery1

that will NOT even flash the image or show the image at all, but it will unlock it for the gallery

Thanks for your reply! Seeing this, the solution feels so obvious now LOL
Have a great day!