Browse Source

修改动画表现

DESKTOP-PG06IH1\Mr.AB 2 tuần trước cách đây
mục cha
commit
e06cb87b8c

+ 34 - 25
ActionTowerDefense/Assets/Resources/Animation/ninja_star.anim

@@ -21,15 +21,24 @@ AnimationClip:
         time: 0
         value: {x: 0, y: 0, z: 0}
         inSlope: {x: 0, y: 0, z: 0}
-        outSlope: {x: 0, y: 0, z: 864}
+        outSlope: {x: 0, y: 0, z: 900}
         tangentMode: 0
         weightedMode: 0
         inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
         outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
       - serializedVersion: 3
-        time: 0.41666666
-        value: {x: 0, y: 0, z: 360}
-        inSlope: {x: 0, y: 0, z: 864}
+        time: 0.5
+        value: {x: 0, y: 0, z: 450}
+        inSlope: {x: 0, y: 0, z: 900}
+        outSlope: {x: 0, y: 0, z: 900}
+        tangentMode: 0
+        weightedMode: 0
+        inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
+        outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
+      - serializedVersion: 3
+        time: 2
+        value: {x: 0, y: 0, z: 1800}
+        inSlope: {x: 0, y: 0, z: 900}
         outSlope: {x: 0, y: 0, z: 864}
         tangentMode: 0
         weightedMode: 0
@@ -46,7 +55,7 @@ AnimationClip:
       m_Curve:
       - serializedVersion: 3
         time: 0
-        value: {x: 1, y: 1, z: 1}
+        value: {x: 1.8376875, y: 0.45159575, z: 1}
         inSlope: {x: 0, y: 0, z: 0}
         outSlope: {x: 0, y: 0, z: 0}
         tangentMode: 0
@@ -54,8 +63,8 @@ AnimationClip:
         inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
         outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
       - serializedVersion: 3
-        time: 0.21666667
-        value: {x: 1.2, y: 0.8375, z: 1}
+        time: 0.5
+        value: {x: 1, y: 1, z: 1}
         inSlope: {x: 0, y: 0, z: 0}
         outSlope: {x: 0, y: 0, z: 0}
         tangentMode: 0
@@ -63,7 +72,7 @@ AnimationClip:
         inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
         outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
       - serializedVersion: 3
-        time: 0.41666666
+        time: 2
         value: {x: 1, y: 1, z: 1}
         inSlope: {x: 0, y: 0, z: 0}
         outSlope: {x: 0, y: 0, z: 0}
@@ -104,7 +113,7 @@ AnimationClip:
     m_AdditiveReferencePoseClip: {fileID: 0}
     m_AdditiveReferencePoseTime: 0
     m_StartTime: 0
-    m_StopTime: 0.41666666
+    m_StopTime: 2
     m_OrientationOffsetY: 0
     m_Level: 0
     m_CycleOffset: 0
@@ -133,7 +142,7 @@ AnimationClip:
         inWeight: 0.33333334
         outWeight: 0.33333334
       - serializedVersion: 3
-        time: 0.41666666
+        time: 0.5
         value: 0
         inSlope: 0
         outSlope: 0
@@ -161,7 +170,7 @@ AnimationClip:
         inWeight: 0.33333334
         outWeight: 0.33333334
       - serializedVersion: 3
-        time: 0.41666666
+        time: 0.5
         value: 0
         inSlope: 0
         outSlope: 0
@@ -183,15 +192,15 @@ AnimationClip:
         time: 0
         value: 0
         inSlope: 0
-        outSlope: 864
+        outSlope: 900
         tangentMode: 65
         weightedMode: 0
         inWeight: 0.33333334
         outWeight: 0.33333334
       - serializedVersion: 3
-        time: 0.41666666
-        value: 360
-        inSlope: 864
+        time: 2
+        value: 1800
+        inSlope: 900
         outSlope: 864
         tangentMode: 69
         weightedMode: 0
@@ -209,7 +218,7 @@ AnimationClip:
       m_Curve:
       - serializedVersion: 3
         time: 0
-        value: 1
+        value: 1.8376875
         inSlope: 0
         outSlope: 0
         tangentMode: 136
@@ -217,8 +226,8 @@ AnimationClip:
         inWeight: 0.33333334
         outWeight: 0.33333334
       - serializedVersion: 3
-        time: 0.21666667
-        value: 1.2
+        time: 0.5
+        value: 1
         inSlope: 0
         outSlope: 0
         tangentMode: 136
