[SOLVED] Main Menu Slideshow
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.
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.
[SOLVED] Main Menu Slideshow
I like to have a rotating slideshow of images for the main menu background vs a single static image. Maybe have each background on the screen for a few seconds then switch to the next background. Any suggestions on how to accomplish this?
Last edited by galadain on Thu Apr 08, 2021 3:12 pm, edited 1 time in total.
Re: Main Menu Slideshow
You can use ATL to define one image that allows transitions to several different images, see examples in document: https://www.renpy.org/doc/html/atl.html
Re: Main Menu Slideshow
Documentation can be a bit daunting. Figured it out by creating a custom_atl.rpy file with the following:
Then just changed gui.rpy from
to
Code: Select all
image mainmenu_bg:
"mmbg_null.png" with dissolve
2.0
"mmbg_1.png" with dissolve
2.0
"mmbg_2.png" with dissolve
2.0
"mmbg_3.png" with dissolve
2.0
"mmbg_4.png" with dissolve
2.0
"mmbg_3.png" with dissolve
2.0
"mmbg_2.png" with dissolve
2.0
"mmbg_1.png" with dissolve
2.0
repeat
Code: Select all
define gui.main_menu_background = "gui/game_menu.png"
Code: Select all
define gui.main_menu_background = "mainmenu_bg"
Who is online
Users browsing this forum: Majestic-12 [Bot]