- Jun 10, 2018
- 6,327
- 22,777
I'm currently working on a image galery, but looking at how the renpy galery code is setup, I have the feeling that it's not really optimal, at least not for what I want to achieve. Sadly I've never been too deep into programming stuff, so I have some ideas, but don't know how to implement them.
Using the
I know renpy has a function to detect if an image has been seen in game (
Now I could use imagebuttons with
I'd also have to create a new screen for every image to show, I 'm sure this can be achieved on the fly, but I'd probably take ages until I figure it out...
So I'd like to know what the guys with more experience than me think about it and how you would crack the problem here, do you even see a problem at all? (I might just be too stupid to see the simple way again xD).
Using the
You must be registered to see the links
as reference:g.condition("persistent.unlock_something"
unlocks the image/s, this is nice if you want to unlock images after the ending, but it also means that you have to set a persistant for every image or every image within a label you want to unlock earlier.I know renpy has a function to detect if an image has been seen in game (
You must be registered to see the links
) which would be perfect for my scenario, but the way the galery is set up, it only accepts expressions for conditions.Now I could use imagebuttons with
You must be registered to see the links
instead, but by doing so, I'd loose the ability to show the different states (locked and unlocked) + I'm not sure if I can use expressions for the images, which would mean I'd also have to include buttons for both, the male and the female MC variant of the images.I'd also have to create a new screen for every image to show, I 'm sure this can be achieved on the fly, but I'd probably take ages until I figure it out...
So I'd like to know what the guys with more experience than me think about it and how you would crack the problem here, do you even see a problem at all? (I might just be too stupid to see the simple way again xD).