@@ -226,7 +235,7 @@ AnimationClip:
         inWeight: 0.33333334
         outWeight: 0.33333334
       - serializedVersion: 3
-        time: 0.41666666
+        time: 2
         value: 1
         inSlope: 0
         outSlope: 0
@@ -246,7 +255,7 @@ AnimationClip:
       m_Curve:
       - serializedVersion: 3
         time: 0
-        value: 1
+        value: 0.45159575
         inSlope: 0
         outSlope: 0
         tangentMode: 136
@@ -254,8 +263,8 @@ AnimationClip:
         inWeight: 0.33333334
         outWeight: 0.33333334
       - serializedVersion: 3
-        time: 0.21666667
-        value: 0.8375
+        time: 0.5
+        value: 1
         inSlope: 0
         outSlope: 0
         tangentMode: 136
@@ -263,7 +272,7 @@ AnimationClip:
         inWeight: 0.33333334
         outWeight: 0.33333334
       - serializedVersion: 3
-        time: 0.41666666
+        time: 2
         value: 1
         inSlope: 0
         outSlope: 0
@@ -291,7 +300,7 @@ AnimationClip:
         inWeight: 0.33333334
         outWeight: 0.33333334
       - serializedVersion: 3
-        time: 0.21666667
+        time: 0.5
         value: 1
         inSlope: 0
         outSlope: 0
@@ -300,7 +309,7 @@ AnimationClip:
         inWeight: 0.33333334
         outWeight: 0.33333334
       - serializedVersion: 3
-        time: 0.41666666
+        time: 2
         value: 1
         inSlope: 0
         outSlope: 0

+ 6 - 1
ActionTowerDefense/Assets/Resources/Prefab/Enemy/Enemy_Catninja_Blade.prefab

@@ -184,6 +184,7 @@ MonoBehaviour:
       damage: 0
       attackDir: {x: 0, y: 0, z: 0}
       criticalChance: 0
+      criticalStrikeEffect: 0
       lifesteal: 0
       effect: {fileID: 0}
       attackEffect: 
@@ -434,7 +435,7 @@ MonoBehaviour:
   m_Name: 
   m_EditorClassIdentifier: 
   owner: {fileID: 0}
-  attackInterval: 0
+  attackInterval: 3
   addAttackEffect: {fileID: 0}
   isAttackTriggerOn: 0
   targetTypes: 010000000200000003000000
@@ -450,6 +451,7 @@ MonoBehaviour:
       damage: 0
       attackDir: {x: 0, y: 0, z: 0}
       criticalChance: 0
+      criticalStrikeEffect: 0
       lifesteal: 0
       effect: {fileID: 0}
       attackEffect: 
@@ -518,6 +520,7 @@ MonoBehaviour:
       damage: 0
       attackDir: {x: 0, y: 0, z: 0}
       criticalChance: 0
+      criticalStrikeEffect: 0
       lifesteal: 0
       effect: {fileID: 0}
       attackEffect: 
@@ -937,6 +940,7 @@ MonoBehaviour:
       damage: 0
       attackDir: {x: 0, y: 0, z: 0}
       criticalChance: 0
+      criticalStrikeEffect: 0
       lifesteal: 0
       effect: {fileID: 0}
       attackEffect: 
@@ -1048,6 +1052,7 @@ MonoBehaviour:
       damage: 0
       attackDir: {x: 0, y: 0, z: 0}
       criticalChance: 0
+      criticalStrikeEffect: 0
       lifesteal: 0
       effect: {fileID: 0}
       attackEffect: 

+ 11 - 6
ActionTowerDefense/Assets/Resources/Prefab/Enemy/Enemy_Catninja_Far.prefab

@@ -184,6 +184,7 @@ MonoBehaviour:
       damage: 0
       attackDir: {x: 0, y: 0, z: 0}
       criticalChance: 0
+      criticalStrikeEffect: 0
       lifesteal: 0
       effect: {fileID: 0}
       attackEffect: 
@@ -435,8 +436,8 @@ MonoBehaviour:
   dropSoulMin: 1
   dropProbability: 100
   dropSoulAngle: 90
-  jumpForce: 18
-  minDistance: 20
+  jumpForce: 20
+  minDistance: 30
   moveDir: {x: 0, y: 0, z: 0}
 --- !u!114 &3190768326954873711
 MonoBehaviour:
