浏览代码

抽卡获得部件资源替换

zhaoyang 3 年之前
父节点
当前提交
9e8ca6c515

+ 1 - 1
FGUIProject/assets/LuckyBox/LuckyBoxCardUI.xml

@@ -4,7 +4,7 @@
     <graph id="n2_qdrt" name="bg" xy="0,0" size="1080,1920" alpha="0.4" type="rect" lineSize="0" fillColor="#ff000000">
       <relation target="" sidePair="width-width,height-height"/>
     </graph>
-    <component id="n0_qdrt" name="comCard" src="qdrt1a" fileName="ComCard.xml" xy="149,403" pivot="0.5,0.5" touchable="false">
+    <component id="n0_qdrt" name="comCard" src="qdrt1a" fileName="components/ComCard.xml" xy="66,475" pivot="0.5,0.5" touchable="false">
       <relation target="" sidePair="center-center,middle-middle"/>
     </component>
     <component id="n3_qdrt" name="btnPass" src="qdrt1c" fileName="components/Button4.xml" xy="863,1802">

+ 7 - 7
FGUIProject/assets/LuckyBox/components/ComCard.xml

@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="utf-8"?>
-<component size="782,1114">
+<component size="948,970">
   <displayList>
-    <loader id="n0_qdrt" name="bg" xy="0,0" size="782,1114" url="ui://drx9d1usqdrt14" autoSize="true"/>
-    <loader id="n1_qdrt" name="loaType" xy="517,310" size="57,224" url="ui://drx9d1usqdrt15" autoSize="true"/>
-    <loader id="n2_qdrt" name="loaIcon" xy="263,270" size="255,255" url="ui://mfvz4q8kkubi7e" fill="scaleMatchWidth"/>
-    <loader id="n3_qdrt" name="loaProperty" xy="613,209" size="58,58" url="ui://eg2y0ldp842s6k" autoSize="true"/>
-    <text id="n4_qdrt" name="txtName" xy="391,641" pivot="0.5,0.5" anchor="true" size="100,64" fontSize="48" color="#906942" text="服装"/>
-    <text id="n5_qdrt" name="txtDiscribe" xy="391,760" pivot="0.5,0" anchor="true" size="474,129" fontSize="34" color="#b19d7e" autoSize="none" text="赵钱孙李周吴郑王赵钱孙李周吴郑王赵钱孙李周吴郑王赵钱孙李周吴郑王赵钱孙李周吴郑王赵钱孙李周吴郑王赵钱孙李周吴郑王赵钱孙李周吴郑王"/>
+    <loader id="n0_qdrt" name="bg" xy="0,0" size="948,970" url="ui://drx9d1usqdrt14" autoSize="true"/>
+    <loader id="n1_qdrt" name="loaType" xy="685,237" size="78,306" aspect="true" url="ui://drx9d1usqdrt15" fill="scaleMatchWidth"/>
+    <loader id="n2_qdrt" name="loaIcon" xy="287,206" size="374,374" aspect="true" url="ui://mfvz4q8kkubi7e" fill="scaleMatchWidth"/>
+    <loader id="n3_qdrt" name="loaProperty" xy="248,231" size="60,60" aspect="true" url="ui://eg2y0ldp842s6k" fill="scaleMatchWidth"/>
+    <text id="n4_qdrt" name="txtName" xy="474,75" pivot="0.5,0.5" anchor="true" size="100,64" fontSize="48" color="#feeac2" text="服装"/>
+    <text id="n5_qdrt" name="txtDiscribe" xy="474,656" pivot="0.5,0" anchor="true" size="360,235" fontSize="30" color="#c2a773" autoSize="height" text="赵钱孙李周吴郑王赵钱孙李周吴郑王赵钱孙李周吴郑王赵钱孙李周吴郑王赵钱孙李周吴郑王赵钱孙李周吴郑王赵钱孙李周吴郑王赵钱孙李周吴郑王"/>
   </displayList>
 </component>

二进制
FGUIProject/assets/LuckyBox/images/hd_dkdk_1.png


+ 2 - 2
FGUIProject/assets/Main/components/comMineCircle.xml

@@ -12,7 +12,7 @@
     <item time="0" type="Skew" target="n17_v3k9" value="90,0"/>
     <item time="6" type="Rotation" target="n17_v3k9" tween="true" startValue="-15" endValue="0" duration="3" ease="Linear"/>
     <item time="6" type="Skew" target="n17_v3k9" tween="true" startValue="90,0" endValue="0,0" duration="3" ease="Linear"/>
-    <item time="10" type="Size" target="n15_mza1" tween="true" startValue="10,60" endValue="256,60" duration="4" ease="Linear"/>
-    <item time="24" type="Alpha" target="n16_v3k9" value="1"/>
+    <item time="10" type="Size" target="n15_mza1" tween="true" startValue="10,60" endValue="256,60" duration="8" ease="Linear"/>
+    <item time="48" type="Alpha" target="n16_v3k9" value="1"/>
   </transition>
 </component>

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

@@ -166,7 +166,7 @@ namespace GFGGame
             _index++;
             if (_index >= FightScoreCfgArray.Instance.dataArray.Length)
             {
-                Timers.inst.Add(0.5f, 1, Skip);
+                Timers.inst.Add(1f, 1, Skip);
             }
             else
             {

二进制
GameClient/Assets/ResIn/UI/LuckyBox/LuckyBox_atlas0!a.png


二进制
GameClient/Assets/ResIn/UI/LuckyBox/LuckyBox_atlas0.png


二进制
GameClient/Assets/ResIn/UI/LuckyBox/LuckyBox_fui.bytes


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