woso_javan 1 maand geleden
bovenliggende
commit
d918dc5e1d

+ 1 - 0
assets/module_storm_sunder/Materials/ocean.mtl

@@ -84,6 +84,7 @@
         "z": 1,
         "w": -0.2
       },
+      "roughness": 0.488,
       "mainTexture": {
         "__uuid__": "3ebebdf2-140b-481c-87bb-af4dbe5362a3@6c48a",
         "__expectedType__": "cc.Texture2D"

+ 6 - 3
assets/module_storm_sunder/Script/PkPropUI.ts

@@ -2,6 +2,9 @@ import { Button, Component, Label, Node, NodeEventType, _decorator, find, view }
 import { AttributeBonusMgr } from './Manager/AttributeBonusMgr';
 import { EventDispatcher } from '../../core_tgx/easy_ui_framework/EventDispatcher';
 import { GameEvent } from './Enum/GameEvent';
+
+
+
 import { GameUtil } from './GameUtil';
 import { PlayerMgr } from './Manager/PlayerMgr';
 import { Tween, Vec3 } from 'cc';
@@ -30,13 +33,13 @@ export class PkPropUI extends Component {
     //动画 从舞台左入场到中间 停顿0.5s后从中间到舞台右出场
     playPkPropAnimation() {
         // Reset initial position to left of screen
-        this.node.setPosition(-view.getVisibleSize().width - 100, 200, 0);
+        this.node.setPosition(-view.getVisibleSize().width - 100, 100, 0);
 
         // Create animation sequence using tween
         const tween = new Tween(this.node)
-            .to(0.5, { position: new Vec3(0, 200, 0) }) // Move to center
+            .to(0.5, { position: new Vec3(0, 100, 0) }) // Move to center
             .delay(1) // Pause for 0.5 seconds
-            .to(0.5, { position: new Vec3(view.getVisibleSize().width + 100, 200, 0) }) // Move to right
+            .to(0.5, { position: new Vec3(view.getVisibleSize().width + 100, 100, 0) }) // Move to right
             .start();
     }
 

+ 2 - 2
assets/module_storm_sunder/rooster_stormsunder.scene

@@ -101581,7 +101581,7 @@
         "__id__": 7467
       }
     ],
-    "_active": true,
+    "_active": false,
     "_components": [
       {
         "__id__": 7470
@@ -102967,7 +102967,7 @@
     "_prefab": null,
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": -320,
+      "x": -280,
       "y": 420,
       "z": 0
     },