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.
label main_menu:
# code to play music and perform animations
jump _library_main_menu
That jump statement no longer works. And I think jumping to the main menu created a new scene, which replaces any images/animations currently displayed with the main menu background. How can I edit the menu so animations will be displayed until the user selects an option?
I suspect somebody is stealing my internet identity so don't believe everything I tell you via messages. I don't post or send messages anymore so don't believe anything I tell you via messages or posts.
Thanks. Though that code requires that you place the buttons and everything yourself. That's probably necessary when the animation must continue to play while waiting for the user- but the particular animation I'm doing only animates before the user interaction.
So, I found that replacing "_library_main_menu" with "main_menu_screen" seems to work.
ShiraiJunichi wrote:Thanks. Though that code requires that you place the buttons and everything yourself. That's probably necessary when the animation must continue to play while waiting for the user- but the particular animation I'm doing only animates before the user interaction.
So, I found that replacing "_library_main_menu" with "main_menu_screen" seems to work.
Do you mean, like a splash page or intro animation? There are scripts for that in the Cookbook; may save you some time.
And yes, making stuff look good requires some hard work, silly. :p
Gen'sou wrote:But how can we put some music during the main menu?
Look for a line of text commented out in your options.rpy file. Uncomment it and put in the location of your music track.