Przeglądaj źródła

战斗特效表现

zhaoyang 2 lat temu
rodzic
commit
229d781b99

+ 1 - 1
FGUIProject/assets/Main/components/ComSkillCard.xml

@@ -3,7 +3,7 @@
   <displayList>
     <image id="n4_qkjs" name="n4" src="qkjsjv" fileName="imagesNew/dikuang_card_light2.png" xy="-278,-129"/>
     <image id="n3_qkjs" name="n3" src="qkjskb" fileName="imagesNew/dikuang_card.png" xy="-11,1"/>
-    <component id="n0_py00" name="comCard" src="qkjso1" fileName="components/ComSkillCardMask.xml" xy="19,15"/>
+    <component id="n0_py00" name="comCard" src="o9gho0" fileName="components/ComSkillCardMask.xml" xy="19,15"/>
     <image id="n2_qkjs" name="n2" src="qkjskc" fileName="imagesNew/dikuang_card_light1.png" xy="0,-2"/>
   </displayList>
 </component>

+ 3 - 3
FGUIProject/assets/Main/components/CompFightExpBar.xml

@@ -1,13 +1,13 @@
 <?xml version="1.0" encoding="utf-8"?>
 <component size="1040,151">
   <displayList>
-    <component id="n19_qkjs" name="proExp" src="qkjso0" fileName="components/ProgressBar3.xml" xy="112,70">
+    <component id="n19_qkjs" name="proExp" src="o9gho1" fileName="components/ProgressBar3.xml" xy="112,70">
       <ProgressBar value="100" max="100"/>
     </component>
     <text id="n8_8xpg" name="txtExpAdded" xy="880,25" pivot="1,0" size="117,44" font="ui://eg2y0ldpa0cftks" fontSize="32" color="#fff1c1" leading="0" vars="true" singleLine="true" text="+EXP{value=20}"/>
     <text id="n15_qkjs" name="txtCurExp" xy="155,20" size="62,54" group="n18_qkjs" font="ui://eg2y0ldpa0cftks" fontSize="40" color="#fff1c1" leading="0" vars="true" singleLine="true" text="999"/>
-    <text id="n17_qkjs" name="n17" xy="211,31" size="17,42" group="n18_qkjs" font="ui://eg2y0ldpa0cftks" fontSize="30" color="#fff1c1" leading="0" vars="true" singleLine="true" text="/"/>
-    <text id="n16_qkjs" name="txtAllExp" xy="222,31" size="47,42" group="n18_qkjs" font="ui://eg2y0ldpa0cftks" fontSize="30" color="#fff1c1" leading="0" vars="true" singleLine="true" text="999"/>
+    <text id="n17_qkjs" name="n17" xy="211,31" size="17,41" group="n18_qkjs" font="ui://eg2y0ldpa0cftks" fontSize="30" color="#fff1c1" leading="0" vars="true" singleLine="true" text="/"/>
+    <text id="n16_qkjs" name="txtAllExp" xy="222,31" size="47,41" group="n18_qkjs" font="ui://eg2y0ldpa0cftks" fontSize="30" color="#fff1c1" leading="0" vars="true" singleLine="true" text="999"/>
     <group id="n18_qkjs" name="n18" xy="155,20" size="114,54" advanced="true" layout="hz" colGap="-6" excludeInvisibles="true"/>
     <component id="n10_wono" name="comHead" src="qkjstl8" fileName="components/ComHeadWithLv1.xml" pkg="eg2y0ldp" xy="22,26" aspect="true"/>
   </displayList>

+ 5 - 1
FGUIProject/assets/Main/components/Component2.xml

@@ -1,8 +1,12 @@
 <?xml version="1.0" encoding="utf-8"?>
-<component size="850,24">
+<component size="850,24" mask="n3_o9gh">
   <displayList>
     <component id="n1_uj53" name="bar" src="k1khe8" fileName="components/Component3.xml" xy="0,0">
       <relation target="" sidePair="width-width"/>
     </component>