@@ -451,7 +452,7 @@ MonoBehaviour:
   m_Name: 
   m_EditorClassIdentifier: 
   owner: {fileID: 0}
-  attackInterval: 0
+  attackInterval: 3
   addAttackEffect: {fileID: 0}
   isAttackTriggerOn: 0
   targetTypes: 010000000300000002000000
@@ -467,6 +468,7 @@ MonoBehaviour:
       damage: 0
       attackDir: {x: -1, y: 0, z: 0}
       criticalChance: 0
+      criticalStrikeEffect: 0
       lifesteal: 0
       effect: {fileID: 0}
       attackEffect: 
@@ -515,8 +517,8 @@ MonoBehaviour:
     attackTrigger: {fileID: 2280520615464243483}
     needToChange: 1
     attackDistance: 0
-    maxAttackDis: 20
-    minAttackDis: 15
+    maxAttackDis: 30
+    minAttackDis: 25
     searchMode: 0
     canHitFly: 1
     bulletPrefab: {fileID: 7473170563405908938, guid: d22d4d62fbe9da346bcf4674a2d9b404, type: 3}
@@ -536,6 +538,7 @@ MonoBehaviour:
       damage: 0
       attackDir: {x: 0, y: 0, z: 0}
       criticalChance: 0
+      criticalStrikeEffect: 0
       lifesteal: 0
       effect: {fileID: 0}
       attackEffect: 
@@ -939,6 +942,7 @@ MonoBehaviour:
       damage: 0
       attackDir: {x: 0, y: 0, z: 0}
       criticalChance: 0
+      criticalStrikeEffect: 0
       lifesteal: 0
       effect: {fileID: 0}
       attackEffect: 
@@ -1050,6 +1054,7 @@ MonoBehaviour:
       damage: 0
       attackDir: {x: 0, y: 0, z: 0}
       criticalChance: 0
+      criticalStrikeEffect: 0
       lifesteal: 0
       effect: {fileID: 0}
       attackEffect: 
@@ -1180,7 +1185,7 @@ BoxCollider:
   m_IsTrigger: 1
   m_Enabled: 1
   serializedVersion: 2
-  m_Size: {x: 50, y: 9.067795, z: 20}
+  m_Size: {x: 60, y: 15, z: 20}
   m_Center: {x: 0, y: 0, z: 0}
 --- !u!1 &6382412198167824060
 GameObject:

+ 7 - 1
ActionTowerDefense/Assets/Resources/Prefab/Enemy/Enemy_Egret_far.prefab

@@ -106,6 +106,7 @@ MonoBehaviour:
       damage: 0
       attackDir: {x: 0, y: 0, z: 0}
       criticalChance: 0
+      criticalStrikeEffect: 0
       lifesteal: 0
       effect: {fileID: 0}
       attackEffect: 
@@ -261,6 +262,7 @@ MonoBehaviour:
       damage: 0
       attackDir: {x: 0, y: 0, z: 0}
       criticalChance: 0
+      criticalStrikeEffect: 0
       lifesteal: 0
       effect: {fileID: 0}
       attackEffect: 
@@ -346,6 +348,7 @@ MonoBehaviour:
       damage: 0
       attackDir: {x: 0, y: 0, z: 0}
       criticalChance: 0
+      criticalStrikeEffect: 0
       lifesteal: 0
       effect: {fileID: 0}
       attackEffect: 
@@ -791,6 +794,7 @@ MeshRenderer:
   m_RendererPriority: 0
   m_Materials:
   - {fileID: 2100000, guid: b3df7fb01f7d1a74cb677be6856e1d77, type: 2}
+  - {fileID: 2100000, guid: 810139d1de950434dac2de2b15d40202, type: 2}
   m_StaticBatchInfo:
     firstSubMesh: 0
     subMeshCount: 0
@@ -1486,7 +1490,7 @@ MonoBehaviour:
   m_Name: 
   m_EditorClassIdentifier: 
   owner: {fileID: 0}
-  attackInterval: 0
+  attackInterval: 3
   addAttackEffect: {fileID: 0}
   isAttackTriggerOn: 0
   targetTypes: 010000000200000003000000
@@ -1502,6 +1506,7 @@ MonoBehaviour:
       damage: 0
       attackDir: {x: -1, y: 0, z: 0}
       criticalChance: 0
+      criticalStrikeEffect: 0
       lifesteal: 0
       effect: {fileID: 0}
       attackEffect: 
