Browse Source

主角信息资源替换

zhaoyang 3 years ago
parent
commit
7ba98b32b9

+ 21 - 19
FGUIProject/assets/Main/RoleInfoUI.xml

@@ -1,32 +1,34 @@
 <?xml version="1.0" encoding="utf-8"?>
-<component size="912,644">
+<component size="878,1044">
   <displayList>
-    <loader id="n0_d4iw" name="bg" xy="0,0" size="912,644" url="ui://mk0fwx0xq08x4" fill="scaleFree"/>
-    <image id="n3_d4iw" name="n3" src="ga16f" fileName="imagesExport/zx_jq_djdikbti.png" pkg="eg2y0ldp" xy="9,8"/>
-    <text id="n2_d4iw" name="txtTitle" xy="93,22" size="726,56" fontSize="42" color="#ffffff" align="center" autoSize="none" text="个人信息"/>
-    <component id="n4_d4iw" name="n4" src="kubi7h" fileName="components/CompHeadWithBg.xml" xy="70,136"/>
-    <text id="n5_d4iw" name="txtRoleName" xy="264,139" size="172,57" fontSize="42" color="#8781dd" text="角色名称"/>
-    <text id="n6_d4iw" name="n6" xy="264,209" size="60,39" fontSize="28" color="#8781dd" text="等级"/>
-    <text id="n7_d4iw" name="n7" xy="264,254" size="60,39" fontSize="28" color="#8781dd" text="经验"/>
-    <text id="n8_d4iw" name="txtLvl" xy="353,209" size="20,39" fontSize="28" color="#ababec" text="1"/>
-    <component id="n9_d4iw" name="proBarExp" src="d4iw6m" fileName="components/ProgressBarExp2.xml" xy="353,271" size="485,16">
-      <ProgressBar value="50" max="100"/>
+    <loader id="n0_d4iw" name="bg" xy="0,0" size="878,1044" url="ui://mfvz4q8kmhyhd5" fill="scaleFree" autoSize="true"/>
+    <image id="n23_mhyh" name="n23" src="mhyhd7" fileName="images/grxx_mzk_1.png" xy="287,313"/>
+    <text id="n2_d4iw" name="txtTitle" xy="93,22" size="726,56" visible="false" fontSize="42" color="#ffffff" align="center" autoSize="none" text="个人信息"/>
+    <component id="n4_d4iw" name="n4" src="kubi7h" fileName="components/CompHeadWithBg.xml" xy="377,86"/>
+    <text id="n5_d4iw" name="txtRoleName" xy="346,313" pivot="0.5,0" size="186,62" fontSize="46" color="#a37349" align="center" text="角色名五"/>
+    <text id="n6_d4iw" name="n6" xy="153,466" size="71,46" fontSize="34" color="#aa794d" text="等级"/>
+    <text id="n7_d4iw" name="n7" xy="153,526" size="71,46" fontSize="34" color="#aa794d" text="经验"/>
+    <text id="n8_d4iw" name="txtLvl" xy="257,466" size="25,46" fontSize="34" color="#c47a6c" text="1"/>
+    <component id="n9_d4iw" name="proBarExp" src="d4iw6m" fileName="components/ProgressBarExp2.xml" xy="248,534">
+      <ProgressBar value="100" max="100"/>
     </component>
