CG Gallery issue: adding multiple images to unlock_image()

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.
Post Reply
Message
Author
Goha
Newbie
Posts: 10
Joined: Fri Jun 22, 2018 9:06 am
Contact:

CG Gallery issue: adding multiple images to unlock_image()

#1 Post by Goha »

Code: Select all

transform zoom5:
    zoom 0.5
    align (0.5, 0.5)

init python:
    g = Gallery()

    g.button('event01')
    g.unlock_image('image1', 'image2')
    g.transform(zoom5)
I'm making a cg gallery, and I'm having some problems.
When using unlock image() and transform() with multiple images registered, only image1 is displayed on the screen. (Checked using Style Inspecting.)
If transform() is not used, the two images are displayed well on the screen.

Is there anything in the code to fix?
Or, Is there a way to resize the image other than transform()?


Post Reply

Who is online

Users browsing this forum: No registered users