You must be 18+ to view this content

Dawn Chorus may contain content you must be 18+ to view.

Are you 18 years of age or older?

or Return to itch.io

RenPy Gallery tutorial & code


Hi, Keo here!

This week I worked on implementing a gallery for Dawn Chorus, and I was surprised to see how confusing it was, and the lack of working code examples. The only decent example I could find was this one: https://github.com/Emperrific/Renpy-Tutorials-CG-Gallery (a code repository accompanying 4 youtube videos on the topic), but it didn't use the modern RenPy Gallery class that offers some neat functionalities.

So the good news is, using some of the code from the example and adapting it to work with Gallery class, as well as implementing my own layout and adding some nifty mechanisms like automatic thumbnail generation and resizing for different game resolutions, I wrote a gallery that can be reused by other RenPy projects. If you're a VN developer using RenPy feel free to use the code, which you can find along with the manual here: https://github.com/Ex4i/RenPy-gallery-tutorial

The gallery itself will be added to the upcoming public build, and it looks like this (I obviously hid some of the CGs):


Get Dawn Chorus

Download NowName your own price

Comments

Log in with itch.io to leave a comment.

Genial chicos!

(+2)

Congratulations! This is an amazing accomplishment. The old script was very annoying at times and I'm happy someone took the initiative to write a new one. Thanks for the new gallery. :P

(+1)

Wow, we'll see a gallery! It's cool