音效
This commit is contained in:
parent
d8814f4153
commit
f63a2bf876
@ -29,17 +29,13 @@ AudioManager.EFFECT_ID = {
|
|||||||
LINK_SKILL = "assets/arts/sounds/sfx/battle/link_skill.wav",
|
LINK_SKILL = "assets/arts/sounds/sfx/battle/link_skill.wav",
|
||||||
BATTLE_VICTORY = "assets/arts/sounds/sfx/ui/battle_victory.wav",
|
BATTLE_VICTORY = "assets/arts/sounds/sfx/ui/battle_victory.wav",
|
||||||
BATTLE_DEFEAT = "assets/arts/sounds/sfx/ui/battle_defeat.wav",
|
BATTLE_DEFEAT = "assets/arts/sounds/sfx/ui/battle_defeat.wav",
|
||||||
SUMMON_START = "assets/arts/sounds/sfx/ui/ui_summon_start.wav",
|
SUMMON_START = "assets/arts/sounds/sfx/ui/summon_start.wav",
|
||||||
REWARD = "assets/arts/sounds/sfx/ui/reward.wav",
|
REWARD = "assets/arts/sounds/sfx/ui/reward.wav",
|
||||||
HERO_UP = "assets/arts/sounds/sfx/ui/hero_up.wav",
|
HERO_UP = "assets/arts/sounds/sfx/ui/hero_up.wav",
|
||||||
PLAYER_UP = "assets/arts/sounds/sfx/ui/player_up.wav",
|
PLAYER_UP = "assets/arts/sounds/sfx/ui/player_up.wav",
|
||||||
BOSS_WARNING = "assets/arts/sounds/sfx/battle/warning_boss.wav",
|
BOSS_WARNING = "assets/arts/sounds/sfx/battle/warning_boss.wav",
|
||||||
LINK_CANCEL = "assets/arts/sounds/sfx/battle/link_cancel.wav",
|
LINK_CANCEL = "assets/arts/sounds/sfx/battle/link_cancel.wav",
|
||||||
UI_FUNC_OPEN = "assets/arts/sounds/sfx/ui/ui_func_open.wav", -- 功能解锁
|
FUNC_OPEN = "assets/arts/sounds/sfx/ui/func_open.wav",
|
||||||
UI_HERO_LV_UP = "assets/arts/sounds/sfx/ui/ui_hero_lv_up.wav", -- 英雄升级
|
|
||||||
UI_PLAYER_LV_UP = "assets/arts/sounds/sfx/ui/ui_player_lv_up.wav", -- 角色升级
|
|
||||||
UI_REWARD_GET = "assets/arts/sounds/sfx/ui/ui_reward_get.wav", -- 奖励获取
|
|
||||||
UI_SUMMON_START = "assets/arts/sounds/sfx/ui/ui_summon_start.wav", -- 抽卡
|
|
||||||
}
|
}
|
||||||
|
|
||||||
AudioManager.BO_EFFECT_ID = {
|
AudioManager.BO_EFFECT_ID = {
|
||||||
|
|||||||
@ -20,7 +20,6 @@ function HeroManager:upgradeHero(heroId, heroEntity)
|
|||||||
if state == GConst.HeroConst.CHECK_LV_UP_STATE.COIN_NOT_ENOUGH then
|
if state == GConst.HeroConst.CHECK_LV_UP_STATE.COIN_NOT_ENOUGH then
|
||||||
ModuleManager.ShopManager:tryTriggerCoinGift()
|
ModuleManager.ShopManager:tryTriggerCoinGift()
|
||||||
end
|
end
|
||||||
|
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@ -85,6 +85,7 @@ function ModuleUnlockUI:checkShowNext()
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
self:showModuleUnlockAppearAnim()
|
self:showModuleUnlockAppearAnim()
|
||||||
|
AudioManager:playEffect(AudioManager.EFFECT_ID.FUNC_OPEN)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- 出现
|
-- 出现
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user