Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hello! I have a (hopefully) Simple question:

Would there be a way to have the snow fall on only menu screens? (aka main, game, navigation etc) without having  the snow loop reset itself?

Thank you so much for all of your hard work and all of your resources, you are awesome <3

Hey there, yup this is possible! I suggest you put your animations into a screen which you reuse in your other UI screens as the background. For example:

screen falling_bg():
    add "example_snow_background"
    add "example_snow_midground"
    add "example_snow_midground2"
    add "example_snow_foreground"
screen preferences():
    tag menu
    use falling_bg() id 'falling_bg'

The key here is `use falling_bg id 'falling_bg'`- the ID will mean that Ren'Py knows it's the same background across any other screens you use it.

Note that if you're using the default Ren'Py template, you'll need to figure out where to put the background since by default the game menu screen that's reused everywhere comes with its own overlays.

Also there were some issues with Sprite animations in screens in earlier versions of 8.5 in particular; make sure you're on 8.5.2 or later if you can.