加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员
x
本帖最后由 Sion 于 2014-1-31 01:15 编辑
并不是我自己的,忘了是谁的了
#============================================================================== # ■ BattleManager #------------------------------------------------------------------------------ # 战斗过程的管理器。 #============================================================================== #定义音乐(必须改成你想要的歌名) $BattleMusic= [ "Battle1", "Battle2", "Battle3", "Battle4", "Battle5", "Battle6", "Battle7", "Battle8", "Battle9" ] module BattleManager #-------------------------------------------------------------------------- # ● 播放战斗 BGM #-------------------------------------------------------------------------- def self.play_battle_bgm @p=rand($BattleMusic.size) Audio.bgm_play("Audio/BGM/" + $BattleMusic[@p]) RPG::BGS.stop end end
#==============================================================================
# ■ BattleManager
#------------------------------------------------------------------------------
# 战斗过程的管理器。
#==============================================================================
#定义音乐(必须改成你想要的歌名)
$BattleMusic=
[
"Battle1",
"Battle2",
"Battle3",
"Battle4",
"Battle5",
"Battle6",
"Battle7",
"Battle8",
"Battle9"
]
module BattleManager
#--------------------------------------------------------------------------
# ● 播放战斗 BGM
#--------------------------------------------------------------------------
def self.play_battle_bgm
@p=rand($BattleMusic.size)
Audio.bgm_play("Audio/BGM/" + $BattleMusic[@p])
RPG::BGS.stop
end
end
不知道有没有撞车 |