Browse Source

单人战斗速度

zhaoyang 2 years ago
parent
commit
a98ff97fb8

+ 7 - 7
FGUIProject/assets/Main/StoryFightSingleScoreUI.xml

@@ -16,7 +16,7 @@
     </component>
     <component id="n42_wono" name="comScoreStage" src="wonoh2" fileName="components/ComSingleScoreStage.xml" xy="1022,108" pivot="0.5,0.5" anchor="true"/>
     <loader id="n40_wono" name="loaGlass" xy="402,823" pivot="0.5,0.5" size="274,274" scale="0,0" url="ui://mfvz4q8kwonogt" align="center" vAlign="middle"/>
-    <component id="n4_n0js" name="comClickCircle" src="n0js9b" fileName="components/comClickCircle.xml" xy="120,1439" pivot="0.5,0.5" scale="0,0"/>
+    <component id="n4_n0js" name="comClickCircle" src="n0js9b" fileName="components/comClickCircle.xml" xy="402,823" pivot="0.5,0.5" scale="0,0"/>
     <component id="n36_jj0m" name="btnSpeedUp" src="jj0mdl" fileName="componentsDialog/ButtonSpeedUp1.xml" xy="915,1627">
       <relation target="" sidePair="right-right,bottom-bottom"/>
       <Button title="x1"/>
@@ -41,12 +41,12 @@
     <item time="0" type="Alpha" target="n40_wono" value="0"/>
     <item time="0" type="Rotation" target="n40_wono" value="0"/>
     <item time="0" type="Scale" target="n40_wono" value="1,1"/>
-    <item time="0" type="Scale" target="n4_n0js" tween="true" startValue="0,0" endValue="1,1" duration="18" ease="Elastic.Out"/>
-    <item time="18" type="Alpha" target="n40_wono" tween="true" startValue="0" endValue="1" duration="12" ease="Linear"/>
-    <item time="48" type="Rotation" target="n40_wono" tween="true" startValue="0" endValue="360" duration="12" ease="Linear"/>
-    <item time="48" type="Scale" target="n40_wono" tween="true" startValue="1,1" endValue="0,0" duration="12" ease="Linear"/>
-    <item time="48" type="XY" target="n40_wono" label="start" tween="true" startValue="402,822" endValue="539.5,108" duration="12" label2="end" ease="Linear"/>
-    <item time="49" type="Scale" target="n4_n0js" value="0,0"/>
+    <item time="0" type="Scale" target="n4_n0js" tween="true" startValue="0,0" endValue="1,1" duration="12" ease="Elastic.Out"/>
+    <item time="12" type="Alpha" target="n40_wono" tween="true" startValue="0" endValue="1" duration="12" ease="Linear"/>
+    <item time="36" type="Rotation" target="n40_wono" tween="true" startValue="0" endValue="360" duration="12" ease="Linear"/>
+    <item time="36" type="Scale" target="n40_wono" tween="true" startValue="1,1" endValue="0,0" duration="12" ease="Linear"/>
+    <item time="36" type="Scale" target="n4_n0js" value="0,0"/>
+    <item time="36" type="XY" target="n40_wono" label="start" tween="true" startValue="402,822" endValue="539.5,108" duration="12" label2="end" ease="Linear"/>
   </transition>
   <transition name="t2">
     <item time="0" type="Alpha" target="n51_wono" tween="true" startValue="0" endValue="1" duration="12" ease="Linear"/>

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Constant/ConstScoreSystem.cs

@@ -26,7 +26,7 @@ namespace GFGGame
         //小圈收缩时间
         public const float SMALL_CIRCLE_TIME = 1;
         //刷新下一个圈的等待时间
-        public const float REFRESH_CIRCLE_WITE_TIME = 0.5f;
+        public const float REFRESH_CIRCLE_WITE_TIME = 0.3f;
         //完成一个圈的总时间
         public const float COMPLETION_CIRCLE_TIME = BIG_CIRCLE_TIME + SMALL_CIRCLE_TIME + REFRESH_CIRCLE_WITE_TIME;
         //登峰造极长按时间

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

@@ -166,7 +166,7 @@ namespace GFGGame
             double proportion = _score / _ui.m_proScore.target.max;
             float width = (float)(proportion * _ui.m_proScore.target.width);
             width = width > _ui.m_proScore.m_comBar.target.initWidth ? _ui.m_proScore.m_comBar.target.initWidth : width;
-            GTween.To(_ui.m_proScore.m_comBar.target.width, width, 0.5f).SetTarget(_ui.m_proScore.m_comBar).OnUpdate((GTweener t) =>
+            GTween.To(_ui.m_proScore.m_comBar.target.width, width, 0.3f).SetTarget(_ui.m_proScore.m_comBar).OnUpdate((GTweener t) =>
                 {
                     _ui.m_proScore.m_comBar.target.width = t.value.x;
                 }).OnComplete(() =>

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