#========================
# 不同標題音樂 By: Panda King
#========================
# 插入main以上
#========================
module Panda_Title_Music
Music = ["Scene1","Scene2","Scene3"] #音樂的檔案名稱 如不需要就留空
Music_Var = 1 #控制音樂的變量 標題BGM會改為music中的第N曲.
end
class Scene_Title < Scene_Base
include Panda_Title_Music
def play_title_music
if !Music.nil?
if $game_variables[Music_Var] >= 1
RPG::BGM.new(Music[$game_variables[Music_Var]-1], 100, 100).play
else
$data_system.title_bgm.play
end
else
$data_system.title_bgm.play
end
RPG::BGS.stop
RPG::ME.stop
end
end
#========================
# 不同標題音樂 By: Panda King
#========================
# 插入main以上
#========================
module Panda_Title_Music
Music = ["Scene1","Scene2","Scene3"] #音樂的檔案名稱 如不需要就留空
Music_Var = 1 #控制音樂的變量 標題BGM會改為music中的第N曲.
end
class Scene_Title < Scene_Base
include Panda_Title_Music
def play_title_music
if !Music.nil?
if $game_variables[Music_Var] >= 1
RPG::BGM.new(Music[$game_variables[Music_Var]-1], 100, 100).play
else
$data_system.title_bgm.play
end
else
$data_system.title_bgm.play
end
RPG::BGS.stop
RPG::ME.stop
end
end