Main Menu
  • Welcome to The RPG Maker Resource Kit.

Play BGM on Load Menu

Started by D&P3, August 13, 2012, 09:45:44 AM

0 Members and 1 Guest are viewing this topic.

D&P3

Play BGM on Loading Menu
Version: 1.0
Author: DiamondandPlatinum3
Date: August 13, 2012




Planned Future Versions

  • None

    Description


    This script allows you to play BGM on the Loading menu. When you select 'Continue' from the title screen and are taken to the file selection screen, new BGM will play instead of the same title screen music.
    Similar to Pokemon Gold, Silver, Crystal.

    Features

  • Plays an alternative BGM on Load menu.

    Screenshots

    Cannot Screenshot Audio, I'm afraid :o


    Instructions

  • Paste the script under your materials section in your script editor but above main.
  • Just take a look at the editable region and modify things appropriately.


    Script




    # Play BGM on loading menu
    # Code snippet by DiamondandPlatinum3

    class Scene_Load < Scene_File
      #======================================
      #       Editable Region
      #======================================
      BGM_MUSIC_FOR_LOAD_SCREEN  = "Scene6"
      BGM_VOLUME                 = 100
      BGM_PITCH                  = 100
      #======================================
     
     
     
     
      alias play_music_onloadscreen first_savefile_index
      def first_savefile_index
        RPG::BGM.new(BGM_MUSIC_FOR_LOAD_SCREEN, BGM_VOLUME, BGM_PITCH).play
        play_music_onloadscreen
      end
    end


    Credit




    • DP3 / DiamondandPlatinum3

    Thanks




    • Pacman ~ No special reason, just wanted to put him on the thanks list.


    Support



    Post in this thread or PM me.

    Known Compatibility Issues
    I am unaware of any scripts it doesn't work with; if you find any, post in this thread.

    Demo



    A demo is unnecessary for a script such as this.

    Author's Notes


    This weeks scripting has been brought to you by the letter C, as in
    'Chocolate milk is delicious'.

    Terms of Use



    If you can find a use for it, this script is free to use in non-commercial games. If you want to use this script in a commercial game, please understand that I expect a free copy (that's means you PM me and let me know that you plan on using it for a commercial game).
All of my scripts are totally free to use for commercial use. You don't need to ask me for permission. I'm too lazy to update every single script post I ever made with this addendum. So ignore whatever "rule" I posted there. :)

All scripts can be found at: https://pastebin.com/u/diamondandplatinum3