A downloadable code template

This project is a work in progress, featuring Ren'Py code snippets that I frequently find myself using for different projects. If you'd like to see more effects, please feel free to create a GitHub issue. This project will be continuously updated on GitHub.

You may use all or any part of the code template by crediting both the GitHub page and this itch.io page.
Please refrain from using any of the art assets. If you must, please consult me first.

Demo (See the full list of features below)

Dynamic main menu and feather icons in the UI text

Expression composition screen and blinking sprites

Lightning modes (day, dusk, night, dim, sepia)

Parallax

Panning background with seamless tiles

Feature List

Here is a list of features showcased in this project:

  • Blinking sprites
  • Expression composition screen
  • Lightning modes (day, dusk, night, dim, sepia)
  • Feather icons in the UI text
  • Parallax BGs and CGs
  • Eye-opening and closing transitions
  • Additive blend mode
StatusReleased
CategoryAssets
Rating
Rated 5.0 out of 5 stars
(9 total ratings)
Authorr3dhummingbird
GenreVisual Novel
TagsOpen Source, Ren'Py, sourcecode, Project template

Comments

Log in with itch.io to leave a comment.

(2 edits)

Hi - thank you so much for this useful resource! <3

I noticed in the example script that sprites are cleared manually whenever there is a scene change because of how the parallax effect works. If you try to use the normal Ren'Py "scene," it will not work as expected and character sprites will not go away without manually hiding each one - which is kind of an inconvenience.

In case anyone else wants to use this in a longer project, you can use the python equivalent for "scene" like this with the back layer specified, so all character sprites are automatically cleared when you want to show a new background:

    $ renpy.scene(layer="back")

    $ renpy.show("bg club")

These two lines together are equivalent to how scene normally works in Ren'Py (e.g. 'scene bg club'), but clears the 'back' layer instead of the master layer (where character sprites go by default w/o parallax).

(3 edits) (+1)

Thanks so much for trying out the project and writing up this helpful comment! :)

For people who want to look at the official doc about renpy.scene: https://www.renpy.org/doc/html/statement_equivalents.html#renpy.scene

I’ll check and update the project too when I can.

Just wanted to comment to say this is a really phenomenal project! I've been poking around it for just a bit, and it's awesome to see so many advanced Ren'py tricks made accessible for novice coders/hobbyists like me. Thank you for building this!

(+1)

Thanks :D If you have any specific feature showcase suggestions, please feel free to let me know!