how do i animate the main menu's background, like what DDLC did?
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.
-
SomeDumbOstrich
- Newbie
- Posts: 3
- Joined: Sat Mar 23, 2019 5:50 pm
- Projects: 独裁者とのデート! (Dating with Dictators!)
- Tumblr: somedumbostrich
- Deviantart: somedumbostrich
- Github: SomeDumbOstrich
- Soundcloud: somedumbostrich
- itch: ostrichnerd
- Contact:
how do i animate the main menu's background, like what DDLC did?
i want to make a basic background animation for the main menu of my game. my original thought was to make literally 100 separate images, each one pixel different, but there's obviously a way better, more efficient way to do this, right?
Re: how do i animate the main menu's background, like what DDLC did?
You can make animated displayable using "Animation and Transformation Language" https://www.renpy.org/doc/html/atl.html
And then place it into main_menu screen, which is usually located in screens.rpy. Search "screen main_menu"
Screens are operated with Screens Language https://www.renpy.org/doc/html/screens.html
example of making simple animation and placing into a screen
And then place it into main_menu screen, which is usually located in screens.rpy. Search "screen main_menu"
Screens are operated with Screens Language https://www.renpy.org/doc/html/screens.html
example of making simple animation and placing into a screen
Code: Select all
image rotating_sky: #defined animated image with prefered animation
'sky'
rotate 0
linear 5 rotate 360
repeat
screen main_menu():
tag menu
style_prefix "main_menu"
add rotating_sky # Placed an animated image as background
use navigation
Look! It's moving. It's alive. It's alive... IT'S ALIVE! Oh, in the name of God! Now I know what it feels like to be God!(@Henry_Frankenstein. Sums up my coding style)
- SpicyMayo1429
- Regular
- Posts: 36
- Joined: Tue Mar 20, 2018 11:23 am
- Contact:
Re: how do i animate the main menu's background, like what DDLC did?
There is also this thread where I asked a similar question, some of the responses here might help. viewtopic.php?f=8&t=50220
Who is online
Users browsing this forum: Bing [Bot], Google [Bot]