+    <graph id="n2_o9gh" name="holder" xy="424,11" size="1,1"/>
+    <image id="n3_o9gh" name="imgMask" src="qkjsl9" fileName="imagesNew/pro_activate.png" xy="0,-99" size="850,239">
+      <relation target="" sidePair="width-width,height-height"/>
+    </image>
   </displayList>
 </component>

+ 7 - 7
FGUIProject/assets/Main/components/ProgressBar1.xml

@@ -3,6 +3,13 @@
   <displayList>
     <image id="n9_v95q" name="n9" src="qkjsla" fileName="imagesNew/pro_bk_in.png" xy="-36,-5"/>
     <component id="n5_rlp9" name="comBar" src="k1khe7" fileName="components/Component2.xml" xy="0,0"/>
+    <graph id="n12_weok" name="holder" xy="770,13" pivot="0.5,0.5" anchor="true" size="1,1">
+      <relation target="n5_rlp9" sidePair="right-right"/>
+    </graph>
+    <graph id="n13_weok" name="holder1" xy="424,11" pivot="0.5,0.5" size="1,1"/>
+    <image id="n10_v95q" name="imgAni" src="qkjsld" fileName="imagesNew/pro_jiguang.png" xy="845,11" pivot="0.945,0.516" anchor="true" visible="false" alpha="0.76">
+      <relation target="n5_rlp9" sidePair="right-right"/>
+    </image>
     <component id="n7_wono" name="comFirstScore" src="wonogr" fileName="components/ComScoreStage.xml" xy="348,41" pivot="0.5,1" anchor="true">
       <property target="icon" propertyId="1" value="ui://mfvz4q8kqkjsle"/>
       <property target="icon1" propertyId="1" value="ui://mfvz4q8kqkjslf"/>
@@ -15,13 +22,6 @@
       <property target="icon" propertyId="1" value="ui://mfvz4q8kqkjsl0"/>
       <property target="icon1" propertyId="1" value="ui://mfvz4q8kqkjskz"/>
     </component>
-    <image id="n10_v95q" name="imgAni" src="qkjsld" fileName="imagesNew/pro_jiguang.png" xy="845,11" pivot="0.945,0.516" anchor="true" alpha="0.76">
-      <relation target="n5_rlp9" sidePair="right-right"/>
-    </image>
-    <graph id="n12_weok" name="holder" xy="851,13" pivot="0.5,0.5" anchor="true" size="100,100">
-      <relation target="n5_rlp9" sidePair="right-right"/>
-    </graph>
-    <graph id="n13_weok" name="holder1" xy="417,11" pivot="0.5,0.5" size="1,1"/>
     <image id="n14_qkjs" name="n14" src="qkjskk" fileName="imagesNew/zdqp_dikuang.png" xy="1,30" group="n17_qkjs"/>
     <image id="n16_qkjs" name="n16" src="qkjsl1" fileName="imagesNew/font_zdsz_picture.png" xy="7,35" group="n17_qkjs"/>
     <image id="n15_qkjs" name="n15" src="qkjsk8" fileName="imagesNew/score.png" xy="52,36" group="n17_qkjs"/>

+ 1 - 1
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Main/UI_ComSkillCardMask.cs

