[SOLVED] Fade-in to Main Menu? (as of March 31st, 2018)

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
017Bluefield
Regular
Posts: 93
Joined: Mon Dec 30, 2013 1:55 am
Projects: Project Bluefield - Origins
Organization: Autumn Rain
Deviantart: playerzero17
itch: autumn-rain
Contact:

[SOLVED] Fade-in to Main Menu? (as of March 31st, 2018)

#1 Post by 017Bluefield »

I don't know if this was answered recently already, but I'm trying to find an answer to the "fade into main menu upon startup" question for Ren'Py version 6.99.14.1.3218.

I already know the code used back in 2006...

Code: Select all

label main_menu:
    with None
    $ renpy.transition(dissolve)

    jump _library_main_menu
...but I've tried it now, and it doesn't work. Ren'Py doesn't seem to know what _library_main_menu is. All in all, I'm stuck. Any insight?
Last edited by 017Bluefield on Fri Jun 15, 2018 12:58 am, edited 1 time in total.

User avatar
IrinaLazareva
Veteran
Posts: 399
Joined: Wed Jun 08, 2016 1:49 pm
Projects: Legacy
Organization: SunShI
Location: St.Petersburg, Russia
Contact:

Re: Fade-in to Main Menu? (as of March 31st, 2018)

#2 Post by IrinaLazareva »

Try main_menu_screen instead.

Code: Select all

label main_menu:
    with None
    $ renpy.transition(dissolve)
    jump main_menu_screen

017Bluefield
Regular
Posts: 93
Joined: Mon Dec 30, 2013 1:55 am
Projects: Project Bluefield - Origins
Organization: Autumn Rain
Deviantart: playerzero17
itch: autumn-rain
Contact:

Re: Fade-in to Main Menu? (as of March 31st, 2018)

#3 Post by 017Bluefield »

Ah, great! That seemed to work!

Last thing: I can start a main-menu song to play as the transition plays, right? Or is it not that simple?

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3791
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: Fade-in to Main Menu? (as of March 31st, 2018)

#4 Post by Imperf3kt »

There's a default transition for when loading the main menu in options.rpy
You could also use a before_main_menu label
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

User avatar
IrinaLazareva
Veteran
Posts: 399
Joined: Wed Jun 08, 2016 1:49 pm
Projects: Legacy
Organization: SunShI
Location: St.Petersburg, Russia
Contact:

Re: Fade-in to Main Menu? (as of March 31st, 2018)

#5 Post by IrinaLazareva »

017Bluefield wrote: Sat Mar 31, 2018 4:44 am Last thing: I can start a main-menu song to play as the transition plays, right? Or is it not that simple?
It is better to set main-menu song with the line (in options.rpy)

Code: Select all

define config.main_menu_music =....
Other options can lead to certain problems..

017Bluefield
Regular
Posts: 93
Joined: Mon Dec 30, 2013 1:55 am
Projects: Project Bluefield - Origins
Organization: Autumn Rain
Deviantart: playerzero17
itch: autumn-rain
Contact:

Re: Fade-in to Main Menu? (as of March 31st, 2018)

#6 Post by 017Bluefield »

IrinaLazareva wrote: Sun Apr 01, 2018 3:24 am
017Bluefield wrote: Sat Mar 31, 2018 4:44 am Last thing: I can start a main-menu song to play as the transition plays, right? Or is it not that simple?
It is better to set main-menu song with the line (in options.rpy)

Code: Select all

define config.main_menu_music =....
Other options can lead to certain problems..
Thank you! ;^^

Post Reply

Who is online

Users browsing this forum: Ocelot, Semrush [Bot]