diff --git a/Assets/prefabs/Player.prefab b/Assets/prefabs/Player.prefab new file mode 100644 index 0000000000000000000000000000000000000000..26839ac54292e7f1c85b9893e715bac3ce3c3a7a Binary files /dev/null and b/Assets/prefabs/Player.prefab differ diff --git a/Assets/prefabs/Player.prefab.meta b/Assets/prefabs/Player.prefab.meta new file mode 100644 index 0000000000000000000000000000000000000000..bf8868300de984b6ca7caedb39a8f05b6029f787 --- /dev/null +++ b/Assets/prefabs/Player.prefab.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 403389796c389b14ca61ce9802b971a7 +timeCreated: 1477012475 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/scene/player_animation_test.unity b/Assets/scene/player_animation_test.unity index a624014228c40c5111fc12fbf122e4cfce93d691..882107ae938b5a2b58bf4bee4f43b0f6cf5f44a1 100644 Binary files a/Assets/scene/player_animation_test.unity and b/Assets/scene/player_animation_test.unity differ diff --git a/Assets/script/HeroMobility.cs b/Assets/script/HeroMobility.cs index 0715a19abcbdd9f25835480ec0627400098e325b..43d0f2b9fa237e4fd61aa68a32f3522079b7ff09 100644 --- a/Assets/script/HeroMobility.cs +++ b/Assets/script/HeroMobility.cs @@ -5,16 +5,18 @@ public class HeroMobility : MonoBehaviour { public float playerSpeed = 1f; private Rigidbody2D playerRB; Animator anim; + private Vector2 lastPos; + public Vector2 deltaPos; // Use this for initialization void Start () { playerRB = GetComponent (); anim = GetComponent (); + lastPos = playerRB.position; + } - } - - // Update is called once per frame - void Update () { + // Update is called once per frame + void FixedUpdate () { Vector2 input = new Vector2(Input.GetAxisRaw("Horizontal"), Input.GetAxisRaw("Vertical")); playerMove (input); @@ -24,7 +26,9 @@ public class HeroMobility : MonoBehaviour { void playerMove (Vector2 input){ //Controls hero movement in all 8 directions - playerRB.MovePosition((Vector2)transform.position + input*playerSpeed); + playerRB.MovePosition((Vector2)transform.position + input.normalized*playerSpeed); + deltaPos = playerRB.position - lastPos; + lastPos = playerRB.position; - } + } } diff --git a/Assets/script/PlayerAnimation.cs b/Assets/script/PlayerAnimation.cs index f61f8b0824acde984a4fb95a47cb7243f01403ef..e881a473d4b8749b45fa1f0d7928097f9d9e5d2e 100644 --- a/Assets/script/PlayerAnimation.cs +++ b/Assets/script/PlayerAnimation.cs @@ -6,14 +6,16 @@ public class PlayerAnimation : MonoBehaviour { private Animator animator; private Vector2 lastInput = new Vector2(1, 1); private int horizontalDir = 1; + private HeroMobility hm; - // Use this for initialization - void Start () { + // Use this for initialization + void Start () { animator = GetComponent(); + hm = GetComponent(); } - - // Update is called once per frame - void Update () { + + // Update is called once per frame + void LateUpdate () { AminateMovement(); } @@ -31,6 +33,7 @@ public class PlayerAnimation : MonoBehaviour { animator.SetFloat("X", Mathf.Abs(lastInput.x)); animator.SetFloat("Y", lastInput.y); + animator.SetFloat("DeltaPos", hm.deltaPos.magnitude); Vector2 scale = transform.localScale; scale.x = horizontalDir; transform.localScale = scale; diff --git a/Assets/script/WalkParticles.cs b/Assets/script/WalkParticles.cs new file mode 100644 index 0000000000000000000000000000000000000000..5b9aa34c19a49e7585cc8c917fd42f7918daa4ae --- /dev/null +++ b/Assets/script/WalkParticles.cs @@ -0,0 +1,33 @@ +using UnityEngine; +using System.Collections; + +public class WalkParticles : MonoBehaviour { + + private ParticleSystem ps; + private ParticleSystem.EmissionModule module; + private HeroMobility hm; + + + // Use this for initialization + void Start () { + ps = GetComponentInChildren(); + module = ps.emission; + hm = GetComponent(); + } + + // Update is called once per frame + void LateUpdate () { + if (hm.deltaPos.sqrMagnitude > 0) { + if (!ps.isPlaying) { + ps.Simulate(0.0f, true, false); + module.enabled = true; + ps.Play(); + } + } else { + if (ps.isPlaying) { + module.enabled = false; + ps.Stop(); + } + } + } +} diff --git a/Assets/script/WalkParticles.cs.meta b/Assets/script/WalkParticles.cs.meta new file mode 100644 index 0000000000000000000000000000000000000000..9c997b413a4c70a252b9db4bb2114f42cf714e1f --- /dev/null +++ b/Assets/script/WalkParticles.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: c02d1600d235a814fa07fba8e5b0289f +timeCreated: 1477012137 +licenseType: Free +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/sprite/GADIG_Kamali_WALKDOWN_v9.png b/Assets/sprite/GADIG_Kamali_WALKDOWN_v9.png new file mode 100644 index 0000000000000000000000000000000000000000..c6869a44ddfbe1448b70630be18a6d7b8118a43f Binary files /dev/null and b/Assets/sprite/GADIG_Kamali_WALKDOWN_v9.png differ diff --git a/Assets/sprite/GADIG_Kamali_WALKDOWN_v9.png.meta b/Assets/sprite/GADIG_Kamali_WALKDOWN_v9.png.meta new file mode 100644 index 0000000000000000000000000000000000000000..54fd802e810539e520e91534d04e52db328151a7 --- /dev/null +++ b/Assets/sprite/GADIG_Kamali_WALKDOWN_v9.png.meta @@ -0,0 +1,153 @@ +fileFormatVersion: 2 +guid: 9b010c00d0171e54a8171c3b7a309f11 +timeCreated: 1477614222 +licenseType: Free +TextureImporter: + fileIDToRecycleName: + 21300000: GADIG_Kamali_WALKDOWN_v9_0 + 21300002: GADIG_Kamali_WALKDOWN_v9_1 + 21300004: GADIG_Kamali_WALKDOWN_v9_2 + 21300006: GADIG_Kamali_WALKDOWN_v9_3 + 21300008: GADIG_Kamali_WALKDOWN_v9_4 + 21300010: GADIG_Kamali_WALKDOWN_v9_5 + 21300012: GADIG_Kamali_WALKDOWN_v9_6 + 21300014: GADIG_Kamali_WALKDOWN_v9_7 + serializedVersion: 2 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + linearTexture: 0 + correctGamma: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 0 + cubemapConvolution: 0 + cubemapConvolutionSteps: 7 + cubemapConvolutionExponent: 1.5 + seamlessCubemap: 0 + textureFormat: -1 + maxTextureSize: 2048 + textureSettings: + filterMode: 0 + aniso: 16 + mipBias: -1 + wrapMode: 1 + nPOTScale: 0 + lightmap: 0 + rGBM: 0 + compressionQuality: 50 + allowsAlphaSplitting: 0 + spriteMode: 2 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 16 + alphaIsTransparency: 1 + textureType: 8 + buildTargetSettings: [] + spriteSheet: + sprites: + - name: GADIG_Kamali_WALKDOWN_v9_0 + rect: + serializedVersion: 2 + x: 0 + y: 0 + width: 16 + height: 16 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + - name: GADIG_Kamali_WALKDOWN_v9_1 + rect: + serializedVersion: 2 + x: 16 + y: 0 + width: 16 + height: 16 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + - name: GADIG_Kamali_WALKDOWN_v9_2 + rect: + serializedVersion: 2 + x: 32 + y: 0 + width: 16 + height: 16 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + - name: GADIG_Kamali_WALKDOWN_v9_3 + rect: + serializedVersion: 2 + x: 48 + y: 0 + width: 16 + height: 16 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + - name: GADIG_Kamali_WALKDOWN_v9_4 + rect: + serializedVersion: 2 + x: 64 + y: 0 + width: 16 + height: 16 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + - name: GADIG_Kamali_WALKDOWN_v9_5 + rect: + serializedVersion: 2 + x: 80 + y: 0 + width: 16 + height: 16 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + - name: GADIG_Kamali_WALKDOWN_v9_6 + rect: + serializedVersion: 2 + x: 96 + y: 0 + width: 16 + height: 16 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + - name: GADIG_Kamali_WALKDOWN_v9_7 + rect: + serializedVersion: 2 + x: 112 + y: 0 + width: 16 + height: 16 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + outline: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/sprite/GADIG_Kamali_WALKUP_v5.png b/Assets/sprite/GADIG_Kamali_WALKUP_v5.png new file mode 100644 index 0000000000000000000000000000000000000000..3a0d718eebd90cc87931e1cd1ca8b75971d61ef8 Binary files /dev/null and b/Assets/sprite/GADIG_Kamali_WALKUP_v5.png differ diff --git a/Assets/sprite/GADIG_Kamali_WALKUP_v5.png.meta b/Assets/sprite/GADIG_Kamali_WALKUP_v5.png.meta new file mode 100644 index 0000000000000000000000000000000000000000..a09a1802262a5524ad74abfc262cc2523b2c568d --- /dev/null +++ b/Assets/sprite/GADIG_Kamali_WALKUP_v5.png.meta @@ -0,0 +1,153 @@ +fileFormatVersion: 2 +guid: 2b9a7f44f58787242a0318c229106e99 +timeCreated: 1477614230 +licenseType: Free +TextureImporter: + fileIDToRecycleName: + 21300000: GADIG_Kamali_WALKUP_v5_0 + 21300002: GADIG_Kamali_WALKUP_v5_1 + 21300004: GADIG_Kamali_WALKUP_v5_2 + 21300006: GADIG_Kamali_WALKUP_v5_3 + 21300008: GADIG_Kamali_WALKUP_v5_4 + 21300010: GADIG_Kamali_WALKUP_v5_5 + 21300012: GADIG_Kamali_WALKUP_v5_6 + 21300014: GADIG_Kamali_WALKUP_v5_7 + serializedVersion: 2 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + linearTexture: 0 + correctGamma: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 0 + cubemapConvolution: 0 + cubemapConvolutionSteps: 7 + cubemapConvolutionExponent: 1.5 + seamlessCubemap: 0 + textureFormat: -1 + maxTextureSize: 2048 + textureSettings: + filterMode: 0 + aniso: 16 + mipBias: -1 + wrapMode: 1 + nPOTScale: 0 + lightmap: 0 + rGBM: 0 + compressionQuality: 50 + allowsAlphaSplitting: 0 + spriteMode: 2 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 16 + alphaIsTransparency: 1 + textureType: 8 + buildTargetSettings: [] + spriteSheet: + sprites: + - name: GADIG_Kamali_WALKUP_v5_0 + rect: + serializedVersion: 2 + x: 0 + y: 0 + width: 16 + height: 16 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + - name: GADIG_Kamali_WALKUP_v5_1 + rect: + serializedVersion: 2 + x: 16 + y: 0 + width: 16 + height: 16 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + - name: GADIG_Kamali_WALKUP_v5_2 + rect: + serializedVersion: 2 + x: 32 + y: 0 + width: 16 + height: 16 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + - name: GADIG_Kamali_WALKUP_v5_3 + rect: + serializedVersion: 2 + x: 48 + y: 0 + width: 16 + height: 16 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + - name: GADIG_Kamali_WALKUP_v5_4 + rect: + serializedVersion: 2 + x: 64 + y: 0 + width: 16 + height: 16 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + - name: GADIG_Kamali_WALKUP_v5_5 + rect: + serializedVersion: 2 + x: 80 + y: 0 + width: 16 + height: 16 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + - name: GADIG_Kamali_WALKUP_v5_6 + rect: + serializedVersion: 2 + x: 96 + y: 0 + width: 16 + height: 16 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + - name: GADIG_Kamali_WALKUP_v5_7 + rect: + serializedVersion: 2 + x: 112 + y: 0 + width: 16 + height: 16 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + outline: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/sprite/GADIG_Kamali_WALK_v15.png b/Assets/sprite/GADIG_Kamali_WALK_v15.png new file mode 100644 index 0000000000000000000000000000000000000000..97160987a319f2f2c24a85a4b08e33ff946c0b2c Binary files /dev/null and b/Assets/sprite/GADIG_Kamali_WALK_v15.png differ diff --git a/Assets/sprite/GADIG_Kamali_WALK_v15.png.meta b/Assets/sprite/GADIG_Kamali_WALK_v15.png.meta new file mode 100644 index 0000000000000000000000000000000000000000..835a622dfbca9becbde10f83e189febde9b4494a --- /dev/null +++ b/Assets/sprite/GADIG_Kamali_WALK_v15.png.meta @@ -0,0 +1,153 @@ +fileFormatVersion: 2 +guid: 3fba717dc7cb39b4498eabf5d357025f +timeCreated: 1477614205 +licenseType: Free +TextureImporter: + fileIDToRecycleName: + 21300000: GADIG_Kamali_WALK_v15_0 + 21300002: GADIG_Kamali_WALK_v15_1 + 21300004: GADIG_Kamali_WALK_v15_2 + 21300006: GADIG_Kamali_WALK_v15_3 + 21300008: GADIG_Kamali_WALK_v15_4 + 21300010: GADIG_Kamali_WALK_v15_5 + 21300012: GADIG_Kamali_WALK_v15_6 + 21300014: GADIG_Kamali_WALK_v15_7 + serializedVersion: 2 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + linearTexture: 0 + correctGamma: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 0 + cubemapConvolution: 0 + cubemapConvolutionSteps: 7 + cubemapConvolutionExponent: 1.5 + seamlessCubemap: 0 + textureFormat: -1 + maxTextureSize: 2048 + textureSettings: + filterMode: 0 + aniso: 16 + mipBias: -1 + wrapMode: 1 + nPOTScale: 0 + lightmap: 0 + rGBM: 0 + compressionQuality: 50 + allowsAlphaSplitting: 0 + spriteMode: 2 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 16 + alphaIsTransparency: 1 + textureType: 8 + buildTargetSettings: [] + spriteSheet: + sprites: + - name: GADIG_Kamali_WALK_v15_0 + rect: + serializedVersion: 2 + x: 0 + y: 0 + width: 16 + height: 16 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + - name: GADIG_Kamali_WALK_v15_1 + rect: + serializedVersion: 2 + x: 16 + y: 0 + width: 16 + height: 16 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + - name: GADIG_Kamali_WALK_v15_2 + rect: + serializedVersion: 2 + x: 32 + y: 0 + width: 16 + height: 16 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + - name: GADIG_Kamali_WALK_v15_3 + rect: + serializedVersion: 2 + x: 48 + y: 0 + width: 16 + height: 16 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + - name: GADIG_Kamali_WALK_v15_4 + rect: + serializedVersion: 2 + x: 64 + y: 0 + width: 16 + height: 16 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + - name: GADIG_Kamali_WALK_v15_5 + rect: + serializedVersion: 2 + x: 80 + y: 0 + width: 16 + height: 16 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + - name: GADIG_Kamali_WALK_v15_6 + rect: + serializedVersion: 2 + x: 96 + y: 0 + width: 16 + height: 16 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + - name: GADIG_Kamali_WALK_v15_7 + rect: + serializedVersion: 2 + x: 112 + y: 0 + width: 16 + height: 16 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + outline: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/sprite/animation/Player/GADIG_Kamali_WALKDOWN_v9_0.controller b/Assets/sprite/animation/Player/GADIG_Kamali_WALKDOWN_v9_0.controller new file mode 100644 index 0000000000000000000000000000000000000000..1ada584e3636f8a1ce40806091ba1d3bf26c840d Binary files /dev/null and b/Assets/sprite/animation/Player/GADIG_Kamali_WALKDOWN_v9_0.controller differ diff --git a/Assets/sprite/animation/Player/GADIG_Kamali_WALKDOWN_v9_0.controller.meta b/Assets/sprite/animation/Player/GADIG_Kamali_WALKDOWN_v9_0.controller.meta new file mode 100644 index 0000000000000000000000000000000000000000..362ae5382ee39a598dfa4f0d64cae8e772b4e163 --- /dev/null +++ b/Assets/sprite/animation/Player/GADIG_Kamali_WALKDOWN_v9_0.controller.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e50eef1045910194994476ba6314412f +timeCreated: 1477614265 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/sprite/animation/Player/GADIG_Kamali_WALKUP_v5_0.controller b/Assets/sprite/animation/Player/GADIG_Kamali_WALKUP_v5_0.controller new file mode 100644 index 0000000000000000000000000000000000000000..8509ca282068b276c722cbb2e7a614f2959938c0 Binary files /dev/null and b/Assets/sprite/animation/Player/GADIG_Kamali_WALKUP_v5_0.controller differ diff --git a/Assets/sprite/animation/Player/GADIG_Kamali_WALKUP_v5_0.controller.meta b/Assets/sprite/animation/Player/GADIG_Kamali_WALKUP_v5_0.controller.meta new file mode 100644 index 0000000000000000000000000000000000000000..d8e4667b8a23c4782df20ae311c225d277ecf3a2 --- /dev/null +++ b/Assets/sprite/animation/Player/GADIG_Kamali_WALKUP_v5_0.controller.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0ce8ffb2d8e4de94cbc70d88ef2c8e16 +timeCreated: 1477614337 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/sprite/animation/Player/GADIG_Kamali_WALK_v15_0.controller b/Assets/sprite/animation/Player/GADIG_Kamali_WALK_v15_0.controller new file mode 100644 index 0000000000000000000000000000000000000000..dd6330f558663d1c3cb24e272d0c62f6bada8ec7 Binary files /dev/null and b/Assets/sprite/animation/Player/GADIG_Kamali_WALK_v15_0.controller differ diff --git a/Assets/sprite/animation/Player/GADIG_Kamali_WALK_v15_0.controller.meta b/Assets/sprite/animation/Player/GADIG_Kamali_WALK_v15_0.controller.meta new file mode 100644 index 0000000000000000000000000000000000000000..2dce39152db8c55f4d7226d46ce78aa1ac26eca3 --- /dev/null +++ b/Assets/sprite/animation/Player/GADIG_Kamali_WALK_v15_0.controller.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 9d80102a95ce589448280b8cd0543acd +timeCreated: 1477614256 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/sprite/animation/Player/GADIG_Kamali_WALK_v15_1.controller b/Assets/sprite/animation/Player/GADIG_Kamali_WALK_v15_1.controller new file mode 100644 index 0000000000000000000000000000000000000000..3a04e98b01751d7a0aad2360866c5785f6149c73 Binary files /dev/null and b/Assets/sprite/animation/Player/GADIG_Kamali_WALK_v15_1.controller differ diff --git a/Assets/sprite/animation/Player/GADIG_Kamali_WALK_v15_1.controller.meta b/Assets/sprite/animation/Player/GADIG_Kamali_WALK_v15_1.controller.meta new file mode 100644 index 0000000000000000000000000000000000000000..b75b626b7c1d78be7aa5b0fda161c1df84b7e10f --- /dev/null +++ b/Assets/sprite/animation/Player/GADIG_Kamali_WALK_v15_1.controller.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: bf2ec6fc6fe538b4fb956b844a71b830 +timeCreated: 1477614272 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/sprite/animation/Player/Player.controller b/Assets/sprite/animation/Player/Player.controller index 8fd9d5cfca7318eae6ef579dde6a049cd85aadb8..745d676d0c7c1bd5418f9b71e58fbc4563da0b5f 100644 Binary files a/Assets/sprite/animation/Player/Player.controller and b/Assets/sprite/animation/Player/Player.controller differ diff --git a/Assets/sprite/animation/Player/down.anim b/Assets/sprite/animation/Player/idle_down.anim similarity index 95% rename from Assets/sprite/animation/Player/down.anim rename to Assets/sprite/animation/Player/idle_down.anim index dfad8dff03442b338f231f52fedc1b3bd9ccb76f..16ebed28820797e252a025faf06a03cb5aa0afab 100644 Binary files a/Assets/sprite/animation/Player/down.anim and b/Assets/sprite/animation/Player/idle_down.anim differ diff --git a/Assets/sprite/animation/Player/idle_down.anim.meta b/Assets/sprite/animation/Player/idle_down.anim.meta new file mode 100644 index 0000000000000000000000000000000000000000..b7c45a60079840d9b8eef612b2f6e480f1519158 --- /dev/null +++ b/Assets/sprite/animation/Player/idle_down.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 06102c4709669bc43971949da782722c +timeCreated: 1477614498 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/sprite/animation/Player/up.anim b/Assets/sprite/animation/Player/idle_right.anim similarity index 95% rename from Assets/sprite/animation/Player/up.anim rename to Assets/sprite/animation/Player/idle_right.anim index c54059e4093a3938618bd7352990b51a31819031..23732eef74fa83ef6a70903a83f498bbc2708c47 100644 Binary files a/Assets/sprite/animation/Player/up.anim and b/Assets/sprite/animation/Player/idle_right.anim differ diff --git a/Assets/sprite/animation/Player/idle_right.anim.meta b/Assets/sprite/animation/Player/idle_right.anim.meta new file mode 100644 index 0000000000000000000000000000000000000000..635fe3a5568eb10c4e987641aad7e1a7a5c3b218 --- /dev/null +++ b/Assets/sprite/animation/Player/idle_right.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: fd115c284f2f6bc478417069ddfd6e45 +timeCreated: 1477614659 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/sprite/animation/Player/right.anim b/Assets/sprite/animation/Player/idle_up.anim similarity index 96% rename from Assets/sprite/animation/Player/right.anim rename to Assets/sprite/animation/Player/idle_up.anim index 4541cb138312e14b14faf6ad2528db2bec7f33c0..31045159aae178b74bb268efd070577eadf7e67f 100644 Binary files a/Assets/sprite/animation/Player/right.anim and b/Assets/sprite/animation/Player/idle_up.anim differ diff --git a/Assets/sprite/animation/Player/idle_up.anim.meta b/Assets/sprite/animation/Player/idle_up.anim.meta new file mode 100644 index 0000000000000000000000000000000000000000..372b44bdb0e1e606d3fa3086856fdbf1565b748f --- /dev/null +++ b/Assets/sprite/animation/Player/idle_up.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 89bdbcc31067b764dbb3c9903f340b9a +timeCreated: 1477614668 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/sprite/animation/Player/walk_down.anim b/Assets/sprite/animation/Player/walk_down.anim new file mode 100644 index 0000000000000000000000000000000000000000..e4c5c154f455db8935e66f18b456b7a4418007d3 Binary files /dev/null and b/Assets/sprite/animation/Player/walk_down.anim differ diff --git a/Assets/sprite/animation/Player/down.anim.meta b/Assets/sprite/animation/Player/walk_down.anim.meta similarity index 100% rename from Assets/sprite/animation/Player/down.anim.meta rename to Assets/sprite/animation/Player/walk_down.anim.meta diff --git a/Assets/sprite/animation/Player/walk_right.anim b/Assets/sprite/animation/Player/walk_right.anim new file mode 100644 index 0000000000000000000000000000000000000000..f6a99619d825d9a5743edb268f63c9f0d0d2f3f2 Binary files /dev/null and b/Assets/sprite/animation/Player/walk_right.anim differ diff --git a/Assets/sprite/animation/Player/right.anim.meta b/Assets/sprite/animation/Player/walk_right.anim.meta similarity index 100% rename from Assets/sprite/animation/Player/right.anim.meta rename to Assets/sprite/animation/Player/walk_right.anim.meta diff --git a/Assets/sprite/animation/Player/walk_up.anim b/Assets/sprite/animation/Player/walk_up.anim new file mode 100644 index 0000000000000000000000000000000000000000..47573fb121fc1b9c00a44a4f70d229c13825d66e Binary files /dev/null and b/Assets/sprite/animation/Player/walk_up.anim differ diff --git a/Assets/sprite/animation/Player/up.anim.meta b/Assets/sprite/animation/Player/walk_up.anim.meta similarity index 100% rename from Assets/sprite/animation/Player/up.anim.meta rename to Assets/sprite/animation/Player/walk_up.anim.meta diff --git a/ProjectSettings/TagManager.asset b/ProjectSettings/TagManager.asset index 239cc3a87eff3812aa36e663dc72d8e7ba89ad74..af0210344920c9fa8b5cdcb377091c4a75816d1b 100644 Binary files a/ProjectSettings/TagManager.asset and b/ProjectSettings/TagManager.asset differ