Bladeren bron

修复跟随的bug

chelios 3 jaren geleden
bovenliggende
commit
31799805f7
2 gewijzigde bestanden met toevoegingen van 6 en 48 verwijderingen
  1. 3 0
      assets/Script/game/fight/object/FSprite.ts
  2. 3 48
      assets/resources/prefab/map/map3.prefab

+ 3 - 0
assets/Script/game/fight/object/FSprite.ts

@@ -369,6 +369,9 @@ export default class FSprite extends FObject {
         this.isWalk = isWalk;
         // this.updateSpine()
         // this.updateAction();
+        if(!isWalk){
+            this.spine.setAnimation(0, SpriteActionType.stand, true)
+        }
     }
     /**
      * 设置是否跑

+ 3 - 48
assets/resources/prefab/map/map3.prefab

@@ -5407,9 +5407,6 @@
     },
     "_enabled": true,
     "id": 1001,
-    "mBullet": {
-      "__uuid__": "9fb099ea-142d-418f-a1e8-f5a46e4f27ee"
-    },
     "_id": ""
   },
   {
@@ -5885,9 +5882,6 @@
     },
     "_enabled": true,
     "id": 1001,
-    "mBullet": {
-      "__uuid__": "9fb099ea-142d-418f-a1e8-f5a46e4f27ee"
-    },
     "_id": ""
   },
   {
@@ -6363,9 +6357,6 @@
     },
     "_enabled": true,
     "id": 1001,
-    "mBullet": {
-      "__uuid__": "9fb099ea-142d-418f-a1e8-f5a46e4f27ee"
-    },
     "_id": ""
   },
   {
@@ -10908,9 +10899,6 @@
     },
     "_enabled": true,
     "id": 1001,
-    "mBullet": {
-      "__uuid__": "11364221-35d8-475e-b9ec-43ab3aa2993d"
-    },
     "_id": ""
   },
   {
@@ -11386,9 +11374,6 @@
     },
     "_enabled": true,
     "id": 1001,
-    "mBullet": {
-      "__uuid__": "11364221-35d8-475e-b9ec-43ab3aa2993d"
-    },
     "_id": ""
   },
   {
@@ -11864,9 +11849,6 @@
     },
     "_enabled": true,
     "id": 1001,
-    "mBullet": {
-      "__uuid__": "11364221-35d8-475e-b9ec-43ab3aa2993d"
-    },
     "_id": ""
   },
   {
@@ -12342,9 +12324,6 @@
     },
     "_enabled": true,
     "id": 1001,
-    "mBullet": {
-      "__uuid__": "11364221-35d8-475e-b9ec-43ab3aa2993d"
-    },
     "_id": ""
   },
   {
@@ -14445,9 +14424,6 @@
     },
     "_enabled": true,
     "id": 3001,
-    "mBullet": {
-      "__uuid__": "17ad2a77-62ab-4903-ac54-252be1792308"
-    },
     "_id": ""
   },
   {
@@ -14947,9 +14923,6 @@
     },
     "_enabled": true,
     "id": 3001,
-    "mBullet": {
-      "__uuid__": "17ad2a77-62ab-4903-ac54-252be1792308"
-    },
     "_id": ""
   },
   {
@@ -15449,9 +15422,6 @@
     },
     "_enabled": true,
     "id": 1001,
-    "mBullet": {
-      "__uuid__": "9fb099ea-142d-418f-a1e8-f5a46e4f27ee"
-    },
     "_id": ""
   },
   {
@@ -15927,9 +15897,6 @@
     },
     "_enabled": true,
     "id": 1001,
-    "mBullet": {
-      "__uuid__": "9fb099ea-142d-418f-a1e8-f5a46e4f27ee"
-    },
     "_id": ""
   },
   {
@@ -16405,9 +16372,6 @@
     },
     "_enabled": true,
     "id": 1001,
-    "mBullet": {
-      "__uuid__": "9fb099ea-142d-418f-a1e8-f5a46e4f27ee"
-    },
     "_id": ""
   },
   {
@@ -16883,9 +16847,6 @@
     },
     "_enabled": true,
     "id": 1001,
-    "mBullet": {
-      "__uuid__": "11364221-35d8-475e-b9ec-43ab3aa2993d"
-    },
     "_id": ""
   },
   {
@@ -17361,9 +17322,6 @@
     },
     "_enabled": true,
     "id": 1001,
-    "mBullet": {
-      "__uuid__": "11364221-35d8-475e-b9ec-43ab3aa2993d"
-    },
     "_id": ""
   },
   {
@@ -17839,9 +17797,6 @@
     },
     "_enabled": true,
     "id": 1001,
-    "mBullet": {
-      "__uuid__": "11364221-35d8-475e-b9ec-43ab3aa2993d"
-    },
     "_id": ""
   },
   {
@@ -19582,8 +19537,8 @@
     },
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 835,
-      "height": 2178
+      "width": 2029,
+      "height": 2112
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -19594,7 +19549,7 @@
       "__type__": "TypedArray",
       "ctor": "Float64Array",
       "array": [
-        1986,
+        1389,
         64,
         0,
         0,