Merge pull request #25 from dnutiu/player-improv

Player improv
This commit is contained in:
Denis-Cosmin Nutiu 2019-06-15 18:28:28 +03:00 committed by GitHub
commit 20d888dbc4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
103 changed files with 5085 additions and 981 deletions

View file

@ -8,7 +8,19 @@ AnimatorController:
m_PrefabAsset: {fileID: 0}
m_Name: PlayerAnimator
serializedVersion: 5
m_AnimatorParameters: []
m_AnimatorParameters:
- m_Name: AnimVertical
m_Type: 1
m_DefaultFloat: 0
m_DefaultInt: 0
m_DefaultBool: 0
m_Controller: {fileID: 0}
- m_Name: AnimHorizontal
m_Type: 1
m_DefaultFloat: 0
m_DefaultInt: 0
m_DefaultBool: 0
m_Controller: {fileID: 0}
m_AnimatorLayers:
- serializedVersion: 5
m_Name: Base Layer
@ -22,14 +34,84 @@ AnimatorController:
m_IKPass: 0
m_SyncedLayerAffectsTiming: 0
m_Controller: {fileID: 9100000}
--- !u!1102 &1102275762780126800
--- !u!206 &206562206788270934
BlendTree:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: BlendTree
m_Childs: []
m_BlendParameter: AnimHorizontal
m_BlendParameterY: Blend
m_MinThreshold: 0
m_MaxThreshold: 1
m_UseAutomaticThresholds: 1
m_NormalizedBlendValues: 0
m_BlendType: 0
--- !u!206 &206674423866706998
BlendTree:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Blend Tree
m_Childs:
- serializedVersion: 2
m_Motion: {fileID: 7400000, guid: 2337addfd1df04b75a2f6e9b66367f34, type: 2}
m_Threshold: 0
m_Position: {x: 0, y: -0.5}
m_TimeScale: 1
m_CycleOffset: 0
m_DirectBlendParameter: AnimVertical
m_Mirror: 0
- serializedVersion: 2
m_Motion: {fileID: 7400000, guid: b7a9ce2fb18da4647af9b13ba8d28017, type: 2}
m_Threshold: 0.2
m_Position: {x: 0, y: 0}
m_TimeScale: 1
m_CycleOffset: 0
m_DirectBlendParameter: AnimVertical
m_Mirror: 0
- serializedVersion: 2
m_Motion: {fileID: 7400000, guid: 5cfba2509014e441a812fd5493deaaca, type: 2}
m_Threshold: 0.4
m_Position: {x: 0, y: 0.5}
m_TimeScale: 1
m_CycleOffset: 0
m_DirectBlendParameter: AnimVertical
m_Mirror: 0
- serializedVersion: 2
m_Motion: {fileID: 7400000, guid: 96df1e786c8d74c8f98e0ba167ee5a80, type: 2}
m_Threshold: 0.6
m_Position: {x: 0.5, y: 0}
m_TimeScale: 1
m_CycleOffset: 0
m_DirectBlendParameter: AnimVertical
m_Mirror: 0
- serializedVersion: 2
m_Motion: {fileID: 7400000, guid: 8de583040b3af46e9ab707c87ae51e79, type: 2}
m_Threshold: 0.8
m_Position: {x: -0.5, y: 0}
m_TimeScale: 1
m_CycleOffset: 0
m_DirectBlendParameter: AnimVertical
m_Mirror: 0
m_BlendParameter: AnimHorizontal
m_BlendParameterY: AnimVertical
m_MinThreshold: 0
m_MaxThreshold: 0.8
m_UseAutomaticThresholds: 1
m_NormalizedBlendValues: 0
m_BlendType: 1
--- !u!1102 &1102132816377026092
AnimatorState:
serializedVersion: 5
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: PlayerRunning
m_Name: PlayerIdleUp
m_Speed: 1
m_CycleOffset: 0
m_Transitions: []
@ -42,7 +124,189 @@ AnimatorState:
m_MirrorParameterActive: 0
m_CycleOffsetParameterActive: 0
m_TimeParameterActive: 0
m_Motion: {fileID: 7400000, guid: 2cdaef357e9274d569d0b48634ff44c2, type: 2}
m_Motion: {fileID: 7400000, guid: 19dc6e34d6d9047d99b6de00eb5a0a82, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!1102 &1102232667013857788
AnimatorState:
serializedVersion: 5
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: PlayerIdleRight
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: 832b860e387b44ff3ace50d911b69420, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!1102 &1102255259036527984
AnimatorState:
serializedVersion: 5
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: CrossBlendTreeOnlyIdleDown
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: 206674423866706998}
m_Tag:
m_SpeedParameter: AnimVertical
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!1102 &1102760441456271074
AnimatorState:
serializedVersion: 5
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: PlayerRunRight
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: 96df1e786c8d74c8f98e0ba167ee5a80, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!1102 &1102822415438344482
AnimatorState:
serializedVersion: 5
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: PlayerIdleLeft
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: 6a6539bed18954b148bf9d104ba5d99b, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!1102 &1102864886641969330
AnimatorState:
serializedVersion: 5
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: PlayerRunDown
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: 2337addfd1df04b75a2f6e9b66367f34, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!1102 &1102904270210786814
AnimatorState:
serializedVersion: 5
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: PlayerRunLeft
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: 8de583040b3af46e9ab707c87ae51e79, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!1102 &1102923169592650640
AnimatorState:
serializedVersion: 5
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: PlayerRunUp
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: 5cfba2509014e441a812fd5493deaaca, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
@ -58,15 +322,36 @@ AnimatorStateMachine:
m_Name: Base Layer
m_ChildStates:
- serializedVersion: 1
m_State: {fileID: 1102275762780126800}
m_Position: {x: 200, y: 0, z: 0}
m_State: {fileID: 1102864886641969330}
m_Position: {x: 252, y: 204, z: 0}
- serializedVersion: 1
m_State: {fileID: 1102923169592650640}
m_Position: {x: 264, y: 120, z: 0}
- serializedVersion: 1
m_State: {fileID: 1102760441456271074}
m_Position: {x: 516, y: 192, z: 0}
- serializedVersion: 1
m_State: {fileID: 1102232667013857788}
m_Position: {x: 516, y: 120, z: 0}
- serializedVersion: 1
m_State: {fileID: 1102904270210786814}
m_Position: {x: 516, y: -24, z: 0}
- serializedVersion: 1
m_State: {fileID: 1102822415438344482}
m_Position: {x: 516, y: 36, z: 0}
- serializedVersion: 1
m_State: {fileID: 1102132816377026092}
m_Position: {x: 384, y: 252, z: 0}
- serializedVersion: 1
m_State: {fileID: 1102255259036527984}
m_Position: {x: 216, y: -156, 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_EntryPosition: {x: 48, y: 120, z: 0}
m_ExitPosition: {x: 800, y: 120, z: 0}
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
m_DefaultState: {fileID: 1102275762780126800}
m_DefaultState: {fileID: 1102255259036527984}

View file

@ -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: PlayerIdleDown
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: 21300064, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.083333336
value: {fileID: 21300066, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.16666667
value: {fileID: 21300068, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.25
value: {fileID: 21300070, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.33333334
value: {fileID: 21300072, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.41666666
value: {fileID: 21300074, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.5
value: {fileID: 21300076, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.5833333
value: {fileID: 21300078, guid: acfc12ff3498641aa93645b517a11af4, 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: 21300064, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300066, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300068, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300070, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300072, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300074, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300076, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300078, guid: acfc12ff3498641aa93645b517a11af4, 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: []

View file

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 2cdaef357e9274d569d0b48634ff44c2
guid: b7a9ce2fb18da4647af9b13ba8d28017
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 7400000

View file

@ -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: PlayerIdleLeft
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: 21300048, guid: 449b74d22efae401386c4330646bd77a, type: 3}
- time: 0.083333336
value: {fileID: 21300050, guid: 449b74d22efae401386c4330646bd77a, type: 3}
- time: 0.16666667
value: {fileID: 21300052, guid: 449b74d22efae401386c4330646bd77a, type: 3}
- time: 0.25
value: {fileID: 21300054, guid: 449b74d22efae401386c4330646bd77a, type: 3}
- time: 0.33333334
value: {fileID: 21300056, guid: 449b74d22efae401386c4330646bd77a, type: 3}
- time: 0.41666666
value: {fileID: 21300058, guid: 449b74d22efae401386c4330646bd77a, type: 3}
- time: 0.5
value: {fileID: 21300060, guid: 449b74d22efae401386c4330646bd77a, type: 3}
- time: 0.5833333
value: {fileID: 21300062, guid: 449b74d22efae401386c4330646bd77a, 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: 21300048, guid: 449b74d22efae401386c4330646bd77a, type: 3}
- {fileID: 21300050, guid: 449b74d22efae401386c4330646bd77a, type: 3}
- {fileID: 21300052, guid: 449b74d22efae401386c4330646bd77a, type: 3}
- {fileID: 21300054, guid: 449b74d22efae401386c4330646bd77a, type: 3}
- {fileID: 21300056, guid: 449b74d22efae401386c4330646bd77a, type: 3}
- {fileID: 21300058, guid: 449b74d22efae401386c4330646bd77a, type: 3}
- {fileID: 21300060, guid: 449b74d22efae401386c4330646bd77a, type: 3}
- {fileID: 21300062, guid: 449b74d22efae401386c4330646bd77a, 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: []

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 6a6539bed18954b148bf9d104ba5d99b
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 7400000
userData:
assetBundleName:
assetBundleVariant:

View file

@ -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: PlayerIdleRight
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: 21300048, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.083333336
value: {fileID: 21300050, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.16666667
value: {fileID: 21300052, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.25
value: {fileID: 21300054, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.33333334
value: {fileID: 21300056, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.41666666
value: {fileID: 21300058, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.5
value: {fileID: 21300060, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.5833333
value: {fileID: 21300062, guid: acfc12ff3498641aa93645b517a11af4, 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: 21300048, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300050, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300052, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300054, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300056, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300058, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300060, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300062, guid: acfc12ff3498641aa93645b517a11af4, 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: []

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 832b860e387b44ff3ace50d911b69420
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 7400000
userData:
assetBundleName:
assetBundleVariant:

View file

@ -6,7 +6,7 @@ AnimationClip:
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: PlayerRunning
m_Name: PlayerIdleUp
serializedVersion: 6
m_Legacy: 0
m_Compressed: 0
@ -20,21 +20,21 @@ AnimationClip:
m_PPtrCurves:
- curve:
- time: 0
value: {fileID: 21300000, guid: 69237087e6b0b42ac8d25d0035b2e01b, type: 3}
value: {fileID: 21300080, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.083333336
value: {fileID: 21300002, guid: 69237087e6b0b42ac8d25d0035b2e01b, type: 3}
value: {fileID: 21300082, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.16666667
value: {fileID: 21300004, guid: 69237087e6b0b42ac8d25d0035b2e01b, type: 3}
value: {fileID: 21300084, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.25
value: {fileID: 21300006, guid: 69237087e6b0b42ac8d25d0035b2e01b, type: 3}
value: {fileID: 21300086, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.33333334
value: {fileID: 21300008, guid: 69237087e6b0b42ac8d25d0035b2e01b, type: 3}
value: {fileID: 21300088, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.41666666
value: {fileID: 21300010, guid: 69237087e6b0b42ac8d25d0035b2e01b, type: 3}
value: {fileID: 21300090, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.5
value: {fileID: 21300012, guid: 69237087e6b0b42ac8d25d0035b2e01b, type: 3}
value: {fileID: 21300092, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.5833333
value: {fileID: 21300014, guid: 69237087e6b0b42ac8d25d0035b2e01b, type: 3}
value: {fileID: 21300094, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
attribute: m_Sprite
path:
classID: 212
@ -54,14 +54,14 @@ AnimationClip:
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}
- {fileID: 21300080, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300082, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300084, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300086, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300088, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300090, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300092, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300094, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
m_AnimationClipSettings:
serializedVersion: 2
m_AdditiveReferencePoseClip: {fileID: 0}

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 19dc6e34d6d9047d99b6de00eb5a0a82
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 7400000
userData:
assetBundleName:
assetBundleVariant:

View file

@ -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: PlayerRunDown
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: 21300016, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.083333336
value: {fileID: 21300018, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.16666667
value: {fileID: 21300020, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.25
value: {fileID: 21300022, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.33333334
value: {fileID: 21300024, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.41666666
value: {fileID: 21300026, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.5
value: {fileID: 21300028, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.5833333
value: {fileID: 21300030, guid: acfc12ff3498641aa93645b517a11af4, 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: 21300016, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300018, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300020, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300022, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300024, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300026, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300028, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300030, guid: acfc12ff3498641aa93645b517a11af4, 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: []

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 2337addfd1df04b75a2f6e9b66367f34
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 7400000
userData:
assetBundleName:
assetBundleVariant:

View file

@ -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: PlayerRunLeft
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: 21300032, guid: 449b74d22efae401386c4330646bd77a, type: 3}
- time: 0.083333336
value: {fileID: 21300034, guid: 449b74d22efae401386c4330646bd77a, type: 3}
- time: 0.16666667
value: {fileID: 21300036, guid: 449b74d22efae401386c4330646bd77a, type: 3}
- time: 0.25
value: {fileID: 21300038, guid: 449b74d22efae401386c4330646bd77a, type: 3}
- time: 0.33333334
value: {fileID: 21300040, guid: 449b74d22efae401386c4330646bd77a, type: 3}
- time: 0.41666666
value: {fileID: 21300042, guid: 449b74d22efae401386c4330646bd77a, type: 3}
- time: 0.5
value: {fileID: 21300044, guid: 449b74d22efae401386c4330646bd77a, type: 3}
- time: 0.5833333
value: {fileID: 21300046, guid: 449b74d22efae401386c4330646bd77a, 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: 21300032, guid: 449b74d22efae401386c4330646bd77a, type: 3}
- {fileID: 21300034, guid: 449b74d22efae401386c4330646bd77a, type: 3}
- {fileID: 21300036, guid: 449b74d22efae401386c4330646bd77a, type: 3}
- {fileID: 21300038, guid: 449b74d22efae401386c4330646bd77a, type: 3}
- {fileID: 21300040, guid: 449b74d22efae401386c4330646bd77a, type: 3}
- {fileID: 21300042, guid: 449b74d22efae401386c4330646bd77a, type: 3}
- {fileID: 21300044, guid: 449b74d22efae401386c4330646bd77a, type: 3}
- {fileID: 21300046, guid: 449b74d22efae401386c4330646bd77a, 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: []

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 8de583040b3af46e9ab707c87ae51e79
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 7400000
userData:
assetBundleName:
assetBundleVariant:

View file

@ -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: PlayerRunRight
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: 21300032, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.083333336
value: {fileID: 21300034, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.16666667
value: {fileID: 21300036, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.25
value: {fileID: 21300038, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.33333334
value: {fileID: 21300040, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.41666666
value: {fileID: 21300042, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.5
value: {fileID: 21300044, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.5833333
value: {fileID: 21300046, guid: acfc12ff3498641aa93645b517a11af4, 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: 21300032, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300034, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300036, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300038, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300040, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300042, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300044, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300046, guid: acfc12ff3498641aa93645b517a11af4, 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: []

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 96df1e786c8d74c8f98e0ba167ee5a80
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 7400000
userData:
assetBundleName:
assetBundleVariant:

View file

@ -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: PlayerRunUp
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: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.083333336
value: {fileID: 21300002, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.16666667
value: {fileID: 21300004, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.25
value: {fileID: 21300006, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.33333334
value: {fileID: 21300008, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.41666666
value: {fileID: 21300010, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.5
value: {fileID: 21300012, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- time: 0.5833333
value: {fileID: 21300014, guid: acfc12ff3498641aa93645b517a11af4, 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: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300002, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300004, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300006, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300008, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300010, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300012, guid: acfc12ff3498641aa93645b517a11af4, type: 3}
- {fileID: 21300014, guid: acfc12ff3498641aa93645b517a11af4, 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: []

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 5cfba2509014e441a812fd5493deaaca
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 7400000
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load diff

View file

@ -1,10 +1,11 @@
using System.Collections;
using src.Base;
using src.Managers;
using UnityEngine;
namespace src.Ammo
{
public class BombController : MonoBehaviour, IExplosable
public class BombController : GameplayComponent, IExplosable
{
public GameObject explosionPrefab;
@ -36,10 +37,11 @@ namespace src.Ammo
private IEnumerator CreateExplosions(Vector3 direction)
{
for (int i = 1; i < _bombsUtil.Power; i++)
var currentPosition = transform.position;
for (var i = 1; i < _bombsUtil.Power; i++)
{
RaycastHit2D hit = Physics2D.Raycast(new Vector3(transform.position.x + 0.5f, transform.position.y + 0.5f, 0) , direction, i,
1 << 8);
var hit = Physics2D.Raycast(new Vector2(currentPosition.x + 0.5f,
currentPosition.y + 0.5f), direction, i, 1 << 8);
if (!hit.collider)
{
@ -49,13 +51,12 @@ namespace src.Ammo
else
{
var key = hit.collider.GetComponent<IExplosable>();
if (key != null)
{
key.onExplosion();
}
key?.onExplosion();
break;
}
}
yield return new WaitForSeconds(0.05f);
}

View file

@ -1,23 +1,25 @@
using src.Managers;
using System.Collections;
using System.Collections.Generic;
using src.Base;
using src.Managers;
using UnityEngine;
public class BombsSpawner : MonoBehaviour
namespace src.Ammo
{
public class BombsSpawner : GameplayComponent
{
public GameObject bombPrefab;
private BombsUtilManager _bombsUtil = BombsUtilManager.Instance;
private readonly BombsUtilManager _bombsUtil = BombsUtilManager.Instance;
public void PlaceBomb(Transform transform)
{
var absX = Mathf.RoundToInt(transform.position.x);
var absY = Mathf.RoundToInt(transform.position.y);
Vector3 position = new Vector3(absX, absY, 0);
var position = new Vector2(absX, absY);
if (_bombsUtil.CanPlaceBomb(position))
{
Instantiate(bombPrefab, position, Quaternion.identity);
_bombsUtil.PlaceBomb(position);
}
}
}
}

View file

@ -1,14 +1,15 @@
using System.Collections;
using System.Collections.Generic;
using src.Base;
using src.Managers;
using UnityEngine;
public class Explosion : MonoBehaviour
namespace src.Ammo
{
public class Explosion : GameplayComponent
{
private readonly BombsUtilManager _bombUtil = BombsUtilManager.Instance;
public void Start()
{
Destroy(gameObject, _bombUtil.ExplosionDuration);
}
}
}

View file

@ -9,11 +9,11 @@ namespace src.Base
public float movementSpeed = 4f;
/* Movement */
protected Rigidbody2D Rigidbody2d;
protected Rigidbody2D rigidbody2d;
protected void Start()
{
Rigidbody2d = GetComponent<Rigidbody2D>();
rigidbody2d = GetComponent<Rigidbody2D>();
}
public void OnTriggerEnter2D(Collider2D other)

View file

@ -5,7 +5,7 @@ namespace src.Managers
{
public sealed class BombsUtilManager
{
private HashSet<Vector3> _usedPosition = new HashSet<Vector3>();
private readonly HashSet<Vector3> _usedPosition = new HashSet<Vector3>();
private const int MaxPower = 7;
private const int MaxAllowedBombs = 10;

View file

@ -4,7 +4,7 @@ namespace src.Managers
{
public class GameManager : MonoBehaviour
{
public static GameManager Instance = null;
public static GameManager Instance;
private LevelManager _levelManager;
public void Awake()

View file

@ -1,18 +1,25 @@
using System;
using src.Ammo;
using src.Base;
using src.Helpers;
using UnityEngine;
using UnityEngine.Tilemaps;
namespace src.Player
{
public class PlayerController : PlayerBase
{
public Transform respawnPosition;
private Transform _respawnPosition;
private BombsSpawner _bombsSpawner;
private Animator _animator;
private static readonly int AnimHorizontal = Animator.StringToHash("AnimHorizontal");
private static readonly int AnimVertical = Animator.StringToHash("AnimVertical");
protected new void Start()
{
base.Start();
_respawnPosition = GameObject.Find("RespawnPosition").transform;
_bombsSpawner = GameObject.Find("BombSpawner").GetComponent<BombsSpawner>();
_animator = GetComponentInChildren<Animator>();
/* Always start at the starting point. */
Respawn();
}
@ -33,19 +40,11 @@ namespace src.Player
var horizontal = Input.GetAxis("Horizontal");
var vertical = Input.GetAxis("Vertical");
// Restrict movement in only one axis at the same time.
if (Math.Abs(vertical) > 0.00001)
{
horizontal = 0;
}
else
{
vertical = 0;
}
_animator.SetFloat(AnimHorizontal, horizontal);
_animator.SetFloat(AnimVertical, vertical);
var movementVector = new Vector2(horizontal, vertical);
Rigidbody2d.position += movementSpeed * Time.deltaTime * movementVector;
rigidbody2d.MovePosition(rigidbody2d.position + movementSpeed * Time.deltaTime * movementVector);
#elif UNITY_IOS || UNITY_ANDROID
// Phone movement is not supported yet.
#elif UNITY_PS4 || UNITY_XBOXONE
@ -55,8 +54,7 @@ namespace src.Player
private void PlaceBomb()
{
GameObject bombsSpawnerObject = GameObject.Find("BombSpawner");
bombsSpawnerObject.GetComponent<BombsSpawner>().PlaceBomb(transform);
_bombsSpawner.PlaceBomb(transform);
}
private void HandleBomb()
@ -75,7 +73,7 @@ namespace src.Player
private void Respawn()
{
transform.position = respawnPosition.position;
transform.SetPositionAndRotation(_respawnPosition.position, Quaternion.identity);
}
public void OnTriggerExit2D(Collider2D other)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

File diff suppressed because it is too large Load diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

File diff suppressed because it is too large Load diff

View file

@ -41,6 +41,114 @@ Tilemap:
m_GameObject: {fileID: 1245870692359032171}
m_Enabled: 1
m_Tiles:
- first: {x: -1, y: -7, z: 0}
second:
m_TileIndex: 32
m_TileSpriteIndex: 32
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_ObjectToInstantiate: {fileID: 0}
m_TileFlags: 1
m_ColliderType: 1
- first: {x: 0, y: -7, z: 0}
second:
m_TileIndex: 31
m_TileSpriteIndex: 31
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_ObjectToInstantiate: {fileID: 0}
m_TileFlags: 1
m_ColliderType: 1
- first: {x: 1, y: -7, z: 0}
second:
m_TileIndex: 30
m_TileSpriteIndex: 30
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_ObjectToInstantiate: {fileID: 0}
m_TileFlags: 1
m_ColliderType: 1
- first: {x: 2, y: -7, z: 0}
second:
m_TileIndex: 29
m_TileSpriteIndex: 29
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_ObjectToInstantiate: {fileID: 0}
m_TileFlags: 1
m_ColliderType: 1
- first: {x: -1, y: -6, z: 0}
second:
m_TileIndex: 28
m_TileSpriteIndex: 28
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_ObjectToInstantiate: {fileID: 0}
m_TileFlags: 1
m_ColliderType: 1
- first: {x: 2, y: -6, z: 0}
second:
m_TileIndex: 27
m_TileSpriteIndex: 27
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_ObjectToInstantiate: {fileID: 0}
m_TileFlags: 1
m_ColliderType: 1
- first: {x: -1, y: -5, z: 0}
second:
m_TileIndex: 26
m_TileSpriteIndex: 26
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_ObjectToInstantiate: {fileID: 0}
m_TileFlags: 1
m_ColliderType: 1
- first: {x: 2, y: -5, z: 0}
second:
m_TileIndex: 25
m_TileSpriteIndex: 25
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_ObjectToInstantiate: {fileID: 0}
m_TileFlags: 1
m_ColliderType: 1
- first: {x: -1, y: -4, z: 0}
second:
m_TileIndex: 24
m_TileSpriteIndex: 24
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_ObjectToInstantiate: {fileID: 0}
m_TileFlags: 1
m_ColliderType: 1
- first: {x: 0, y: -4, z: 0}
second:
m_TileIndex: 23
m_TileSpriteIndex: 23
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_ObjectToInstantiate: {fileID: 0}
m_TileFlags: 1
m_ColliderType: 1
- first: {x: 1, y: -4, z: 0}
second:
m_TileIndex: 22
m_TileSpriteIndex: 22
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_ObjectToInstantiate: {fileID: 0}
m_TileFlags: 1
m_ColliderType: 1
- first: {x: 2, y: -4, z: 0}
second:
m_TileIndex: 21
m_TileSpriteIndex: 21
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_ObjectToInstantiate: {fileID: 0}
m_TileFlags: 1
m_ColliderType: 1
- first: {x: -1, y: -2, z: 0}
second:
m_TileIndex: 15
@ -76,7 +184,7 @@ Tilemap:
m_TileColorIndex: 0
m_ObjectToInstantiate: {fileID: 0}
m_TileFlags: 1
m_ColliderType: 1
m_ColliderType: 0
- first: {x: 4, y: -2, z: 0}
second:
m_TileIndex: 19
@ -85,7 +193,7 @@ Tilemap:
m_TileColorIndex: 0
m_ObjectToInstantiate: {fileID: 0}
m_TileFlags: 1
m_ColliderType: 1
m_ColliderType: 0
- first: {x: 5, y: -2, z: 0}
second:
m_TileIndex: 20
@ -94,7 +202,7 @@ Tilemap:
m_TileColorIndex: 0
m_ObjectToInstantiate: {fileID: 0}
m_TileFlags: 1
m_ColliderType: 1
m_ColliderType: 0
- first: {x: -1, y: -1, z: 0}
second:
m_TileIndex: 9
@ -130,7 +238,7 @@ Tilemap:
m_TileColorIndex: 0
m_ObjectToInstantiate: {fileID: 0}
m_TileFlags: 1
m_ColliderType: 1
m_ColliderType: 0
- first: {x: 4, y: -1, z: 0}
second:
m_TileIndex: 13
@ -139,7 +247,7 @@ Tilemap:
m_TileColorIndex: 0
m_ObjectToInstantiate: {fileID: 0}
m_TileFlags: 1
m_ColliderType: 1
m_ColliderType: 0
- first: {x: 5, y: -1, z: 0}
second:
m_TileIndex: 14
@ -148,7 +256,7 @@ Tilemap:
m_TileColorIndex: 0
m_ObjectToInstantiate: {fileID: 0}
m_TileFlags: 1
m_ColliderType: 1
m_ColliderType: 0
- first: {x: -1, y: 0, z: 0}
second:
m_TileIndex: 3
@ -184,7 +292,7 @@ Tilemap:
m_TileColorIndex: 0
m_ObjectToInstantiate: {fileID: 0}
m_TileFlags: 1
m_ColliderType: 1
m_ColliderType: 0
- first: {x: 4, y: 0, z: 0}
second:
m_TileIndex: 7
@ -193,7 +301,7 @@ Tilemap:
m_TileColorIndex: 0
m_ObjectToInstantiate: {fileID: 0}
m_TileFlags: 1
m_ColliderType: 1
m_ColliderType: 0
- first: {x: 5, y: 0, z: 0}
second:
m_TileIndex: 8
@ -202,7 +310,7 @@ Tilemap:
m_TileColorIndex: 0
m_ObjectToInstantiate: {fileID: 0}
m_TileFlags: 1
m_ColliderType: 1
m_ColliderType: 0
- first: {x: -1, y: 1, z: 0}
second:
m_TileIndex: 0
@ -274,6 +382,30 @@ Tilemap:
m_Data: {fileID: 11400000, guid: b8378bd85cbe54ae283649bd53edf8b3, type: 2}
- m_RefCount: 1
m_Data: {fileID: 11400000, guid: e6a4519ad8022425c966f3f3e5530646, type: 2}
- m_RefCount: 1
m_Data: {fileID: 11400000, guid: 363b68987129f4521b4cc1c601f4748f, type: 2}
- m_RefCount: 1
m_Data: {fileID: 11400000, guid: 06c05a704fa7f4f92931e60bccdd6833, type: 2}
- m_RefCount: 1
m_Data: {fileID: 11400000, guid: 944927f15c8f948f98574ba191445692, type: 2}
- m_RefCount: 1
m_Data: {fileID: 11400000, guid: 633fd0632dc03485d959f045436698ae, type: 2}
- m_RefCount: 1
m_Data: {fileID: 11400000, guid: 284957ad9f781497b9f6a360c047ad37, type: 2}
- m_RefCount: 1
m_Data: {fileID: 11400000, guid: a0a5b5562433f448190a1b50da033883, type: 2}
- m_RefCount: 1
m_Data: {fileID: 11400000, guid: 4698d978521ab43c4ae387f9ee19a4a6, type: 2}
- m_RefCount: 1
m_Data: {fileID: 11400000, guid: 6469f494e107744fc944a210518e35f4, type: 2}
- m_RefCount: 1
m_Data: {fileID: 11400000, guid: c0f21b77ccee144cb866d4f7406c5e29, type: 2}
- m_RefCount: 1
m_Data: {fileID: 11400000, guid: 3c06ff4a1c8144b51aa4d42da08ffd68, type: 2}
- m_RefCount: 1
m_Data: {fileID: 11400000, guid: 27445652e5dda4cdbb52ae893b423654, type: 2}
- m_RefCount: 1
m_Data: {fileID: 11400000, guid: 195f275f346da4690b6d239d5b537c3c, type: 2}
m_TileSpriteArray:
- m_RefCount: 1
m_Data: {fileID: 21300000, guid: 53508fdfeea6241d3a03aa21c60e6c4d, type: 3}
@ -317,8 +449,32 @@ Tilemap:
m_Data: {fileID: 21300038, guid: 53508fdfeea6241d3a03aa21c60e6c4d, type: 3}
- m_RefCount: 1
m_Data: {fileID: 21300040, guid: 53508fdfeea6241d3a03aa21c60e6c4d, type: 3}
- m_RefCount: 1
m_Data: {fileID: 21300006, guid: 9f1e7a6a3f475493abbb6f07fb21c3f5, type: 3}
- m_RefCount: 1
m_Data: {fileID: 21300004, guid: 9f1e7a6a3f475493abbb6f07fb21c3f5, type: 3}
- m_RefCount: 1
m_Data: {fileID: 21300002, guid: 9f1e7a6a3f475493abbb6f07fb21c3f5, type: 3}
- m_RefCount: 1
m_Data: {fileID: 21300000, guid: 9f1e7a6a3f475493abbb6f07fb21c3f5, type: 3}
- m_RefCount: 1
m_Data: {fileID: 21300010, guid: 9f1e7a6a3f475493abbb6f07fb21c3f5, type: 3}
- m_RefCount: 1
m_Data: {fileID: 21300008, guid: 9f1e7a6a3f475493abbb6f07fb21c3f5, type: 3}
- m_RefCount: 1
m_Data: {fileID: 21300014, guid: 9f1e7a6a3f475493abbb6f07fb21c3f5, type: 3}
- m_RefCount: 1
m_Data: {fileID: 21300012, guid: 9f1e7a6a3f475493abbb6f07fb21c3f5, type: 3}
- m_RefCount: 1
m_Data: {fileID: 21300022, guid: 9f1e7a6a3f475493abbb6f07fb21c3f5, type: 3}
- m_RefCount: 1
m_Data: {fileID: 21300020, guid: 9f1e7a6a3f475493abbb6f07fb21c3f5, type: 3}
- m_RefCount: 1
m_Data: {fileID: 21300018, guid: 9f1e7a6a3f475493abbb6f07fb21c3f5, type: 3}
- m_RefCount: 1
m_Data: {fileID: 21300016, guid: 9f1e7a6a3f475493abbb6f07fb21c3f5, type: 3}
m_TileMatrixArray:
- m_RefCount: 21
- m_RefCount: 33
m_Data:
e00: 1
e01: 0
@ -337,12 +493,12 @@ Tilemap:
e32: 0
e33: 1
m_TileColorArray:
- m_RefCount: 21
- m_RefCount: 33
m_Data: {r: 1, g: 1, b: 1, a: 1}
m_AnimationFrameRate: 1
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Origin: {x: -1, y: -2, z: 0}
m_Size: {x: 7, y: 4, z: 1}
m_Origin: {x: -1, y: -7, z: 0}
m_Size: {x: 8, y: 9, z: 1}
m_TileAnchor: {x: 0.5, y: 0.5, z: 0}
m_TileOrientation: 0
m_TileOrientationMatrix:

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 8efba62ae3b194e80a361af91c1d8105
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

View file

@ -1,15 +1,19 @@
fileFormatVersion: 2
guid: 69237087e6b0b42ac8d25d0035b2e01b
guid: 9f1e7a6a3f475493abbb6f07fb21c3f5
TextureImporter:
fileIDToRecycleName:
21300000: player_run_0
21300002: player_run_1
21300004: player_run_2
21300006: player_run_3
21300008: player_run_4
21300010: player_run_5
21300012: player_run_6
21300014: player_run_7
21300000: outer_tiles_0
21300002: outer_tiles_1
21300004: outer_tiles_2
21300006: outer_tiles_3
21300008: outer_tiles_4
21300010: outer_tiles_5
21300012: outer_tiles_6
21300014: outer_tiles_7
21300016: outer_tiles_8
21300018: outer_tiles_9
21300020: outer_tiles_10
21300022: outer_tiles_11
externalObjects: {}
serializedVersion: 9
mipmaps:
@ -51,9 +55,9 @@ TextureImporter:
spriteMode: 2
spriteExtrude: 1
spriteMeshType: 1
alignment: 6
spritePivot: {x: 0, y: 0}
spritePixelsToUnits: 128
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 32
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
@ -103,161 +107,241 @@ TextureImporter:
serializedVersion: 2
sprites:
- serializedVersion: 2
name: player_run_0
name: outer_tiles_0
rect:
serializedVersion: 2
x: 0
y: 96
width: 32
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 9fb865fddf09d4bb5a82b7b2aeee73c0
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: outer_tiles_1
rect:
serializedVersion: 2
x: 32
y: 96
width: 32
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: cd25c9442417941619f017cc6c9f25b9
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: outer_tiles_2
rect:
serializedVersion: 2
x: 64
y: 96
width: 32
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 38e79461908384ad89d258b28c147704
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: outer_tiles_3
rect:
serializedVersion: 2
x: 96
y: 96
width: 32
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: bb1a6fdf7d19b4c9ba3426618deaf1bd
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: outer_tiles_4
rect:
serializedVersion: 2
x: 0
y: 64
width: 32
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 175019ab22ed444c29633706622476aa
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: outer_tiles_5
rect:
serializedVersion: 2
x: 96
y: 64
width: 32
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 7c06f91a40abe403dbcd86c16a32aa91
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: outer_tiles_6
rect:
serializedVersion: 2
x: 0
y: 32
width: 32
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 4a182cc7244f046118b39469b06fcdec
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: outer_tiles_7
rect:
serializedVersion: 2
x: 96
y: 32
width: 32
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 0292dde5e59534b4fbacb6f864c3fca2
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: outer_tiles_8
rect:
serializedVersion: 2
x: 0
y: 0
width: 128
height: 128
alignment: 6
width: 32
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 1e36cd93f9c0a42c98fcc35c8e4ae7f5
spriteID: fdc464aba22d549f0afd3e25cc551207
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: player_run_1
name: outer_tiles_9
rect:
serializedVersion: 2
x: 128
x: 32
y: 0
width: 128
height: 128
alignment: 6
width: 32
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 9c891826c5f474cb49d6edbeb7e80f18
spriteID: 818145642d33f4455af364f479cc6692
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: player_run_2
name: outer_tiles_10
rect:
serializedVersion: 2
x: 256
x: 64
y: 0
width: 128
height: 128
alignment: 6
width: 32
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 9939665c63d7042618d86775a884554e
spriteID: e1c7ca6f55bdf4fb38e7bd6e7901f004
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: player_run_3
name: outer_tiles_11
rect:
serializedVersion: 2
x: 384
x: 96
y: 0
width: 128
height: 128
alignment: 6
width: 32
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 32a7c47449ffa4ac985893c3ae600b39
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: player_run_4
rect:
serializedVersion: 2
x: 512
y: 0
width: 128
height: 128
alignment: 6
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: a96b5e3187255408585e0328a87ff229
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: player_run_5
rect:
serializedVersion: 2
x: 640
y: 0
width: 128
height: 128
alignment: 6
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 6d13da6564137493987537f6b25259c0
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: player_run_6
rect:
serializedVersion: 2
x: 768
y: 0
width: 128
height: 128
alignment: 6
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 5ad0822b46e8f4f578e5ae02017a8753
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: player_run_7
rect:
serializedVersion: 2
x: 896
y: 0
width: 128
height: 128
alignment: 6
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: dde402ecf23ba476ca550e1b2662cd77
spriteID: d4ac08ae8d2d746e6bad648497e5e710
vertices: []
indices:
edges: []
@ -265,7 +349,7 @@ TextureImporter:
outline: []
physicsShape: []
bones: []
spriteID: cba2d783860c64c119fac4cf57dd911c
spriteID: 0dbaf7819b81a441987c3c2b796b8d31
vertices: []
indices:
edges: []

View file

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 011da5b54fc584f3dafedd3c5963e65b
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,36 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 13312, guid: 0000000000000000e000000000000000, type: 0}
m_Name: outer_tiles_0
m_EditorClassIdentifier:
m_Sprite: {fileID: 21300000, guid: 9f1e7a6a3f475493abbb6f07fb21c3f5, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Transform:
e00: 1
e01: 0
e02: 0
e03: 0
e10: 0
e11: 1
e12: 0
e13: 0
e20: 0
e21: 0
e22: 1
e23: 0
e30: 0
e31: 0
e32: 0
e33: 1
m_InstancedGameObject: {fileID: 0}
m_Flags: 1
m_ColliderType: 1

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 633fd0632dc03485d959f045436698ae
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,36 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 13312, guid: 0000000000000000e000000000000000, type: 0}
m_Name: outer_tiles_1
m_EditorClassIdentifier:
m_Sprite: {fileID: 21300002, guid: 9f1e7a6a3f475493abbb6f07fb21c3f5, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Transform:
e00: 1
e01: 0
e02: 0
e03: 0
e10: 0
e11: 1
e12: 0
e13: 0
e20: 0
e21: 0
e22: 1
e23: 0
e30: 0
e31: 0
e32: 0
e33: 1
m_InstancedGameObject: {fileID: 0}
m_Flags: 1
m_ColliderType: 1

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 944927f15c8f948f98574ba191445692
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,36 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 13312, guid: 0000000000000000e000000000000000, type: 0}
m_Name: outer_tiles_10
m_EditorClassIdentifier:
m_Sprite: {fileID: 21300020, guid: 9f1e7a6a3f475493abbb6f07fb21c3f5, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Transform:
e00: 1
e01: 0
e02: 0
e03: 0
e10: 0
e11: 1
e12: 0
e13: 0
e20: 0
e21: 0
e22: 1
e23: 0
e30: 0
e31: 0
e32: 0
e33: 1
m_InstancedGameObject: {fileID: 0}
m_Flags: 1
m_ColliderType: 1

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 3c06ff4a1c8144b51aa4d42da08ffd68
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,36 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 13312, guid: 0000000000000000e000000000000000, type: 0}
m_Name: outer_tiles_11
m_EditorClassIdentifier:
m_Sprite: {fileID: 21300022, guid: 9f1e7a6a3f475493abbb6f07fb21c3f5, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Transform:
e00: 1
e01: 0
e02: 0
e03: 0
e10: 0
e11: 1
e12: 0
e13: 0
e20: 0
e21: 0
e22: 1
e23: 0
e30: 0
e31: 0
e32: 0
e33: 1
m_InstancedGameObject: {fileID: 0}
m_Flags: 1
m_ColliderType: 1

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: c0f21b77ccee144cb866d4f7406c5e29
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,36 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 13312, guid: 0000000000000000e000000000000000, type: 0}
m_Name: outer_tiles_2
m_EditorClassIdentifier:
m_Sprite: {fileID: 21300004, guid: 9f1e7a6a3f475493abbb6f07fb21c3f5, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Transform:
e00: 1
e01: 0
e02: 0
e03: 0
e10: 0
e11: 1
e12: 0
e13: 0
e20: 0
e21: 0
e22: 1
e23: 0
e30: 0
e31: 0
e32: 0
e33: 1
m_InstancedGameObject: {fileID: 0}
m_Flags: 1
m_ColliderType: 1

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 06c05a704fa7f4f92931e60bccdd6833
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,36 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 13312, guid: 0000000000000000e000000000000000, type: 0}
m_Name: outer_tiles_3
m_EditorClassIdentifier:
m_Sprite: {fileID: 21300006, guid: 9f1e7a6a3f475493abbb6f07fb21c3f5, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Transform:
e00: 1
e01: 0
e02: 0
e03: 0
e10: 0
e11: 1
e12: 0
e13: 0
e20: 0
e21: 0
e22: 1
e23: 0
e30: 0
e31: 0
e32: 0
e33: 1
m_InstancedGameObject: {fileID: 0}
m_Flags: 1
m_ColliderType: 1

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 363b68987129f4521b4cc1c601f4748f
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,36 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 13312, guid: 0000000000000000e000000000000000, type: 0}
m_Name: outer_tiles_4
m_EditorClassIdentifier:
m_Sprite: {fileID: 21300008, guid: 9f1e7a6a3f475493abbb6f07fb21c3f5, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Transform:
e00: 1
e01: 0
e02: 0
e03: 0
e10: 0
e11: 1
e12: 0
e13: 0
e20: 0
e21: 0
e22: 1
e23: 0
e30: 0
e31: 0
e32: 0
e33: 1
m_InstancedGameObject: {fileID: 0}
m_Flags: 1
m_ColliderType: 1

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: a0a5b5562433f448190a1b50da033883
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,36 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 13312, guid: 0000000000000000e000000000000000, type: 0}
m_Name: outer_tiles_5
m_EditorClassIdentifier:
m_Sprite: {fileID: 21300010, guid: 9f1e7a6a3f475493abbb6f07fb21c3f5, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Transform:
e00: 1
e01: 0
e02: 0
e03: 0
e10: 0
e11: 1
e12: 0
e13: 0
e20: 0
e21: 0
e22: 1
e23: 0
e30: 0
e31: 0
e32: 0
e33: 1
m_InstancedGameObject: {fileID: 0}
m_Flags: 1
m_ColliderType: 1

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 284957ad9f781497b9f6a360c047ad37
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,36 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 13312, guid: 0000000000000000e000000000000000, type: 0}
m_Name: outer_tiles_6
m_EditorClassIdentifier:
m_Sprite: {fileID: 21300012, guid: 9f1e7a6a3f475493abbb6f07fb21c3f5, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Transform:
e00: 1
e01: 0
e02: 0
e03: 0
e10: 0
e11: 1
e12: 0
e13: 0
e20: 0
e21: 0
e22: 1
e23: 0
e30: 0
e31: 0
e32: 0
e33: 1
m_InstancedGameObject: {fileID: 0}
m_Flags: 1
m_ColliderType: 1

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 6469f494e107744fc944a210518e35f4
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,36 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 13312, guid: 0000000000000000e000000000000000, type: 0}
m_Name: outer_tiles_7
m_EditorClassIdentifier:
m_Sprite: {fileID: 21300014, guid: 9f1e7a6a3f475493abbb6f07fb21c3f5, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Transform:
e00: 1
e01: 0
e02: 0
e03: 0
e10: 0
e11: 1
e12: 0
e13: 0
e20: 0
e21: 0
e22: 1
e23: 0
e30: 0
e31: 0
e32: 0
e33: 1
m_InstancedGameObject: {fileID: 0}
m_Flags: 1
m_ColliderType: 1

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 4698d978521ab43c4ae387f9ee19a4a6
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,36 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 13312, guid: 0000000000000000e000000000000000, type: 0}
m_Name: outer_tiles_8
m_EditorClassIdentifier:
m_Sprite: {fileID: 21300016, guid: 9f1e7a6a3f475493abbb6f07fb21c3f5, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Transform:
e00: 1
e01: 0
e02: 0
e03: 0
e10: 0
e11: 1
e12: 0
e13: 0
e20: 0
e21: 0
e22: 1
e23: 0
e30: 0
e31: 0
e32: 0
e33: 1
m_InstancedGameObject: {fileID: 0}
m_Flags: 1
m_ColliderType: 1

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 195f275f346da4690b6d239d5b537c3c
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,36 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 13312, guid: 0000000000000000e000000000000000, type: 0}
m_Name: outer_tiles_9
m_EditorClassIdentifier:
m_Sprite: {fileID: 21300018, guid: 9f1e7a6a3f475493abbb6f07fb21c3f5, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Transform:
e00: 1
e01: 0
e02: 0
e03: 0
e10: 0
e11: 1
e12: 0
e13: 0
e20: 0
e21: 0
e22: 1
e23: 0
e30: 0
e31: 0
e32: 0
e33: 1
m_InstancedGameObject: {fileID: 0}
m_Flags: 1
m_ColliderType: 1

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 27445652e5dda4cdbb52ae893b423654
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

Some files were not shown because too many files have changed in this diff Show more