Is it possible to make a frame by frame animated main menu?

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Post Reply
Message
Author
User avatar
LittleRainySeasons
Newbie
Posts: 18
Joined: Fri Mar 24, 2017 9:37 am
Projects: Time|Reversed, Galaxy Party, The Sauce of My Heart
Deviantart: LittleRainySeasons
Soundcloud: DJM Music
itch: LittleRainySeasons
Contact:

Is it possible to make a frame by frame animated main menu?

#1 Post by LittleRainySeasons » Thu Nov 08, 2018 11:57 am

I was thinking about having the main menu background of my ongoing game to have it animated while having the buttons done in imagemap.

Is it possible to have it done?

User avatar
fullmontis
Regular
Posts: 129
Joined: Sun May 05, 2013 8:03 am
Deviantart: fullmontis
itch: fullmontis
Location: Italy
Contact:

Re: Is it possible to make a frame by frame animated main menu?

#2 Post by fullmontis » Thu Nov 08, 2018 12:32 pm

It is possible with ATL! You can define an animated background as:

Code: Select all

image menubg:
    "frame01.png"
    pause 0.1 # depends on the framerate of the background
    "frame02.png"
    pause 0.1
    # and so on for every frame
    repeat # if you want it to loop
and then you can add it to the main menu like this:

Code: Select all

screen main_menu():
   add "menubg"
   # ... rest of main menu code 

User avatar
LittleRainySeasons
Newbie
Posts: 18
Joined: Fri Mar 24, 2017 9:37 am
Projects: Time|Reversed, Galaxy Party, The Sauce of My Heart
Deviantart: LittleRainySeasons
Soundcloud: DJM Music
itch: LittleRainySeasons
Contact:

Re: Is it possible to make a frame by frame animated main menu?

#3 Post by LittleRainySeasons » Thu Nov 08, 2018 12:36 pm

Oh okay! Thanks! It helps alot ^^

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], OddTillTheEnd