Răsfoiți Sursa

主线完成度奖励

zhaoyang 3 ani în urmă
părinte
comite
b7edbfb16d

BIN
FGUIProject/assets/Main/Movie/MovieClip1.jta


BIN
FGUIProject/assets/Main/Movie/MovieClip3.jta


BIN
FGUIProject/assets/Main/Movie/zd_pfhd_1.png


BIN
FGUIProject/assets/Main/Movie/zd_pfhd_2.png


BIN
FGUIProject/assets/Main/Movie/zd_pfhd_3.png


BIN
FGUIProject/assets/Main/Movie/zd_pfhd_4.png


+ 6 - 0
FGUIProject/assets/Main/components/ComRewardEffect.xml

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component size="136,136">
+  <displayList>
+    <movieclip id="n12_wet2" name="n12" src="wet2ev" fileName="Movie/MovieClip3.jta" xy="-23,-30" size="182,196" aspect="true"/>
+  </displayList>
+</component>

+ 1 - 0
FGUIProject/assets/Main/componentsLevel/CompBonusBox.xml

@@ -7,6 +7,7 @@
     <text id="n10_v354" name="txtName" xy="48,90" size="41,41" fontSize="30" color="#fff6e6" align="center" text="00">
       <relation target="n9_v354" sidePair="center-center,middle-middle"/>
     </text>
+    <component id="n13_wet2" name="ComRewardEffect" src="wet2ew" fileName="components/ComRewardEffect.xml" xy="0,0" visible="false" touchable="false"/>
     <image id="n11_oq7r" name="iconActive" src="oq7r9k" fileName="imagesExport/zx_hogndian.png" pkg="eg2y0ldp" xy="90,16"/>
   </displayList>
 </component>

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

@@ -303,13 +303,8 @@
     <component id="vuz5bi" name="ComScoreResult.xml" path="/components/"/>
     <image id="vuz5bj" name="zd_pfguang_2.png" path="/imagesStory/"/>
     <image id="vuz5bk" name="zd_pfguang_1.png" path="/imagesStory/"/>
-    <image id="vuz5bm" name="zd_pfhd_1.png" path="/Movie/"/>
-    <image id="vuz5bn" name="zd_pfhd_2.png" path="/Movie/"/>
-    <image id="vuz5bo" name="zd_pfhd_3.png" path="/Movie/"/>
     <image id="vuz5bp" name="zd_pfhd_4.png" path="/imagesStory/"/>
-    <movieclip id="vuz5bq" name="MovieClip1.jta" path="/Movie/"/>
     <component id="vuz5bu" name="ComAllScoreResult.xml" path="/components/"/>
-    <image id="vuz5bv" name="zd_pfhd_4.png" path="/Movie/"/>
     <movieclip id="vuz5bw" name="MovieClip2.jta" path="/Movie/" atlas="alone_npot"/>
     <component id="vuz5bx" name="Slider1_grip.xml" path="/components/"/>
     <image id="oixcby" name="zd_pfjdt_4.png" path="/imagesStory/"/>
@@ -383,6 +378,8 @@
     <component id="c2umeg" name="comMineCircle.xml" path="/components/"/>
     <component id="sd8ceh" name="Component5.xml" path="/components/"/>
     <component id="sd8cei" name="Component6.xml" path="/components/"/>
+    <movieclip id="wet2ev" name="MovieClip3.jta" path="/Movie/"/>
+    <component id="wet2ew" name="ComRewardEffect.xml" path="/components/" exported="true"/>
   </resources>
   <publish name="" path="..\GameClient\Assets\ResIn\UI\Main" packageCount="2" genCode="true" extractAlpha="true"/>
 </packageDescription>

+ 2 - 1
GameClient/Assets/Game/HotUpdate/Controller/GameController.cs

@@ -169,6 +169,7 @@ namespace GFGGame
         private static void EnterGame()
         {
             ViewManager.Hide<LoginView>();
+            GameGlobal.isEnterGame = true;
             if (MainStoryDataManager.CheckOpenMainUI() || GameGlobal.skipGuide)
             {
                 ViewManager.Show(ViewName.MAINUI_VIEW);
@@ -205,7 +206,7 @@ namespace GFGGame
             EquipDataCache.cacher.autoPlay = StorageDataManager.Instance.GetStorageValue(ConstStorageId.STORAGE_AUTO_PLAY) <= 0 ? false : true;
             EquipDataCache.cacher.fightSpeed = StorageDataManager.Instance.GetStorageValue(ConstStorageId.STORAGE_AUTO_PLAY_SPEED) <= 1 ? 1 : StorageDataManager.Instance.GetStorageValue(ConstStorageId.STORAGE_AUTO_PLAY_SPEED);
             GameGlobal.skipCheckOpen = StorageDataManager.Instance.GetStorageValue(ConstStorageId.SKIP_CHECK_OPEN) <= 0 ? false : true;
-            GameGlobal.isEnterGame = true;
+
 
             bool result = await FieldSProxy.ReqFieldInstanceInfos();
             if (result && FieldDataManager.Instance.fieldInfos.hasBonus)

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

@@ -9,6 +9,7 @@ namespace UI.Main
         public GComponent target;
         public GLoader m_icon;
         public GTextField m_txtName;
+        public GComponent m_ComRewardEffect;
         public GImage m_iconActive;
         public const string URL = "ui://mfvz4q8kv3542b";
         public const string PACKAGE_NAME = "Main";
@@ -59,12 +60,14 @@ namespace UI.Main
         {
             m_icon = (GLoader)comp.GetChild("icon");
             m_txtName = (GTextField)comp.GetChild("txtName");
+            m_ComRewardEffect = (GComponent)comp.GetChild("ComRewardEffect");
             m_iconActive = (GImage)comp.GetChild("iconActive");
         }
         public void Dispose(bool disposeTarget = false)
         {
             m_icon = null;
             m_txtName = null;
+            m_ComRewardEffect = null;
             m_iconActive = null;
             if(disposeTarget && target != null)
             {

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/Field/FieldFightEndView.cs

@@ -24,7 +24,7 @@ namespace GFGGame
             this.viewCom.Center();
             this.modal = true;
             viewAnimationType = EnumViewAnimationType.ZOOM_CENTER;
-
+            this.clickBlankToClose = false;
             _ui.m_list.itemRenderer = ListItemRender;
             _ui.m_btnConfirm.onClick.Add(this.Hide);
         }

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

@@ -17,7 +17,6 @@ namespace GFGGame
 
         private GameObject _gameObject;
         private GoWrapper _wrapper;
-
         public override void Dispose()
         {
             if (_valueBarController != null)
@@ -42,6 +41,7 @@ namespace GFGGame
         protected override void OnInit()
         {
             base.OnInit();
+
             _valueBarController = new ValueBarController(_ui.m_valueBar);
             _ui.m_btnBack.onClick.Add(OnClickBtnBack);
             _ui.m_btnHome.onClick.Add(OnClickBtnHome);
@@ -205,6 +205,7 @@ namespace GFGGame
         {
             int status = MainStoryDataManager.GetChapterBonusStatus(MainStoryDataManager.currentChapterCfgId, index);
             bonusBox.m_iconActive.visible = status == ConstBonusStatus.CAN_GET;
+            bonusBox.m_ComRewardEffect.visible = status == ConstBonusStatus.CAN_GET;
             if (status == ConstBonusStatus.GOT)
             {
                 bonusBox.m_icon.url = "ui://Main/zx_gka_baoxiang_2";

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


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


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


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


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