瀏覽代碼

美化UI;热更、血条、加载、公共对话框

大爷 1 年之前
父節點
當前提交
53bdb1a723

+ 4 - 4
FGUIProject/assets/CheckForResUpdate/CheckForResUpdate.xml

@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="utf-8"?>
-<component size="900,1600">
+<component size="1125,2000">
   <displayList>
-    <image id="n7_j5ra" name="n7" src="j5ra7" fileName="bg.png" xy="0,0"/>
-    <component id="n1_rfuv" name="processbar" src="rfuv4" fileName="CheckForResUpdateBar.xml" xy="20,1340" size="866,27">
+    <image id="n8_kxgt" name="n8" src="kxgt8" fileName="背景.png" xy="0,0" size="1125,2000"/>
+    <component id="n1_rfuv" name="processbar" src="rfuv4" fileName="CheckForResUpdateBar.xml" xy="120,1689" size="866,27">
       <ProgressBar value="100" max="100"/>
     </component>
-    <text id="n2_rfuv" name="updateInfo" xy="0,1365" size="900,43" fontSize="30" color="#00ffff" align="center" vAlign="middle" autoSize="none" bold="true" strokeColor="#000000" strokeSize="0.2" text="正在为您检查版本更新:100%"/>
+    <text id="n2_rfuv" name="updateInfo" xy="0,1719" size="1125,56" fontSize="42" color="#ffffff" align="center" vAlign="middle" autoSize="none" bold="true" strokeColor="#000000" strokeSize="0.2" text="正在为您检查版本更新:100%"/>
   </displayList>
 </component>

二進制
FGUIProject/assets/CheckForResUpdate/bg.png


+ 1 - 1
FGUIProject/assets/CheckForResUpdate/package.xml

@@ -5,7 +5,7 @@
     <image id="rfuv1" name="Bar.PNG" path="/"/>
     <image id="rfuv3" name="BarBackGround.PNG" path="/" scale="9grid" scale9grid="40,10,50,20"/>
     <component id="rfuv4" name="CheckForResUpdateBar.xml" path="/"/>
-    <image id="j5ra7" name="bg.png" path="/"/>
+    <image id="kxgt8" name="背景.png" path="/"/>
   </resources>
   <publish name="" path="../Unity/Assets/Resources/FGUI/" packageCount="2" codePath="../Unity\Assets\Scripts\Loader\MonoBehaviour"/>
 </packageDescription>

二進制
FGUIProject/assets/CheckForResUpdate/背景.png


+ 9 - 9
FGUIProject/assets/CommonDialog/CommonDialog.xml

@@ -1,22 +1,22 @@
 <?xml version="1.0" encoding="utf-8"?>
-<component size="1600,2500">
+<component size="1125,2000">
   <displayList>
-    <image id="n0_ifyf" name="n0" src="ifyf0" fileName="banzi_da.png" xy="213,849" size="1200,786">
+    <image id="n0_ifyf" name="n0" src="ifyf0" fileName="banzi_da.png" xy="75,692" size="1000,600">
       <relation target="" sidePair="center-center,middle-middle"/>
     </image>
-    <text id="n1_ifyf" name="txt_title" xy="529,872" size="573,69" fontSize="52" color="#66ffff" align="center" vAlign="middle" autoSize="none" bold="true" text="标题">
+    <text id="n1_ifyf" name="txt_title" xy="291,705" size="573,69" fontSize="52" color="#66ffff" align="center" vAlign="middle" autoSize="none" bold="true" text="标题">
       <relation target="n0_ifyf" sidePair="center-center,top-top"/>
     </text>
-    <text id="n2_ifyf" name="txt_content" xy="270,976" size="1082,545" fontSize="40" color="#66ffff" align="center" vAlign="middle" autoSize="none" text="内容">
+    <text id="n2_ifyf" name="txt_content" xy="109,784" size="933,375" fontSize="40" color="#66ffff" align="center" vAlign="middle" autoSize="none" text="内容">
       <relation target="" sidePair="center-center,middle-middle"/>
     </text>