@@ -8,7 +8,7 @@ namespace UI.Main
     {
         public GComponent target;
         public GLoader m_loaCard;
-        public const string URL = "ui://mfvz4q8kqkjso1";
+        public const string URL = "ui://mfvz4q8ko9gho0";
         public const string PACKAGE_NAME = "Main";
         public const string RES_NAME = "ComSkillCardMask";
         private static UI_ComSkillCardMask _proxy;

+ 6 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Main/UI_Component2.cs

@@ -8,6 +8,8 @@ namespace UI.Main
     {
         public GComponent target;
         public UI_Component3 m_bar;
+        public GGraph m_holder;
+        public GImage m_imgMask;
         public const string URL = "ui://mfvz4q8kk1khe7";
         public const string PACKAGE_NAME = "Main";
         public const string RES_NAME = "Component2";
@@ -56,11 +58,15 @@ namespace UI.Main
         private void Init(GComponent comp)
         {
             m_bar = (UI_Component3)UI_Component3.Create(comp.GetChild("bar"));
+            m_holder = (GGraph)comp.GetChild("holder");
+            m_imgMask = (GImage)comp.GetChild("imgMask");
         }
         public void Dispose(bool disposeTarget = false)
         {
             m_bar.Dispose();
             m_bar = null;
+            m_holder = null;
+            m_imgMask = null;
             if(disposeTarget && target != null)
             {
                 target.RemoveFromParent();

+ 9 - 9
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Main/UI_ProgressBar1.cs

@@ -8,12 +8,12 @@ namespace UI.Main
     {
         public GProgressBar target;
         public UI_Component2 m_comBar;
+        public GGraph m_holder;
+        public GGraph m_holder1;
+        public GImage m_imgAni;
         public UI_ComScoreStage m_comFirstScore;
         public UI_ComScoreStage m_comSecondScore;
         public UI_ComScoreStage m_comThirdScore;
-        public GImage m_imgAni;
-        public GGraph m_holder;
-        public GGraph m_holder1;
         public GTextField m_txtCount;
         public const string URL = "ui://mfvz4q8kvuz5bh";
         public const string PACKAGE_NAME = "Main";
@@ -63,27 +63,27 @@ namespace UI.Main
         private void Init(GComponent comp)
         {
             m_comBar = (UI_Component2)UI_Component2.Create(comp.GetChild("comBar"));
+            m_holder = (GGraph)comp.GetChild("holder");
+            m_holder1 = (GGraph)comp.GetChild("holder1");
+            m_imgAni = (GImage)comp.GetChild("imgAni");
             m_comFirstScore = (UI_ComScoreStage)UI_ComScoreStage.Create(comp.GetChild("comFirstScore"));
             m_comSecondScore = (UI_ComScoreStage)UI_ComScoreStage.Create(comp.GetChild("comSecondScore"));
             m_comThirdScore = (UI_ComScoreStage)UI_ComScoreStage.Create(comp.GetChild("comThirdScore"));
-            m_imgAni = (GImage)comp.GetChild("imgAni");
-            m_holder = (GGraph)comp.GetChild("holder");
-            m_holder1 = (GGraph)comp.GetChild("holder1");
             m_txtCount = (GTextField)comp.GetChild("txtCount");
         }
         public void Dispose(bool disposeTarget = false)
         {
             m_comBar.Dispose();
             m_comBar = null;
+            m_holder = null;
+            m_holder1 = null;
+            m_imgAni = null;
             m_comFirstScore.Dispose();
             m_comFirstScore = null;
             m_comSecondScore.Dispose();
             m_comSecondScore = null;
             m_comThirdScore.Dispose();
             m_comThirdScore = null;
-            m_imgAni = null;
-            m_holder = null;
-            m_holder1 = null;
             m_txtCount = null;
             if(disposeTarget && target != null)
             {

+ 13 - 7
GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryFightSingleScoreView.cs

@@ -30,6 +30,7 @@ namespace GFGGame
         private GameObject _gameObject2;
         private GameObject _gameObject3;
         private GameObject _gameObject4;
+        private GameObject _gameObject41;
         private GameObject _gameObject5;
         private GameObject _gameObject6;
         private GameObject _gameObject7;
@@ -44,6 +45,7 @@ namespace GFGGame
         private GoWrapper _wrapper2;
         private GoWrapper _wrapper3;
         private GoWrapper _wrapper4;
+        private GoWrapper _wrapper41;
         private GoWrapper _wrapper5;
         private GoWrapper _wrapper6;
         private GoWrapper _wrapper7;
@@ -66,6 +68,7 @@ namespace GFGGame
             SceneController.DestroyObjectFromView(_gameObject2, _wrapper2);
             SceneController.DestroyObjectFromView(_gameObject3, _wrapper3);
             SceneController.DestroyObjectFromView(_gameObject4, _wrapper4);
+            SceneController.DestroyObjectFromView(_gameObject41, _wrapper41);
             SceneController.DestroyObjectFromView(_gameObject5, _wrapper5);
             SceneController.DestroyObjectFromView(_gameObject6, _wrapper6);
             SceneController.DestroyObjectFromView(_gameObject7, _wrapper7);
@@ -104,18 +107,21 @@ namespace GFGGame
         }
         private void AddEffect()
         {
-            string resPath = ResPathUtil.GetViewEffectPath("ui_zhandou", "ui_zd_jdt_df_1");
+            string resPath = ResPathUtil.GetViewEffectPath("ui_fight_new", "upgrade01");
             SceneController.AddObjectToView(null, null, _ui.m_proScore.m_comFirstScore.m_holder, resPath, out _gameObject0, out _wrapper0);
-            string resPath1 = ResPathUtil.GetViewEffectPath("ui_zhandou", "ui_zd_jdt_df_2");
+            string resPath1 = ResPathUtil.GetViewEffectPath("ui_fight_new", "upgrade02");
             SceneController.AddObjectToView(null, null, _ui.m_proScore.m_comSecondScore.m_holder, resPath1, out _gameObject1, out _wrapper1);
-            string resPath2 = ResPathUtil.GetViewEffectPath("ui_zhandou", "ui_zd_jdt_df_3");
+            string resPath2 = ResPathUtil.GetViewEffectPath("ui_fight_new", "upgrade03");
             SceneController.AddObjectToView(null, null, _ui.m_proScore.m_comThirdScore.m_holder, resPath2, out _gameObject2, out _wrapper2);
-            string resPath3 = ResPathUtil.GetViewEffectPath("ui_zhandou", "ui_zd_jdt");
+            string resPath3 = ResPathUtil.GetViewEffectPath("ui_fight_new", "Progress_head");
             SceneController.AddObjectToView(null, null, _ui.m_proScore.m_holder, resPath3, out _gameObject3, out _wrapper3);
-            string resPath4 = ResPathUtil.GetViewEffectPath("ui_zhandou", "ui_zd_jdt_cz");
+            string resPath4 = ResPathUtil.GetViewEffectPath("ui_fight_new", "Progress_fixed");
             SceneController.AddObjectToView(null, null, _ui.m_proScore.m_holder1, resPath4, out _gameObject4, out _wrapper4);
-            string resPath5 = ResPathUtil.GetViewEffectPath("ui_zhandou", "zd_df_dfzj");
-            SceneController.AddObjectToView(null, null, _ui.m_comAllPerfect.m_holder, resPath5, out _gameObject5, out _wrapper5);
+            string resPath41 = ResPathUtil.GetViewEffectPath("ui_fight_new", "Progress_liuguang");
+            SceneController.AddObjectToView(null, null, _ui.m_proScore.m_comBar.m_holder, resPath41, out _gameObject41, out _wrapper41);
+
+            // string resPath5 = ResPathUtil.GetViewEffectPath("ui_fight_new", "zd_df_dfzj");
+            // SceneController.AddObjectToView(null, null, _ui.m_comAllPerfect.m_holder, resPath5, out _gameObject5, out _wrapper5);
 
             string resPath6 = ResPathUtil.GetViewEffectPath("ui_fight_new", "bottom_appear");
             SceneController.AddObjectToView(null, null, _ui.m_comClick.m_comResult.m_holderNormal, resPath6, out _gameObject6, out _wrapper6);

+ 12 - 4
GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryFightTargetScoreView.cs

@@ -23,6 +23,7 @@ namespace GFGGame
 
         private GameObject _gameObject1;
         private GameObject _gameObject2;
+        private GameObject _gameObject21;
         private GameObject _gameObject5;
         private GameObject _gameObject6;
         private GameObject _gameObject7;
@@ -33,6 +34,7 @@ namespace GFGGame
         private GameObject _gameObject12;
 
         private GoWrapper _wrapper2;
+        private GoWrapper _wrapper21;
         private GoWrapper _wrapper1;
         private GoWrapper _wrapper5;
         private GoWrapper _wrapper6;
@@ -64,6 +66,7 @@ namespace GFGGame
 
             SceneController.DestroyObjectFromView(_gameObject1, _wrapper1);
             SceneController.DestroyObjectFromView(_gameObject2, _wrapper2);
+            SceneController.DestroyObjectFromView(_gameObject21, _wrapper21);
             SceneController.DestroyObjectFromView(_gameObject5, _wrapper5);
             SceneController.DestroyObjectFromView(_gameObject6, _wrapper6);
             SceneController.DestroyObjectFromView(_gameObject7, _wrapper7);
@@ -82,19 +85,24 @@ namespace GFGGame
         }
         private void AddEffect()
         {
-            string resPath3 = ResPathUtil.GetViewEffectPath("ui_zhandou", "ui_zd_jdt_cz");
+            string resPath3 = ResPathUtil.GetViewEffectPath("ui_fight_new", "Progress_fixed");
             SceneController.AddObjectToView(_gameObject1, null, _ui.m_proScore.m_holder1, resPath3, out _gameObject1, out _wrapper1);
-            string resPath4 = ResPathUtil.GetViewEffectPath("ui_zhandou", "ui_zd_jdt");
+            string resPath4 = ResPathUtil.GetViewEffectPath("ui_fight_new", "Progress_head");
             SceneController.AddObjectToView(_gameObject2, null, _ui.m_proScore.m_holder, resPath4, out _gameObject2, out _wrapper2);
-            string resPath5 = ResPathUtil.GetViewEffectPath("ui_zhandou", "zd_df_dfzj");
-            SceneController.AddObjectToView(null, null, _ui.m_comAllPerfect.m_holder, resPath5, out _gameObject5, out _wrapper5);
+            string resPath41 = ResPathUtil.GetViewEffectPath("ui_fight_new", "Progress_liuguang");
+            SceneController.AddObjectToView(null, null, _ui.m_proScore.m_comBar.m_holder, resPath41, out _gameObject21, out _wrapper21);
 
             string resPath6 = ResPathUtil.GetViewEffectPath("ui_fight_new", "bottom_appear");
             SceneController.AddObjectToView(null, null, _ui.m_comClick.m_comResult.m_holderNormal, resPath6, out _gameObject6, out _wrapper6);
             string resPath7 = ResPathUtil.GetViewEffectPath("ui_fight_new", "circle");
             SceneController.AddObjectToView(null, null, _ui.m_comClick.m_comResult.m_holderCircle, resPath7, out _gameObject7, out _wrapper7);
+            // string resPath5 = ResPathUtil.GetViewEffectPath("ui_fight_new", "zd_df_dfzj");
+            // SceneController.AddObjectToView(null, null, _ui.m_comAllPerfect.m_holder, resPath5, out _gameObject5, out _wrapper5);
+
+
             string resPath8 = ResPathUtil.GetViewEffectPath("ui_fight_new", "Lose_animation");
             SceneController.AddObjectToView(null, null, _ui.m_comClick.m_comResult.m_holder0, resPath8, out _gameObject8, out _wrapper8);
+
             string resPath9 = ResPathUtil.GetViewEffectPath("ui_fight_new", "Good_animation");
             SceneController.AddObjectToView(null, null, _ui.m_comClick.m_comResult.m_holder1, resPath9, out _gameObject9, out _wrapper9);
             string resPath10 = ResPathUtil.GetViewEffectPath("ui_fight_new", "Perfect_animation");

BIN
GameClient/Assets/ResIn/UI/Main/Main_atlas0!a.png


BIN
GameClient/Assets/ResIn/UI/Main/Main_atlas0.png


BIN
GameClient/Assets/ResIn/UI/Main/Main_fui.bytes