Making the title screen music start when the "Powered by MV" logo appears.

Discussion in 'RPG Maker MV' started by Joshua1993, Aug 24, 2018.

Thread Status:
Not open for further replies.
  1. Joshua1993

    Joshua1993 Villager Member

    Messages:
    10
    Likes Received:
    0
    First Language:
    English
    Primarily Uses:
    RMMV
    Hello everyone, I've noticed that if you import your own music and use it as the title screen theme that there is a slight pause before the music starts. So... I was wondering if there's any way I can make the music start when the "Powered by MV" screen pops up. I think this would be a much better system than the one currently in place. But, how would I go about doing that? Please help me...

    P.S.: This is my title screen music, I composed it myself! :)

     
    Last edited: Aug 24, 2018
    #1
  2. Bex

    Bex Veteran Veteran

    Messages:
    1,267
    Likes Received:
    300
    First Language:
    German
    Primarily Uses:
    RMMV
    Is this happening with the Browser Version of Games? I remember reading something about a pre Loader, so music will not take seconds to start.
    Did not use it yet. Maybe someone else can help or knows more.

    Nice Music
     
    #2
  3. Engr. Adiktuzmiko

    Engr. Adiktuzmiko Chemical Engineer, Game Developer, Using BlinkBoy' Veteran

    Messages:
    14,640
    Likes Received:
    2,969
    Location:
    Philippines
    First Language:
    Tagalog
    Default behavior of MV is that the BGM is only started once the Scene_Title begins, and the MV splash is a different scene (Scene_Splash) that is ran before Scene_Title

    go to the MadeWithMV.js file, find
    Code:
    SceneManager.goto(Scene_Splash);
    (its near the top portion of the actual code part)
    and add this before that line:

    Code:
    AudioManager.playBgm($dataSystem.titleBgm);
    If it still starts slightly later, then its more of due to the delay in loading of the sound file itself, which is something I dont know if you can do much with. You can try preloading the sound first and checking it before the splash image is shown, but I dont know how to do that check right now.
     
    #3
    Stlove48 likes this.
  4. Joshua1993

    Joshua1993 Villager Member

    Messages:
    10
    Likes Received:
    0
    First Language:
    English
    Primarily Uses:
    RMMV
    Thank you so much
     
    #4
  5. Joshua1993

    Joshua1993 Villager Member

    Messages:
    10
    Likes Received:
    0
    First Language:
    English
    Primarily Uses:
    RMMV
    Thank you so much, I will have to try that.
     
    #5
  6. Stlove48

    Stlove48 Warper Member

    Messages:
    2
    Likes Received:
    0
    First Language:
    English
    This is super helpful.
     
    #6
Thread Status:
Not open for further replies.

Share This Page