Page 1 of 1

Layered Main Menu Background Image Animation

Posted: Sun Jul 25, 2021 9:53 am
by RVNSN
Does anyone know how you would create a layered menu animation?

For example, I would like to do something like the following, only you can't define an image using show and behind the way you can in the script:

image main_menu_anim1:
"image1"
"image2" behind "image1"

image image1:
"someimage1"
5
"someimage2"
5
repeat

image image2:
"someimage3"
5.5
"someimage4"
5.5
repeat

I have tried

image main_menu_anim1:
"image2"
"image1"

but that just shows the second image over a black background


EDIT: SOLVED
Using a layered image https://renpy.org/doc/html/layeredimage.html (which I had forgotten about) was the solution I needed.

Code: Select all

layeredimage titanim2:
    always:
        "tit_images_anim_1"
    always:
        "tit_words_anim_1"