战斗结算界面动效

This commit is contained in:
xiekaidong 2023-04-24 15:10:09 +08:00
parent 63f4851117
commit 6527e9f2ec

View File

@ -70,6 +70,9 @@ function BattleResultUI:refreshVictoryNode()
uiMap["battle_result_ui.defeat_node"]:setActive(false) uiMap["battle_result_ui.defeat_node"]:setActive(false)
uiMap["battle_result_ui.victory_node"]:setActive(true) uiMap["battle_result_ui.victory_node"]:setActive(true)
uiMap["battle_result_ui.victory_node.title_bg.desc"]:setText(I18N:getGlobalText(I18N.GlobalConst.BATTLE_DESC_5)) uiMap["battle_result_ui.victory_node.title_bg.desc"]:setText(I18N:getGlobalText(I18N.GlobalConst.BATTLE_DESC_5))
uiMap["battle_result_ui.victory_node.ui_spine_obj"]:playAnimComplete("born", true, true, function()
uiMap["battle_result_ui.victory_node.ui_spine_obj"]:playAnim("idle", true, true)
end)
end end
function BattleResultUI:refreshDefeatNode() function BattleResultUI:refreshDefeatNode()
@ -79,6 +82,7 @@ function BattleResultUI:refreshDefeatNode()
uiMap["battle_result_ui.defeat_node"]:setActive(true) uiMap["battle_result_ui.defeat_node"]:setActive(true)
uiMap["battle_result_ui.victory_node"]:setActive(false) uiMap["battle_result_ui.victory_node"]:setActive(false)
uiMap["battle_result_ui.defeat_node.title_bg.desc"]:setText(I18N:getGlobalText(I18N.GlobalConst.BATTLE_DESC_6)) uiMap["battle_result_ui.defeat_node.title_bg.desc"]:setText(I18N:getGlobalText(I18N.GlobalConst.BATTLE_DESC_6))
uiMap["battle_result_ui.defeat_node.ui_spine_obj"]:playAnim("idle", false, true)
end end
function BattleResultUI:refreshRewards() function BattleResultUI:refreshRewards()