-    <component id="n7_ifyf" name="btn_no" src="ifyf5" fileName="tow_cancel.xml" xy="436,1530" size="250,75" group="n9_ifyf"/>
-    <component id="n8_ifyf" name="btn_yes" src="ifyf2" fileName="one_confirm.xml" xy="943,1528" size="250,75" group="n9_ifyf"/>
-    <group id="n9_ifyf" name="twobutton" xy="436,1528" size="757,77" advanced="true">
+    <component id="n7_ifyf" name="btn_no" src="ifyf5" fileName="tow_cancel.xml" xy="198,1187" size="250,75" group="n9_ifyf"/>
+    <component id="n8_ifyf" name="btn_yes" src="ifyf2" fileName="one_confirm.xml" xy="705,1185" size="250,75" group="n9_ifyf"/>
+    <group id="n9_ifyf" name="twobutton" xy="198,1185" size="757,77" advanced="true">
       <relation target="n0_ifyf" sidePair="bottom-bottom,center-center"/>
     </group>
-    <component id="n3_ifyf" name="btn_ok" src="ifyf2" fileName="one_confirm.xml" xy="663,1535" size="300,75" group="n10_ifyf"/>
-    <group id="n10_ifyf" name="onebutton" xy="663,1535" size="300,75" advanced="true">
+    <component id="n3_ifyf" name="btn_ok" src="ifyf2" fileName="one_confirm.xml" xy="425,1192" size="300,75" group="n10_ifyf"/>
+    <group id="n10_ifyf" name="onebutton" xy="425,1192" size="300,75" advanced="true">
       <relation target="n0_ifyf" sidePair="center-center,bottom-bottom"/>
     </group>
   </displayList>

+ 3 - 3
FGUIProject/assets/HeadBar/normalbar.xml

@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="utf-8"?>
-<component size="180,56" pivot="0.5,1" anchor="true" opaque="false" designImageAlpha="34">
+<component size="150,48" pivot="0.5,1" anchor="true" opaque="false" designImageAlpha="34">
   <displayList>
-    <text id="n27_n0ac" name="text_name" xy="0,0" size="180,40" fontSize="28" align="center" autoSize="none" text="这是我的名字"/>
-    <component id="n28_gb8x" name="bar_hp" src="gb8xl" fileName="ProgressBar1.xml" xy="0,45" size="180,11">
+    <text id="n27_n0ac" name="text_name" xy="0,0" size="150,34" fontSize="24" align="center" autoSize="none" text="这是我的名字"/>
+    <component id="n28_gb8x" name="bar_hp" src="gb8xl" fileName="ProgressBar1.xml" xy="35,35" size="80,11">
       <ProgressBar value="50" max="100"/>
     </component>
     <component id="n29_gb8x" name="bar_mp" src="gb8xl" fileName="ProgressBar1.xml" xy="31,35" visible="false">

+ 2 - 3
FGUIProject/assets/Loading/Loading.xml

@@ -1,13 +1,12 @@
 <?xml version="1.0" encoding="utf-8"?>
-<component size="900,1600" bgColor="#666666">
+<component size="1125,2000" bgColor="#666666">
   <displayList>
-    <image id="n6_fx9l" name="circle" src="fx9l7" fileName="UIMajorCity_48.PNG" xy="427,759">
+    <image id="n6_fx9l" name="circle" src="fx9l7" fileName="UIMajorCity_48.PNG" xy="539,959">
       <relation target="" sidePair="center-center,middle-middle"/>
     </image>
   </displayList>
   <transition name="t0" autoPlay="true" autoPlayRepeat="-1">
     <item time="0" type="Pivot" target="n6_fx9l" value="0.5,0.5"/>
     <item time="0" type="Rotation" target="n6_fx9l" tween="true" startValue="0" endValue="360" duration="12" ease="Linear"/>
-    <item time="12" type="Rotation" target="n6_fx9l" value="360"/>
   </transition>
 </component>

二進制
Unity/Assets/Res/FGUI/CommonDialog_fui.bytes


二進制
Unity/Assets/Res/FGUI/HeadBar_fui.bytes


二進制
Unity/Assets/Res/FGUI/Loading_fui.bytes


二進制
Unity/Assets/Resources/FGUI/CheckForResUpdate_atlas0.png


二進制
Unity/Assets/Resources/FGUI/CheckForResUpdate_fui.bytes