@@ -1573,6 +1578,7 @@ MonoBehaviour:
       damage: 0
       attackDir: {x: 0, y: 0, z: 0}
       criticalChance: 0
+      criticalStrikeEffect: 0
       lifesteal: 0
       effect: {fileID: 0}
       attackEffect: 

+ 1 - 1
ActionTowerDefense/Assets/Resources/Prefab/Enemy/Enemy_Samurai.prefab

@@ -340,7 +340,7 @@ MonoBehaviour:
   resistances:
     controlOrder: 0
     Float: 0
-    BlowUp: 0.5
+    BlowUp: 1
     ShotDown: 0
     Weak: 0
     armor: 0

+ 91 - 6
ActionTowerDefense/Assets/Resources/Prefab/ninja_star_bullet.prefab

@@ -1,5 +1,89 @@
 %YAML 1.1
 %TAG !u! tag:unity3d.com,2011:
+--- !u!1 &3502471531863202414
+GameObject:
+  m_ObjectHideFlags: 0
+  m_CorrespondingSourceObject: {fileID: 0}
+  m_PrefabInstance: {fileID: 0}
+  m_PrefabAsset: {fileID: 0}
+  serializedVersion: 6
+  m_Component:
+  - component: {fileID: 7575887380211151894}
+  - component: {fileID: 1266115195005354489}
+  m_Layer: 0
+  m_Name: Arrow (1)
+  m_TagString: Untagged
+  m_Icon: {fileID: 0}
+  m_NavMeshLayer: 0
+  m_StaticEditorFlags: 0
+  m_IsActive: 1
+--- !u!4 &7575887380211151894
+Transform:
+  m_ObjectHideFlags: 0
+  m_CorrespondingSourceObject: {fileID: 0}
+  m_PrefabInstance: {fileID: 0}
+  m_PrefabAsset: {fileID: 0}
+  m_GameObject: {fileID: 3502471531863202414}
+  m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
+  m_LocalPosition: {x: 0, y: 0, z: 0}
+  m_LocalScale: {x: 1, y: 1, z: 1}
+  m_ConstrainProportionsScale: 0
+  m_Children: []
+  m_Father: {fileID: 7473170561697162167}
+  m_RootOrder: 0
+  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 680.633}
+--- !u!212 &1266115195005354489
+SpriteRenderer:
+  m_ObjectHideFlags: 0
+  m_CorrespondingSourceObject: {fileID: 0}
+  m_PrefabInstance: {fileID: 0}
+  m_PrefabAsset: {fileID: 0}
+  m_GameObject: {fileID: 3502471531863202414}
+  m_Enabled: 1
+  m_CastShadows: 0
+  m_ReceiveShadows: 0
+  m_DynamicOccludee: 1
+  m_StaticShadowCaster: 0
+  m_MotionVectors: 1
+  m_LightProbeUsage: 1
+  m_ReflectionProbeUsage: 1
+  m_RayTracingMode: 0
+  m_RayTraceProcedural: 0
+  m_RenderingLayerMask: 1
+  m_RendererPriority: 0
+  m_Materials:
+  - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
+  m_StaticBatchInfo:
+    firstSubMesh: 0
+    subMeshCount: 0
+  m_StaticBatchRoot: {fileID: 0}
+  m_ProbeAnchor: {fileID: 0}
+  m_LightProbeVolumeOverride: {fileID: 0}
+  m_ScaleInLightmap: 1
+  m_ReceiveGI: 1
+  m_PreserveUVs: 0
+  m_IgnoreNormalsForChartDetection: 0
+  m_ImportantGI: 0
+  m_StitchLightmapSeams: 1
+  m_SelectedEditorRenderState: 0
+  m_MinimumChartSize: 4
+  m_AutoUVMaxDistance: 0.5
+  m_AutoUVMaxAngle: 89
+  m_LightmapParameters: {fileID: 0}
+  m_SortingLayerID: -1730265859
+  m_SortingLayer: 4
+  m_SortingOrder: 1
+  m_Sprite: {fileID: 21300000, guid: 179cd842b6bd3eb4eae8a7467f9e306b, type: 3}
+  m_Color: {r: 1, g: 1, b: 1, a: 1}
+  m_FlipX: 0
+  m_FlipY: 0
+  m_DrawMode: 0
+  m_Size: {x: 0.5820022, y: 1.0000005}
+  m_AdaptiveModeThreshold: 0.5
+  m_SpriteTileMode: 0
+  m_WasSpriteAssigned: 1
+  m_MaskInteraction: 0
+  m_SpriteSortPoint: 0
 --- !u!1 &4418270249236143766
 GameObject:
   m_ObjectHideFlags: 0
