浏览代码

主界面动效放出来,调整新手引导问题

huangxiaoyue 2 年之前
父节点
当前提交
8b6b6a8c26

+ 12 - 12
FGUIProject/assets/Main/MainUI.xml

@@ -62,27 +62,27 @@
     <image id="n94_jx6z" name="n94" src="jx6zp3" fileName="imagesNew/zjm_dibutb_db.png" xy="1,1745" group="n52_qqat">
       <relation target="" sidePair="bottom-bottom"/>
     </image>
-    <component id="n4_q08x" name="btnMain" src="q08xu" fileName="components/ButtonModle1.xml" xy="880,1754" size="310,275" group="n52_qqat">
+    <component id="n4_q08x" name="btnMain" src="q08xu" fileName="components/ButtonModle1.xml" xy="725,1616" size="310,275" group="n52_qqat">
       <relation target="" sidePair="bottom-bottom"/>
       <Button icon="ui://mfvz4q8kv482fm"/>
       <property target="loaLockIcon" propertyId="1" value="ui://mfvz4q8kv95qhs"/>
     </component>
-    <component id="n5_q08x" name="btnHuanZhuang" src="q08xu" fileName="components/ButtonModle1.xml" xy="104,1782" group="n52_qqat">
+    <component id="n5_q08x" name="btnHuanZhuang" src="q08xu" fileName="components/ButtonModle1.xml" xy="25,1675" group="n52_qqat">
       <relation target="" sidePair="bottom-bottom"/>
       <Button icon="ui://mfvz4q8kv482fn"/>
       <property target="loaLockIcon" propertyId="1" value="ui://mfvz4q8kv95qht"/>
     </component>
-    <component id="n7_q08x" name="btnXiuFang" src="q08xu" fileName="components/ButtonModle1.xml" xy="287,1782" group="n52_qqat">
+    <component id="n7_q08x" name="btnXiuFang" src="q08xu" fileName="components/ButtonModle1.xml" xy="208,1675" group="n52_qqat">
       <relation target="" sidePair="bottom-bottom"/>
       <Button icon="ui://mfvz4q8kv482fo"/>
       <property target="loaLockIcon" propertyId="1" value="ui://mfvz4q8kv95qhu"/>
     </component>
-    <component id="n8_q08x" name="btnCiPai" src="q08xu" fileName="components/ButtonModle1.xml" xy="470,1782" group="n52_qqat">
+    <component id="n8_q08x" name="btnCiPai" src="q08xu" fileName="components/ButtonModle1.xml" xy="391,1675" group="n52_qqat">
       <relation target="" sidePair="bottom-bottom"/>
       <Button icon="ui://mfvz4q8kv482fp"/>
       <property target="loaLockIcon" propertyId="1" value="ui://mfvz4q8kv95qhv"/>
     </component>
-    <component id="n6_q08x" name="btnZhaiXing" src="q08xu" fileName="components/ButtonModle1.xml" xy="635,1782" group="n52_qqat">
+    <component id="n6_q08x" name="btnZhaiXing" src="q08xu" fileName="components/ButtonModle1.xml" xy="556,1675" group="n52_qqat">
       <relation target="" sidePair="bottom-bottom"/>
       <Button icon="ui://mfvz4q8kv482fq"/>
       <property target="loaLockIcon" propertyId="1" value="ui://mfvz4q8kv95qhw"/>
@@ -149,16 +149,16 @@
     <item time="0" type="Visible" target="n58_oju1" value="true"/>
   </transition>
   <transition name="openViewAction" options="4">
-    <item time="0" type="Alpha" target="n94_jx6z" tween="true" startValue="0" endValue="1" duration="24"/>
-    <item time="0" type="XY" target="n4_q08x" tween="true" startValue="880,2054" endValue="880,1754.5" duration="24"/>
+    <item time="0" type="Alpha" target="n94_jx6z" tween="true" startValue="0" endValue="1" duration="18"/>
+    <item time="0" type="XY" target="n4_q08x" tween="true" startValue="725,1916" endValue="725,1616" duration="16"/>
     <item time="0" type="XY" target="n57_oju1" tween="true" startValue="1089,334,1.008,0.174" endValue="891,334,0.825,0.174" duration="12"/>
-    <item time="0" type="XY" target="n5_q08x" tween="true" startValue="104,2082" endValue="104,1782" duration="4"/>
+    <item time="0" type="XY" target="n5_q08x" tween="true" startValue="25,1975" endValue="25,1675" duration="5"/>
     <item time="0" type="XY" target="n61_r9ri" tween="true" startValue="-412,160,-0.381,0.083" endValue="30,160,0.028,0.083" duration="12"/>
-    <item time="0" type="XY" target="n6_q08x" tween="true" startValue="635,2082" endValue="635,1782" duration="19"/>
-    <item time="0" type="XY" target="n7_q08x" tween="true" startValue="287,2082" endValue="287,1782" duration="9"/>
+    <item time="0" type="XY" target="n6_q08x" tween="true" startValue="556,1975" endValue="556,1675" duration="14"/>
+    <item time="0" type="XY" target="n7_q08x" tween="true" startValue="208,1975" endValue="208,1675" duration="8"/>
     <item time="0" type="XY" target="n88_ktf2" tween="true" startValue="1141,162" endValue="549,162" duration="6"/>
     <item time="0" type="XY" target="n89_vols" tween="true" startValue="-415,314,-0.384,0.164" endValue="0,314,0,0.164" duration="12"/>
-    <item time="0" type="XY" target="n8_q08x" tween="true" startValue="470,2082" endValue="470,1782" duration="14"/>
-    <item time="24" type="Alpha" target="n94_jx6z" value="1"/>
+    <item time="0" type="XY" target="n8_q08x" tween="true" startValue="391,1975" endValue="391,1675" duration="11"/>
+    <item time="18" type="Alpha" target="n94_jx6z" value="1"/>
   </transition>
 </component>

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

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<component size="158,214" pivot="0.5,0.5" anchor="true" extention="Button">
+<component size="158,214" extention="Button">
   <controller name="button" pages="0,up,1,down,2,over,3,selectedOver" selected="0"/>
   <displayList>
     <graph id="n2_lki4" name="holder" xy="79,107" size="0,0" touchable="false">

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/MainUI/MainUIView.cs

@@ -235,7 +235,7 @@ namespace GFGGame
             Timers.inst.AddUpdate(CheckGuide);
             Timers.inst.AddUpdate(Update);
 
-            //_ui.m_openViewAction.Play();
+            _ui.m_openViewAction.Play();
         }
 
         protected override void OnHide()

二进制
GameClient/Assets/ResIn/UI/Main/Main_fui.bytes