From 3480d2762a9046d20baa51a987eaf402262d184a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20Nu=C8=9Biu?= Date: Tue, 4 Jun 2019 20:43:50 +0300 Subject: [PATCH 1/2] Update Player Sprites --- Assets/Prefabs/Player.prefab | 167 +++++++++++ Assets/Prefabs/Player.prefab.meta | 7 + Assets/Scenes/SampleScene.unity | 219 +++++--------- Assets/Sprites/Player.meta | 8 + Assets/Sprites/Player/MockPlayer.controller | 72 +++++ .../Sprites/Player/MockPlayer.controller.meta | 8 + Assets/Sprites/Player/PlayerRunning.anim | 89 ++++++ Assets/Sprites/Player/PlayerRunning.anim.meta | 8 + Assets/Sprites/Player/player_run.png | Bin 0 -> 19799 bytes Assets/Sprites/Player/player_run.png.meta | 278 ++++++++++++++++++ 10 files changed, 714 insertions(+), 142 deletions(-) create mode 100644 Assets/Prefabs/Player.prefab create mode 100644 Assets/Prefabs/Player.prefab.meta create mode 100644 Assets/Sprites/Player.meta create mode 100644 Assets/Sprites/Player/MockPlayer.controller create mode 100644 Assets/Sprites/Player/MockPlayer.controller.meta create mode 100644 Assets/Sprites/Player/PlayerRunning.anim create mode 100644 Assets/Sprites/Player/PlayerRunning.anim.meta create mode 100644 Assets/Sprites/Player/player_run.png create mode 100644 Assets/Sprites/Player/player_run.png.meta diff --git a/Assets/Prefabs/Player.prefab b/Assets/Prefabs/Player.prefab new file mode 100644 index 0000000..5db1f5f --- /dev/null +++ b/Assets/Prefabs/Player.prefab @@ -0,0 +1,167 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &6843575828445418657 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 6843575828445418654} + - component: {fileID: 6843575828445418655} + - component: {fileID: 6843575828445418656} + - component: {fileID: 6843575828445418653} + - component: {fileID: 6843575828445418652} + - component: {fileID: 6843575828445418651} + m_Layer: 0 + m_Name: Player + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &6843575828445418654 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6843575828445418657} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 7.2106156} + m_LocalScale: {x: 1, y: 1, z: 0} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!212 &6843575828445418655 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6843575828445418657} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + 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_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + m_SelectedEditorRenderState: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 1 + m_Sprite: {fileID: 21300000, guid: 69237087e6b0b42ac8d25d0035b2e01b, 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.16, y: 0.16} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 + m_SpriteSortPoint: 0 +--- !u!114 &6843575828445418656 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6843575828445418657} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e3cc05deb3d6e44128ad7bc8610cedac, type: 3} + m_Name: + m_EditorClassIdentifier: + movementSpeed: 4 + respawnPosition: {fileID: 0} + bombPrefab: {fileID: 5909392949477884267, guid: 28467e0d65b5d3844bf1862ac0c49ad9, + type: 3} +--- !u!50 &6843575828445418653 +Rigidbody2D: + serializedVersion: 4 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6843575828445418657} + m_BodyType: 0 + m_Simulated: 1 + m_UseFullKinematicContacts: 0 + m_UseAutoMass: 0 + m_Mass: 1 + m_LinearDrag: 0 + m_AngularDrag: 0.05 + m_GravityScale: 0 + m_Material: {fileID: 0} + m_Interpolate: 0 + m_SleepingMode: 1 + m_CollisionDetection: 0 + m_Constraints: 4 +--- !u!61 &6843575828445418652 +BoxCollider2D: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6843575828445418657} + m_Enabled: 1 + m_Density: 1 + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_UsedByEffector: 0 + m_UsedByComposite: 0 + m_Offset: {x: 0.5144317, y: 0.50000024} + m_SpriteTilingProperty: + border: {x: 0, y: 0, z: 0, w: 0} + pivot: {x: 0, y: 0} + oldSize: {x: 1, y: 1} + newSize: {x: 0.16, y: 0.16} + adaptiveTilingThreshold: 0.5 + drawMode: 0 + adaptiveTiling: 0 + m_AutoTiling: 0 + serializedVersion: 2 + m_Size: {x: 0.913409, y: 0.88454485} + m_EdgeRadius: 0 +--- !u!95 &6843575828445418651 +Animator: + serializedVersion: 3 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6843575828445418657} + m_Enabled: 1 + m_Avatar: {fileID: 0} + m_Controller: {fileID: 9100000, guid: dc9347e7518ed4709b6cacd42554e650, type: 2} + m_CullingMode: 0 + m_UpdateMode: 0 + m_ApplyRootMotion: 0 + m_LinearVelocityBlending: 0 + m_WarningMessage: + m_HasTransformHierarchy: 1 + m_AllowConstantClipSamplingOptimization: 1 + m_KeepAnimatorControllerStateOnDisable: 0 diff --git a/Assets/Prefabs/Player.prefab.meta b/Assets/Prefabs/Player.prefab.meta new file mode 100644 index 0000000..897845a --- /dev/null +++ b/Assets/Prefabs/Player.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: d3055091a17dc4aa1accf2e33ccef144 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/SampleScene.unity b/Assets/Scenes/SampleScene.unity index 9f883f9..42ecb2a 100644 --- a/Assets/Scenes/SampleScene.unity +++ b/Assets/Scenes/SampleScene.unity @@ -8156,7 +8156,7 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 519420028} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 10.241558, y: -4.0430503, z: -2.7893844} + m_LocalPosition: {x: 10.581639, y: -4.0430503, z: -2.7893844} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} @@ -8321,148 +8321,83 @@ Transform: m_Father: {fileID: 0} m_RootOrder: 4 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1 &1352658974 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1352658977} - - component: {fileID: 1352658976} - - component: {fileID: 1352658975} - - component: {fileID: 1352658978} - - component: {fileID: 1352658979} - m_Layer: 0 - m_Name: MockPlayer - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!114 &1352658975 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1352658974} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: e3cc05deb3d6e44128ad7bc8610cedac, type: 3} - m_Name: - m_EditorClassIdentifier: - movementSpeed: 4 - respawnPosition: {fileID: 185746015} - bombPrefab: {fileID: 5909392949477884267, guid: 28467e0d65b5d3844bf1862ac0c49ad9, - type: 3} ---- !u!212 &1352658976 -SpriteRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1352658974} - m_Enabled: 1 - m_CastShadows: 0 - m_ReceiveShadows: 0 - m_DynamicOccludee: 1 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - 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_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 0 - m_SelectedEditorRenderState: 0 - m_MinimumChartSize: 4 - m_AutoUVMaxDistance: 0.5 - m_AutoUVMaxAngle: 89 - m_LightmapParameters: {fileID: 0} - m_SortingLayerID: 0 - m_SortingLayer: 0 - m_SortingOrder: 1 - m_Sprite: {fileID: 21300000, guid: 753e29d30d8044605aede9853c9308c7, type: 3} - m_Color: {r: 1, g: 0, b: 0, a: 1} - m_FlipX: 0 - m_FlipY: 0 - m_DrawMode: 0 - m_Size: {x: 0.16, y: 0.16} - m_AdaptiveModeThreshold: 0.5 - m_SpriteTileMode: 0 - m_WasSpriteAssigned: 1 - m_MaskInteraction: 0 - m_SpriteSortPoint: 0 ---- !u!4 &1352658977 +--- !u!4 &1352658977 stripped Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 6843575828445418654, guid: d3055091a17dc4aa1accf2e33ccef144, + type: 3} + m_PrefabInstance: {fileID: 6843575829779162303} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1352658974} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 7.2106156} - m_LocalScale: {x: 1, y: 1, z: 0} - m_Children: [] - m_Father: {fileID: 0} - m_RootOrder: 2 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!50 &1352658978 -Rigidbody2D: - serializedVersion: 4 +--- !u!1001 &6843575829779162303 +PrefabInstance: m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1352658974} - m_BodyType: 0 - m_Simulated: 1 - m_UseFullKinematicContacts: 0 - m_UseAutoMass: 0 - m_Mass: 1 - m_LinearDrag: 0 - m_AngularDrag: 0.05 - m_GravityScale: 0 - m_Material: {fileID: 0} - m_Interpolate: 0 - m_SleepingMode: 1 - m_CollisionDetection: 0 - m_Constraints: 4 ---- !u!61 &1352658979 -BoxCollider2D: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1352658974} - m_Enabled: 1 - m_Density: 1 - m_Material: {fileID: 0} - m_IsTrigger: 0 - m_UsedByEffector: 0 - m_UsedByComposite: 0 - m_Offset: {x: 0.5144317, y: 0.50000024} - m_SpriteTilingProperty: - border: {x: 0, y: 0, z: 0, w: 0} - pivot: {x: 0, y: 0} - oldSize: {x: 1, y: 1} - newSize: {x: 0.16, y: 0.16} - adaptiveTilingThreshold: 0.5 - drawMode: 0 - adaptiveTiling: 0 - m_AutoTiling: 0 serializedVersion: 2 - m_Size: {x: 0.913409, y: 0.88454485} - m_EdgeRadius: 0 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 6843575828445418657, guid: d3055091a17dc4aa1accf2e33ccef144, + type: 3} + propertyPath: m_Name + value: Player + objectReference: {fileID: 0} + - target: {fileID: 6843575828445418654, guid: d3055091a17dc4aa1accf2e33ccef144, + type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6843575828445418654, guid: d3055091a17dc4aa1accf2e33ccef144, + type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6843575828445418654, guid: d3055091a17dc4aa1accf2e33ccef144, + type: 3} + propertyPath: m_LocalPosition.z + value: 7.2106156 + objectReference: {fileID: 0} + - target: {fileID: 6843575828445418654, guid: d3055091a17dc4aa1accf2e33ccef144, + type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6843575828445418654, guid: d3055091a17dc4aa1accf2e33ccef144, + type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6843575828445418654, guid: d3055091a17dc4aa1accf2e33ccef144, + type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6843575828445418654, guid: d3055091a17dc4aa1accf2e33ccef144, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 6843575828445418654, guid: d3055091a17dc4aa1accf2e33ccef144, + type: 3} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 6843575828445418654, guid: d3055091a17dc4aa1accf2e33ccef144, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6843575828445418654, guid: d3055091a17dc4aa1accf2e33ccef144, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6843575828445418654, guid: d3055091a17dc4aa1accf2e33ccef144, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6843575828445418656, guid: d3055091a17dc4aa1accf2e33ccef144, + type: 3} + propertyPath: respawnPosition + value: + objectReference: {fileID: 185746015} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: d3055091a17dc4aa1accf2e33ccef144, type: 3} diff --git a/Assets/Sprites/Player.meta b/Assets/Sprites/Player.meta new file mode 100644 index 0000000..a71046e --- /dev/null +++ b/Assets/Sprites/Player.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8cf9aa37a78d94c9a9b27e0aa3d65b3e +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Sprites/Player/MockPlayer.controller b/Assets/Sprites/Player/MockPlayer.controller new file mode 100644 index 0000000..7de399e --- /dev/null +++ b/Assets/Sprites/Player/MockPlayer.controller @@ -0,0 +1,72 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!91 &9100000 +AnimatorController: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: MockPlayer + serializedVersion: 5 + m_AnimatorParameters: [] + m_AnimatorLayers: + - serializedVersion: 5 + m_Name: Base Layer + m_StateMachine: {fileID: 1107510709762736314} + m_Mask: {fileID: 0} + m_Motions: [] + m_Behaviours: [] + m_BlendingMode: 0 + m_SyncedLayerIndex: -1 + m_DefaultWeight: 0 + m_IKPass: 0 + m_SyncedLayerAffectsTiming: 0 + m_Controller: {fileID: 9100000} +--- !u!1102 &1102275762780126800 +AnimatorState: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: PlayerRunning + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: [] + m_StateMachineBehaviours: [] + m_Position: {x: 50, y: 50, z: 0} + m_IKOnFeet: 0 + m_WriteDefaultValues: 1 + m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: 2cdaef357e9274d569d0b48634ff44c2, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: +--- !u!1107 &1107510709762736314 +AnimatorStateMachine: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Base Layer + m_ChildStates: + - serializedVersion: 1 + m_State: {fileID: 1102275762780126800} + m_Position: {x: 200, y: 0, z: 0} + m_ChildStateMachines: [] + m_AnyStateTransitions: [] + m_EntryTransitions: [] + m_StateMachineTransitions: {} + m_StateMachineBehaviours: [] + m_AnyStatePosition: {x: 50, y: 20, z: 0} + m_EntryPosition: {x: 50, y: 120, z: 0} + m_ExitPosition: {x: 800, y: 120, z: 0} + m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} + m_DefaultState: {fileID: 1102275762780126800} diff --git a/Assets/Sprites/Player/MockPlayer.controller.meta b/Assets/Sprites/Player/MockPlayer.controller.meta new file mode 100644 index 0000000..4f498e9 --- /dev/null +++ b/Assets/Sprites/Player/MockPlayer.controller.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: dc9347e7518ed4709b6cacd42554e650 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 9100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Sprites/Player/PlayerRunning.anim b/Assets/Sprites/Player/PlayerRunning.anim new file mode 100644 index 0000000..1cbcd84 --- /dev/null +++ b/Assets/Sprites/Player/PlayerRunning.anim @@ -0,0 +1,89 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!74 &7400000 +AnimationClip: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: PlayerRunning + serializedVersion: 6 + m_Legacy: 0 + m_Compressed: 0 + m_UseHighQualityCurve: 1 + m_RotationCurves: [] + m_CompressedRotationCurves: [] + m_EulerCurves: [] + m_PositionCurves: [] + m_ScaleCurves: [] + m_FloatCurves: [] + m_PPtrCurves: + - curve: + - time: 0 + value: {fileID: 21300000, guid: 69237087e6b0b42ac8d25d0035b2e01b, type: 3} + - time: 0.083333336 + value: {fileID: 21300002, guid: 69237087e6b0b42ac8d25d0035b2e01b, type: 3} + - time: 0.16666667 + value: {fileID: 21300004, guid: 69237087e6b0b42ac8d25d0035b2e01b, type: 3} + - time: 0.25 + value: {fileID: 21300006, guid: 69237087e6b0b42ac8d25d0035b2e01b, type: 3} + - time: 0.33333334 + value: {fileID: 21300008, guid: 69237087e6b0b42ac8d25d0035b2e01b, type: 3} + - time: 0.41666666 + value: {fileID: 21300010, guid: 69237087e6b0b42ac8d25d0035b2e01b, type: 3} + - time: 0.5 + value: {fileID: 21300012, guid: 69237087e6b0b42ac8d25d0035b2e01b, type: 3} + - time: 0.5833333 + value: {fileID: 21300014, guid: 69237087e6b0b42ac8d25d0035b2e01b, type: 3} + attribute: m_Sprite + path: + classID: 212 + script: {fileID: 0} + m_SampleRate: 12 + m_WrapMode: 0 + m_Bounds: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0, y: 0, z: 0} + m_ClipBindingConstant: + genericBindings: + - serializedVersion: 2 + path: 0 + attribute: 0 + script: {fileID: 0} + typeID: 212 + customType: 23 + isPPtrCurve: 1 + pptrCurveMapping: + - {fileID: 21300000, guid: 69237087e6b0b42ac8d25d0035b2e01b, type: 3} + - {fileID: 21300002, guid: 69237087e6b0b42ac8d25d0035b2e01b, type: 3} + - {fileID: 21300004, guid: 69237087e6b0b42ac8d25d0035b2e01b, type: 3} + - {fileID: 21300006, guid: 69237087e6b0b42ac8d25d0035b2e01b, type: 3} + - {fileID: 21300008, guid: 69237087e6b0b42ac8d25d0035b2e01b, type: 3} + - {fileID: 21300010, guid: 69237087e6b0b42ac8d25d0035b2e01b, type: 3} + - {fileID: 21300012, guid: 69237087e6b0b42ac8d25d0035b2e01b, type: 3} + - {fileID: 21300014, guid: 69237087e6b0b42ac8d25d0035b2e01b, type: 3} + m_AnimationClipSettings: + serializedVersion: 2 + m_AdditiveReferencePoseClip: {fileID: 0} + m_AdditiveReferencePoseTime: 0 + m_StartTime: 0 + m_StopTime: 0.6666666 + m_OrientationOffsetY: 0 + m_Level: 0 + m_CycleOffset: 0 + m_HasAdditiveReferencePose: 0 + m_LoopTime: 1 + m_LoopBlend: 0 + m_LoopBlendOrientation: 0 + m_LoopBlendPositionY: 0 + m_LoopBlendPositionXZ: 0 + m_KeepOriginalOrientation: 0 + m_KeepOriginalPositionY: 1 + m_KeepOriginalPositionXZ: 0 + m_HeightFromFeet: 0 + m_Mirror: 0 + m_EditorCurves: [] + m_EulerEditorCurves: [] + m_HasGenericRootTransform: 0 + m_HasMotionFloatCurves: 0 + m_Events: [] diff --git a/Assets/Sprites/Player/PlayerRunning.anim.meta b/Assets/Sprites/Player/PlayerRunning.anim.meta new file mode 100644 index 0000000..20b5cd6 --- /dev/null +++ b/Assets/Sprites/Player/PlayerRunning.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 2cdaef357e9274d569d0b48634ff44c2 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 7400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Sprites/Player/player_run.png b/Assets/Sprites/Player/player_run.png new file mode 100644 index 0000000000000000000000000000000000000000..340c0965c16bff7aff278025e34559c4694db0bf GIT binary patch literal 19799 zcmeI4dstIfw!ja?N{fRygIB5|NwHR~#Jqu|BtfO3Z4ocp3hgN5aggvxViHLRAt2PY z)&g2DwZ0N+YpqHJw2D<8q9Pp?@iB@IBq%D5JYonKVq!AqByflrdrxoY-uun>CEu5m zm3`J)d+*;~d+n9{an>zf6y@VR$r}IwpM?t|V*y|kBm%jwjE1hocP1}@K3)|qh?fAs z7(e*!0c_p=8UW1k<}Zzt#zntR=L*wjvw1=eI9r}Bf^C6tmR!W`r zvV$n%#yGu`ZX(^Gu zlL5_Okcdl5$ry&!qs9f_)Z2ilBuo+FOkNA!*Ef!g4A6)5+w_zLP@gl1ptxT zFT^P2C%s@G@SPW$fpY!}%-}l?GkZ)qmO31wPM;?R*;1i+sZf~4bcE~Tq0wXK&4a@; z6gy)XU%(T}Bs0VDBTa?_XV@DU$(Djl$dZO5gy0CIr9?8FK%o<9v)~9PI5}}>j_?r; zZ6Y39%6`rZg-)WtFe;gbBN9Oxjz$h4;W%V& z2$#!YbIGBkp^luKJ=al;m=C2wcAAq8JQp6+SrRRT%cF&Ga2yWo9i$L(>@W_93*!=! zC~PW?7)k(#x^UsjRtmG)$}1YGrO>(GrfzCCG)*kTC??`cNR(56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I8r}O>Iy6kb!h~9z z_b)Dj@C|Jl-Pm}tIM8;z>=QkRA!L2Lh)<d|p|(x@qNDR1bUxqFq^a;`RVaK| z*EU`4HMJQM;3do!!Y7P=S87D@U9;Th^LzUJ%PiK^zqo>WzQ1h6z&&!YLK>J!8>9F# z<7m>P=$Pcng03;lZYuVhJ#TlY#}q<&B~&YmyP~X>KbX6MqQPn}2NVg-Y*E#0ZM#wX zgUeZ0jy|p_41cX(9v*hJ^OmCfcH5DZn3;_`y=J5<<{q1-*2!un6gJ0q`2G-Jo8lX# z&q>;8@-PLO)RY|CE;Ytgq49+IQf#a&Ci(rMLx{wt24hkyeZrJQBGG2(f?25 z7;Ao7uO)nuu!{;z@U0FEuYEY_CE(ZQ_gn9L+iaMTVEikqoM=bsI3`Nqg9G?Ej|!CJ zs>{ze Date: Tue, 4 Jun 2019 20:46:31 +0300 Subject: [PATCH 2/2] Rename MockPlayer animation ctrl to PlayerAnimator ctrl --- .../Player/{MockPlayer.controller => PlayerAnimator.controller} | 0 ...{MockPlayer.controller.meta => PlayerAnimator.controller.meta} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename Assets/Sprites/Player/{MockPlayer.controller => PlayerAnimator.controller} (100%) rename Assets/Sprites/Player/{MockPlayer.controller.meta => PlayerAnimator.controller.meta} (100%) diff --git a/Assets/Sprites/Player/MockPlayer.controller b/Assets/Sprites/Player/PlayerAnimator.controller similarity index 100% rename from Assets/Sprites/Player/MockPlayer.controller rename to Assets/Sprites/Player/PlayerAnimator.controller diff --git a/Assets/Sprites/Player/MockPlayer.controller.meta b/Assets/Sprites/Player/PlayerAnimator.controller.meta similarity index 100% rename from Assets/Sprites/Player/MockPlayer.controller.meta rename to Assets/Sprites/Player/PlayerAnimator.controller.meta