-    <text id="n10_d4iw" name="n10" xy="73,363" size="76,49" fontSize="36" color="#8781dd" text="音效"/>
-    <component id="n11_d4iw" name="btnSound" src="d4iw6o" fileName="components/ButtonToggle.xml" xy="207,368"/>
-    <text id="n12_d4iw" name="n12" xy="513,363" size="76,49" fontSize="36" color="#8781dd" text="音乐"/>
-    <component id="n13_d4iw" name="btnMusic" src="d4iw6o" fileName="components/ButtonToggle.xml" xy="644,368"/>
-    <component id="n19_ga16" name="btnLogout" src="pal5w" fileName="components/Button4.xml" pkg="eg2y0ldp" xy="141,502">
+    <text id="n10_d4iw" name="n10" xy="153,586" size="71,46" fontSize="34" color="#aa794d" text="音效"/>
+    <component id="n11_d4iw" name="btnSound" src="d4iw6o" fileName="components/ButtonToggle.xml" xy="244,587"/>
+    <text id="n12_d4iw" name="n12" xy="505,586" size="71,46" fontSize="34" color="#aa794d" text="音乐"/>
+    <component id="n13_d4iw" name="btnMusic" src="d4iw6o" fileName="components/ButtonToggle.xml" xy="587,591"/>
+    <component id="n19_ga16" name="btnLogout" src="ih7594" fileName="components/Button10.xml" pkg="mk0fwx0x" xy="120,720" size="300,82" aspect="true">
       <Button title="注销账户"/>
     </component>
-    <component id="n14_d4iw" name="btnExit" src="pal5w" fileName="components/Button4.xml" pkg="eg2y0ldp" xy="522,502">
+    <component id="n14_d4iw" name="btnExit" src="ih7594" fileName="components/Button10.xml" pkg="mk0fwx0x" xy="430,720" size="300,82" aspect="true">
       <Button title="返回登录"/>
     </component>
-    <component id="n18_d4iw" name="btnHelp" src="d4iw6p" fileName="components/ButtonHelp.xml" xy="25,586">
+    <component id="n18_d4iw" name="btnHelp" src="d4iw6p" fileName="components/ButtonHelp.xml" xy="704,884">
       <Button title="?"/>
     </component>
-    <text id="n21_bx8o" name="txtVersion" xy="700,591" size="200,42" fontSize="30" color="#cccccc" align="right" autoSize="none" autoClearText="true" text="v 1.0.0">
+    <text id="n21_bx8o" name="txtVersion" xy="539,824" size="200,42" fontSize="30" color="#cccccc" align="right" autoSize="none" autoClearText="true" text="v 1.0.0">
       <relation target="" sidePair="left-left,top-top"/>
     </text>
+    <loader id="n24_mhyh" name="loaChangeName" xy="586,331" size="34,36" url="ui://mfvz4q8kmhyhd8" autoSize="true"/>
+    <image id="n25_mhyh" name="n25" src="mhyhd6" fileName="images/grxx_txtx.png" xy="336,86"/>
   </displayList>
 </component>

+ 4 - 4
FGUIProject/assets/Main/components/ProgressBarExp2.xml

@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="utf-8"?>
-<component size="50,16" extention="ProgressBar">
+<component size="443,22" extention="ProgressBar">
   <displayList>
-    <image id="n0_d4iw" name="n0" src="d4iw6g" fileName="images/grxx_jyt_1.png" xy="0,0" size="50,16">
+    <image id="n0_d4iw" name="n0" src="d4iw6g" fileName="images/grxx_jyt_1.png" xy="-2,-2">
       <relation target="" sidePair="width-width,height-height"/>
     </image>
-    <image id="n1_d4iw" name="bar" src="d4iw6h" fileName="images/grxx_jyt_2.png" xy="0,0" size="50,16"/>
-    <text id="n2_d4iw" name="title" xy="0,-6" size="50,29" fontSize="18" color="#ffffff" align="center" vAlign="middle" autoSize="none" text="">
+    <image id="n1_d4iw" name="bar" src="d4iw6h" fileName="images/grxx_jyt_2.png" xy="0,0" size="443,22" fillMethod="hz"/>
+    <text id="n2_d4iw" name="title" xy="0,-6" size="443,35" fontSize="24" color="#fff6ee" align="center" vAlign="middle" autoSize="none" text="100/850">
       <relation target="" sidePair="width-width,height-height"/>
     </text>
   </displayList>

BIN
FGUIProject/assets/Main/images/grxx_dikuang.png


