Commit 110e6311 authored by Markus Schlösser's avatar Markus Schlösser
Browse files

Added ilde loop

parent c6b525eb
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!74 &7400000
AnimationClip:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: Idle
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: a9ee87bee578d4346ad06d724f81c672, type: 3}
- time: 0.033333335
value: {fileID: 21300000, guid: 87c515b30e896ec4bb7d6d90077e5279, type: 3}
- time: 0.06666667
value: {fileID: 21300000, guid: ae577022bceb76146b9a63ee8f8a91fd, type: 3}
- time: 0.1
value: {fileID: 21300000, guid: de0c6a9bee7227b45a48d086282bdd5f, type: 3}
- time: 0.13333334
value: {fileID: 21300000, guid: cbfa0b8ee8937ea4380ff5c932a3acfc, type: 3}
- time: 0.16666667
value: {fileID: 21300000, guid: 50bf8136c7d266f45917687ea870cc61, type: 3}
- time: 0.2
value: {fileID: 21300000, guid: 194c37c49260a2d4095e852f7234f8fe, type: 3}
- time: 0.23333333
value: {fileID: 21300000, guid: 64a83e555c1e4a041b3a473c7d5fc543, type: 3}
- time: 0.26666668
value: {fileID: 21300000, guid: 6ba76f0d1c078e040a57739341c71abe, type: 3}
- time: 0.3
value: {fileID: 21300000, guid: e7a426aa0a8c6404d8dde91a65dfb834, type: 3}
- time: 0.33333334
value: {fileID: 21300000, guid: 5a1f1c17c0c115e4aaed55d4ca9cfb11, type: 3}
- time: 0.36666667
value: {fileID: 21300000, guid: fb480a74ae8daf3419b869cfbbc137c8, type: 3}
- time: 0.4
value: {fileID: 21300000, guid: 3287be271a7bb654a8c8c63a273ad17f, type: 3}
- time: 0.43333334
value: {fileID: 21300000, guid: 245792f432cf3144fa3d19e429f71492, type: 3}
- time: 0.46666667
value: {fileID: 21300000, guid: 36c9605ce9315094cab3734d14141e48, type: 3}
- time: 0.5
value: {fileID: 21300000, guid: c3cf710ba2e710a4a908a34ddce7ead0, type: 3}
- time: 0.53333336
value: {fileID: 21300000, guid: 84c0c893a64c7414087f0a73246a8752, type: 3}
- time: 0.5666667
value: {fileID: 21300000, guid: a215745696f5f1149ac4d68e4dc3f9ae, type: 3}
- time: 0.6000001
value: {fileID: 21300000, guid: 1392476bbc70a7e498a82c8b2636d841, type: 3}
- time: 0.63333344
value: {fileID: 21300000, guid: 089bf102a4cbc6f4fae893966569f9c8, type: 3}
- time: 0.6666668
value: {fileID: 21300000, guid: 7caac62ee823ace4383d66e02b5a8062, type: 3}
- time: 0.70000017
value: {fileID: 21300000, guid: 68e6196a59564254696abdb97feda421, type: 3}
- time: 0.7333335
value: {fileID: 21300000, guid: 716447a8a982f8d4091b3bfc53a27626, type: 3}
- time: 0.7666669
value: {fileID: 21300000, guid: 0322f3ec07d2aff40beb9014567e4189, type: 3}
- time: 0.80000025
value: {fileID: 21300000, guid: 9e8be9c1f0a53294e9050df5685cdc6f, type: 3}
- time: 0.8333336
value: {fileID: 21300000, guid: 1228a023c2a1f5b4f8c2650035b8ae0c, type: 3}
- time: 0.866667
value: {fileID: 21300000, guid: 619ed13aa145d5f46adc51b67db5799c, type: 3}
- time: 0.90000033
value: {fileID: 21300000, guid: 4783aa1c17db74d40aec338c2b94ce86, type: 3}
- time: 0.9333337
value: {fileID: 21300000, guid: 932f0d1195002894a9d787ebcc57585a, type: 3}
- time: 0.96666706
value: {fileID: 21300000, guid: e6dc0d2bcbe333844835e155ccc87653, type: 3}
attribute: m_Sprite
path:
classID: 212
script: {fileID: 0}
m_SampleRate: 30
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: a9ee87bee578d4346ad06d724f81c672, type: 3}
- {fileID: 21300000, guid: 87c515b30e896ec4bb7d6d90077e5279, type: 3}
- {fileID: 21300000, guid: ae577022bceb76146b9a63ee8f8a91fd, type: 3}
- {fileID: 21300000, guid: de0c6a9bee7227b45a48d086282bdd5f, type: 3}
- {fileID: 21300000, guid: cbfa0b8ee8937ea4380ff5c932a3acfc, type: 3}
- {fileID: 21300000, guid: 50bf8136c7d266f45917687ea870cc61, type: 3}
- {fileID: 21300000, guid: 194c37c49260a2d4095e852f7234f8fe, type: 3}
- {fileID: 21300000, guid: 64a83e555c1e4a041b3a473c7d5fc543, type: 3}
- {fileID: 21300000, guid: 6ba76f0d1c078e040a57739341c71abe, type: 3}
- {fileID: 21300000, guid: e7a426aa0a8c6404d8dde91a65dfb834, type: 3}
- {fileID: 21300000, guid: 5a1f1c17c0c115e4aaed55d4ca9cfb11, type: 3}
- {fileID: 21300000, guid: fb480a74ae8daf3419b869cfbbc137c8, type: 3}
- {fileID: 21300000, guid: 3287be271a7bb654a8c8c63a273ad17f, type: 3}
- {fileID: 21300000, guid: 245792f432cf3144fa3d19e429f71492, type: 3}
- {fileID: 21300000, guid: 36c9605ce9315094cab3734d14141e48, type: 3}
- {fileID: 21300000, guid: c3cf710ba2e710a4a908a34ddce7ead0, type: 3}
- {fileID: 21300000, guid: 84c0c893a64c7414087f0a73246a8752, type: 3}
- {fileID: 21300000, guid: a215745696f5f1149ac4d68e4dc3f9ae, type: 3}
- {fileID: 21300000, guid: 1392476bbc70a7e498a82c8b2636d841, type: 3}
- {fileID: 21300000, guid: 089bf102a4cbc6f4fae893966569f9c8, type: 3}
- {fileID: 21300000, guid: 7caac62ee823ace4383d66e02b5a8062, type: 3}
- {fileID: 21300000, guid: 68e6196a59564254696abdb97feda421, type: 3}
- {fileID: 21300000, guid: 716447a8a982f8d4091b3bfc53a27626, type: 3}
- {fileID: 21300000, guid: 0322f3ec07d2aff40beb9014567e4189, type: 3}
- {fileID: 21300000, guid: 9e8be9c1f0a53294e9050df5685cdc6f, type: 3}
- {fileID: 21300000, guid: 1228a023c2a1f5b4f8c2650035b8ae0c, type: 3}
- {fileID: 21300000, guid: 619ed13aa145d5f46adc51b67db5799c, type: 3}
- {fileID: 21300000, guid: 4783aa1c17db74d40aec338c2b94ce86, type: 3}
- {fileID: 21300000, guid: 932f0d1195002894a9d787ebcc57585a, type: 3}
- {fileID: 21300000, guid: e6dc0d2bcbe333844835e155ccc87653, type: 3}
m_AnimationClipSettings:
serializedVersion: 2
m_AdditiveReferencePoseClip: {fileID: 0}
m_AdditiveReferencePoseTime: 0
m_StartTime: 0
m_StopTime: 1.0000004
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_GenerateMotionCurves: 0
m_Events: []
fileFormatVersion: 2
guid: ac3828d216efe2a41b173f9b094aaf5c
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 7400000
userData:
assetBundleName:
assetBundleVariant:
......@@ -13,13 +13,13 @@ AnimatorController:
m_DefaultFloat: 0
m_DefaultInt: 0
m_DefaultBool: 0
m_Controller: {fileID: 0}
m_Controller: {fileID: 9100000}
- m_Name: isRunning
m_Type: 4
m_DefaultFloat: 0
m_DefaultInt: 0
m_DefaultBool: 0
m_Controller: {fileID: 0}
m_Controller: {fileID: 9100000}
m_AnimatorLayers:
- serializedVersion: 5
m_Name: Base Layer
......@@ -33,6 +33,78 @@ AnimatorController:
m_IKPass: 0
m_SyncedLayerAffectsTiming: 0
m_Controller: {fileID: 9100000}
--- !u!1101 &1101161664467730644
AnimatorStateTransition:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name:
m_Conditions:
- m_ConditionMode: 1
m_ConditionEvent: isRunning
m_EventTreshold: 0
m_DstStateMachine: {fileID: 0}
m_DstState: {fileID: 1102744145824733098}
m_Solo: 0
m_Mute: 0
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 0
m_TransitionOffset: 0
m_ExitTime: 0
m_HasExitTime: 0
m_HasFixedDuration: 1
m_InterruptionSource: 0
m_OrderedInterruption: 1
m_CanTransitionToSelf: 1
--- !u!1101 &1101232610796361344
AnimatorStateTransition:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name:
m_Conditions:
- m_ConditionMode: 2
m_ConditionEvent: isRunning
m_EventTreshold: 0
m_DstStateMachine: {fileID: 0}
m_DstState: {fileID: 1102114199382222114}
m_Solo: 0
m_Mute: 0
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 0
m_TransitionOffset: 0
m_ExitTime: 0
m_HasExitTime: 0
m_HasFixedDuration: 1
m_InterruptionSource: 0
m_OrderedInterruption: 1
m_CanTransitionToSelf: 1
--- !u!1101 &1101270517920409074
AnimatorStateTransition:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name:
m_Conditions:
- m_ConditionMode: 1
m_ConditionEvent: isFalling
m_EventTreshold: 0
m_DstStateMachine: {fileID: 0}
m_DstState: {fileID: 1102385050640322498}
m_Solo: 0
m_Mute: 0
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 0
m_TransitionOffset: 0
m_ExitTime: 0
m_HasExitTime: 0
m_HasFixedDuration: 1
m_InterruptionSource: 0
m_OrderedInterruption: 1
m_CanTransitionToSelf: 1
--- !u!1101 &1101367507659398734
AnimatorStateTransition:
m_ObjectHideFlags: 1
......@@ -147,6 +219,33 @@ AnimatorStateTransition:
m_InterruptionSource: 0
m_OrderedInterruption: 1
m_CanTransitionToSelf: 1
--- !u!1102 &1102114199382222114
AnimatorState:
serializedVersion: 5
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: Idle
m_Speed: 1
m_CycleOffset: 0
m_Transitions:
- {fileID: 1101161664467730644}
- {fileID: 1101270517920409074}
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: ac3828d216efe2a41b173f9b094aaf5c, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!1102 &1102161486332623666
AnimatorState:
serializedVersion: 5
......@@ -237,6 +336,7 @@ AnimatorState:
m_CycleOffset: 0
m_Transitions:
- {fileID: 1101523654795596814}
- {fileID: 1101232610796361344}
m_StateMachineBehaviours: []
m_Position: {x: 50, y: 50, z: 0}
m_IKOnFeet: 0
......@@ -265,13 +365,16 @@ AnimatorStateMachine:
m_Position: {x: 36, y: 264, z: 0}
- serializedVersion: 1
m_State: {fileID: 1102744145824733098}
m_Position: {x: 216, y: 48, z: 0}
m_Position: {x: 408, y: 132, z: 0}
- serializedVersion: 1
m_State: {fileID: 1102502364957185512}
m_Position: {x: 300, y: 264, z: 0}
m_Position: {x: 396, y: 276, z: 0}
- serializedVersion: 1
m_State: {fileID: 1102161486332623666}
m_Position: {x: 276, y: 168, z: 0}
m_Position: {x: 564, y: 204, z: 0}
- serializedVersion: 1
m_State: {fileID: 1102114199382222114}
m_Position: {x: 276, y: 48, z: 0}
m_ChildStateMachines: []
m_AnyStateTransitions: []
m_EntryTransitions: []
......@@ -281,4 +384,4 @@ AnimatorStateMachine:
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: 1102744145824733098}
m_DefaultState: {fileID: 1102114199382222114}
......@@ -44,6 +44,7 @@ public class PlayerActor : MonoBehaviour {
}
private void Update() {
animator.SetBool("isRunning", isMoving);
if (isMoving) return;
transform.position = tilemap.GetCellCenterWorld(tilemap.WorldToCell(transform.position));
......
fileFormatVersion: 2
guid: d5792abcf19f6d641a58a537db6aff7e
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: a9ee87bee578d4346ad06d724f81c672
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 7
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: 1
wrapV: 1
wrapW: -1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 512
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 2
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
- serializedVersion: 2
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
vertices: []
indices:
edges: []
weights: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 87c515b30e896ec4bb7d6d90077e5279
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 7
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: 1
wrapV: 1
wrapW: -1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 512
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 2
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
- serializedVersion: 2
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
vertices: []
indices:
edges: []
weights: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: ae577022bceb76146b9a63ee8f8a91fd
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 7
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: 1
wrapV: 1
wrapW: -1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 512
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1