2 Commits d3febf55ad ... 55e7c18169

Author SHA1 Message Date
  chelios 55e7c18169 Merge branch 'dev' of http://47.96.66.225:10080/chelios/xsdmx-CocosCreator into dev 3 years ago
  chelios 31799805f7 修复跟随的bug 3 years ago

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

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