[solved] Gallery Display

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
User avatar
Kaen
Regular
Posts: 148
Joined: Tue Oct 16, 2012 10:49 pm
Contact:

[solved] Gallery Display

#1 Post by Kaen »

How can I make a gallery that when the button is clicked, the image won't take the full screen to display it?

I'd like to do something like on Uncle Mugen's DSE:

Image
Last edited by Kaen on Tue Jul 15, 2014 3:08 pm, edited 1 time in total.

User avatar
Alex
Lemma-Class Veteran
Posts: 3094
Joined: Fri Dec 11, 2009 5:25 pm
Contact:

Re: Gallery Display

#2 Post by Alex »

You can apply the transforms to the gallery images, so make one like

Code: Select all

transform slowpan:      # just the name used in Image Gallery documentation
    xalign 0.5 yalign 0.5
    zoom 0.5
and use it for all images in gallery.
http://www.renpy.org/doc/html/rooms.html

User avatar
Kaen
Regular
Posts: 148
Joined: Tue Oct 16, 2012 10:49 pm
Contact:

Re: Gallery Display

#3 Post by Kaen »

Thank you!

Post Reply

Who is online

Users browsing this forum: piinkpuddiin