I'm using this:
Code: Select all
label gallery1:
scene bluescenary
screen images1:
vbox:
pos (100, 300)
spacing 15
imagebutton idle im.FactorScale('image1.png', 1.0) action Jump("image1")
imagebutton idle im.FactorScale('image2.png', 1.0) action Jump("image2")
imagebutton idle im.FactorScale('image3.png', 1.0) action Jump("image3")
imagebutton idle im.FactorScale('image4.png', 1.0) action Jump("image4")
label image1:
scene image1
$ renpy.pause()
jump label gallery1
It's all ok. But I'm using a Messenger system (viewtopic.php?f=51&t=50153).
And in the chat you can "receive" images.
I wanted the images you receive in the Messenger to only be available in the gallery after you play the label you will receive them.
They would appear "black" in the gallery. Like this:
I was thinking that in the label I use the messenger, after you "receive" the messege, I should use something like:
Code: Select all
$ unlock_image("image4")
Not all images will be locked. Some will start the game available already.
Also, how do I "tell" the game that this image:
Code: Select all
imagebutton idle im.FactorScale('image4.png', 1.0) action Jump("image4")
Code: Select all
label image4:
scene image4
$ renpy.pause()
jump label gallery1
Code: Select all
$ unlock_image("image4")
Sorry if it's confusing
Thanks