@@ -166,7 +250,7 @@ Transform:
   m_GameObject: {fileID: 6114474465964761461}
   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
   m_LocalPosition: {x: 0, y: 0, z: 0}
-  m_LocalScale: {x: 0.7, y: 0.7, z: 1}
+  m_LocalScale: {x: 1, y: 1, z: 1}
   m_ConstrainProportionsScale: 0
   m_Children:
   - {fileID: 7473170561697162167}
@@ -222,7 +306,8 @@ Transform:
   m_LocalPosition: {x: 0, y: 0, z: 0}
   m_LocalScale: {x: 1, y: 1, z: 1}
   m_ConstrainProportionsScale: 0
-  m_Children: []
+  m_Children:
+  - {fileID: 7575887380211151894}
   m_Father: {fileID: 7885428177189875250}
   m_RootOrder: 0
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 680.633}
@@ -268,7 +353,7 @@ SpriteRenderer:
   m_SortingLayer: 4
   m_SortingOrder: 1
   m_Sprite: {fileID: 21300000, guid: 277db553f0a6b7947bdfb646e449a110, type: 3}
-  m_Color: {r: 1, g: 1, b: 1, a: 1}
+  m_Color: {r: 1, g: 1, b: 1, a: 0.3137255}
   m_FlipX: 0
   m_FlipY: 0
   m_DrawMode: 0
@@ -306,7 +391,7 @@ Transform:
   m_GameObject: {fileID: 7473170563405908938}
   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
   m_LocalPosition: {x: 0, y: 0, z: 0}
-  m_LocalScale: {x: 1, y: 1, z: 1}
+  m_LocalScale: {x: 0.6, y: 0.6, z: 1}
   m_ConstrainProportionsScale: 0
   m_Children:
   - {fileID: 7885428177189875250}
@@ -417,8 +502,8 @@ MonoBehaviour:
   maxFlyTime: 2
   flyTime: 0
   trackTarget: {fileID: 0}
-  effect: {fileID: 0}
-  disappearEffect: {fileID: 0}
+  effect: {fileID: 417478504669294145, guid: 144eaa8f77ac17143836e4b78fedb9c3, type: 3}
+  disappearEffect: {fileID: 417478504669294145, guid: 144eaa8f77ac17143836e4b78fedb9c3, type: 3}
   canTransmit: 0
   haveTransmit: 0
   transmitTime: 0

BIN
ActionTowerDefense/Assets/Resources/Spine/Enemy_Catninja_Blade/Catninja_Blade.skel.bytes


BIN
ActionTowerDefense/Assets/Resources/Spine/Enemy_Catninja_Far/Catninja_Far.skel.bytes


BIN
ActionTowerDefense/Assets/Resources/Spine/Enemy_Egret_far/Enemy_Egret_far.skel.bytes


+ 1 - 29
ActionTowerDefense/Assets/Resources/Spine/Enemy_Egret_far/Enemy_Egret_far_Controller.controller

@@ -678,35 +678,7 @@ AnimationClip:
     m_KeepOriginalPositionXZ: 0
     m_HeightFromFeet: 0
     m_Mirror: 0
-  m_EditorCurves:
-  - curve:
-      serializedVersion: 2
-      m_Curve:
-      - serializedVersion: 3
-        time: 0
-        value: 0
-        inSlope: 0
-        outSlope: 0
-        tangentMode: 0
-        weightedMode: 0
-        inWeight: 0
-        outWeight: 0
-      - serializedVersion: 3
-        time: 1.3333334
-        value: 0
-        inSlope: 0
-        outSlope: 0
-        tangentMode: 0
-        weightedMode: 0
-        inWeight: 0
-        outWeight: 0
-      m_PreInfinity: 2
-      m_PostInfinity: 2
-      m_RotationOrder: 4
-    attribute: dummy
-    path: 
-    classID: 1
-    script: {fileID: 0}
+  m_EditorCurves: []
   m_EulerEditorCurves: []
   m_HasGenericRootTransform: 0
   m_HasMotionFloatCurves: 0

BIN
ActionTowerDefense/Assets/Resources/Textures/bullet_ninjastar.png