BIN
FGUIProject/assets/Main/images/grxx_jyt_1.png


BIN
FGUIProject/assets/Main/images/grxx_jyt_2.png


BIN
FGUIProject/assets/Main/images/grxx_mzk_1.png


BIN
FGUIProject/assets/Main/images/grxx_mzk_2.png


BIN
FGUIProject/assets/Main/images/grxx_txtx.png


BIN
FGUIProject/assets/Main/images/grxx_yx_dk.png


BIN
FGUIProject/assets/Main/images/grxx_yx_gb.png


+ 6 - 2
FGUIProject/assets/Main/package.xml

@@ -158,8 +158,8 @@
     <component id="s2cc5q" name="CompChapter4.xml" path="/componentsLevel/" exported="true"/>
     <image id="d4iw5r" name="zx_jq_fskuang_2.png" path="/imagesStory/"/>
     <image id="d4iw5s" name="zx_jq_fskuang_1.png" path="/imagesStory/"/>
-    <image id="d4iw6g" name="grxx_jyt_1.png" path="/images/" scale="9grid" scale9grid="4,4,8,8"/>
-    <image id="d4iw6h" name="grxx_jyt_2.png" path="/images/" scale="9grid" scale9grid="4,4,8,8"/>
+    <image id="d4iw6g" name="grxx_jyt_1.png" path="/images/" scale="9grid" scale9grid="19,0,410,26"/>
+    <image id="d4iw6h" name="grxx_jyt_2.png" path="/images/" scale="9grid" scale9grid="12,0,420,21"/>
     <image id="d4iw6i" name="grxx_yx_dk.png" path="/images/"/>
     <image id="d4iw6j" name="grxx_yx_gb.png" path="/images/"/>
     <component id="d4iw6k" name="RoleInfoUI.xml" path="/" exported="true"/>
@@ -364,6 +364,10 @@
     <image id="v3k9d2" name="zd_zijia.png" path="/imagesStory/"/>
     <image id="v3k9d3" name="zd_zijian.png" path="/imagesStory/"/>
     <component id="mhyhd4" name="ProgressBar2.xml" path="/components/"/>
+    <image id="mhyhd5" name="grxx_dikuang.png" path="/images/"/>
+    <image id="mhyhd6" name="grxx_txtx.png" path="/images/"/>
+    <image id="mhyhd7" name="grxx_mzk_1.png" path="/images/"/>
+    <image id="mhyhd8" name="grxx_mzk_2.png" path="/images/"/>
   </resources>
   <publish name="" path="..\GameClient\Assets\ResIn\UI\Main" packageCount="2" genCode="true" extractAlpha="true"/>
 </packageDescription>

+ 3 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Main/UI_RoleInfoUI.cs

@@ -18,6 +18,7 @@ namespace UI.Main
         public GButton m_btnExit;
         public GButton m_btnHelp;
         public GTextField m_txtVersion;
+        public GLoader m_loaChangeName;
         public const string URL = "ui://mfvz4q8kd4iw6k";
         public const string PACKAGE_NAME = "Main";
         public const string RES_NAME = "RoleInfoUI";
@@ -76,6 +77,7 @@ namespace UI.Main
             m_btnExit = (GButton)comp.GetChild("btnExit");
             m_btnHelp = (GButton)comp.GetChild("btnHelp");
             m_txtVersion = (GTextField)comp.GetChild("txtVersion");
+            m_loaChangeName = (GLoader)comp.GetChild("loaChangeName");
         }
         public void Dispose(bool disposeTarget = false)
         {
@@ -90,6 +92,7 @@ namespace UI.Main
             m_btnExit = null;
             m_btnHelp = null;
             m_txtVersion = null;
+            m_loaChangeName = null;
             if(disposeTarget && target != null)
             {
                 target.RemoveFromParent();

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_atlas0_1!a.png


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


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


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


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


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


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


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


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