Base mechanics done

This commit is contained in:
Gerard Gascón 2023-08-20 17:27:37 +02:00
parent e4cc23e7f0
commit eaa8cdd462
67 changed files with 21667 additions and 330 deletions

View file

@ -0,0 +1,11 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!62 &6200000
PhysicsMaterial2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Bouncy
friction: 0
bounciness: 1

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 996c640ef983fe44d81c194b093f099f
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 6200000
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load diff

View file

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

View file

@ -0,0 +1,141 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &5002620220514089441
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4017620493121502816}
- component: {fileID: 8943046494134901172}
- component: {fileID: 5219652946377436384}
- component: {fileID: 4255464450187147186}
- component: {fileID: 3758800996599179829}
m_Layer: 7
m_Name: Bullet
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &4017620493121502816
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5002620220514089441}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0.9384, y: 0.5296, z: 0}
m_LocalScale: {x: 0.5, y: 0.49999997, z: 0.49999997}
m_ConstrainProportionsScale: 1
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!212 &8943046494134901172
SpriteRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5002620220514089441}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 0
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 0
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_Sprite: {fileID: -1672096293, guid: d719c09f1e0ec0142a842751ccf3577b, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0
m_FlipY: 0
m_DrawMode: 0
m_Size: {x: 1, y: 1}
m_AdaptiveModeThreshold: 0.5
m_SpriteTileMode: 0
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!58 &5219652946377436384
CircleCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5002620220514089441}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 6200000, guid: 996c640ef983fe44d81c194b093f099f, type: 2}
m_IsTrigger: 0
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: 0, y: 0}
serializedVersion: 2
m_Radius: 0.16
--- !u!50 &4255464450187147186
Rigidbody2D:
serializedVersion: 4
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5002620220514089441}
m_BodyType: 0
m_Simulated: 1
m_UseFullKinematicContacts: 0
m_UseAutoMass: 0
m_Mass: 1
m_LinearDrag: 0
m_AngularDrag: 0.05
m_GravityScale: 1
m_Material: {fileID: 0}
m_Interpolate: 1
m_SleepingMode: 1
m_CollisionDetection: 0
m_Constraints: 4
--- !u!114 &3758800996599179829
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5002620220514089441}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: c61fddf6fd9b8364ab375bfdf61b07f8, type: 3}
m_Name:
m_EditorClassIdentifier:
bulletSpeed: 10
maxYSpeed: 4
maxBounces: 3

View file

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 6e6a809519e04f944a9dcf9d89046dfc
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,344 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &4647122662011115854
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4647122662011115857}
m_Layer: 0
m_Name: FlippingPivotLeft
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &4647122662011115857
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4647122662011115854}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -0.25, y: 0.25, z: 0}
m_LocalScale: {x: 0.0625, y: 0.25, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 4647122663633710291}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &4647122662175001819
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4647122662175001818}
- component: {fileID: 4647122662175001821}
m_Layer: 0
m_Name: Sprite
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &4647122662175001818
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4647122662175001819}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 4647122663633710291}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!212 &4647122662175001821
SpriteRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4647122662175001819}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 0
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 0
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_Sprite: {fileID: 319719716, guid: d0dc440f4f15a9443abd4026a0afb473, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0
m_FlipY: 0
m_DrawMode: 0
m_Size: {x: 0.5, y: 0.65625}
m_AdaptiveModeThreshold: 0.5
m_SpriteTileMode: 0
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!1 &4647122662348553276
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4647122662348553279}
- component: {fileID: 4647122662348553278}
- component: {fileID: 1633196066281799789}
m_Layer: 0
m_Name: WeakPoint
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &4647122662348553279
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4647122662348553276}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 4647122663633710291}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!61 &4647122662348553278
BoxCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4647122662348553276}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 0}
m_IsTrigger: 1
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: -0.0010737181, y: 0.48966092}
m_SpriteTilingProperty:
border: {x: 0, y: 0, z: 0, w: 0}
pivot: {x: 0, y: 0}
oldSize: {x: 0, y: 0}
newSize: {x: 0, y: 0}
adaptiveTilingThreshold: 0
drawMode: 0
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 0.43517184, y: 0.19248903}
m_EdgeRadius: 0
--- !u!114 &1633196066281799789
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4647122662348553276}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 974d49e3395c01d43948e17ce1640f96, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &4647122662407435988
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4647122662407435991}
m_Layer: 0
m_Name: FlippingPivotRight
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &4647122662407435991
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4647122662407435988}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0.25, y: 0.25, z: 0}
m_LocalScale: {x: 0.0625, y: 0.25, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 4647122663633710291}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &4647122663633710289
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4647122663633710291}
- component: {fileID: 4647122663633710288}
- component: {fileID: 4647122663633710293}
- component: {fileID: 4647122663633710290}
- component: {fileID: 6236641655072809332}
m_Layer: 0
m_Name: Enemy
m_TagString: Enemy
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &4647122663633710291
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4647122663633710289}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 2, y: -2, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 4647122662175001818}
- {fileID: 4647122662011115857}
- {fileID: 4647122662407435991}
- {fileID: 4647122662348553279}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!95 &4647122663633710288
Animator:
serializedVersion: 4
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4647122663633710289}
m_Enabled: 1
m_Avatar: {fileID: 0}
m_Controller: {fileID: 9100000, guid: bd5389f2f4813774ab1844173ff37005, type: 2}
m_CullingMode: 0
m_UpdateMode: 0
m_ApplyRootMotion: 0
m_LinearVelocityBlending: 0
m_StabilizeFeet: 0
m_WarningMessage:
m_HasTransformHierarchy: 1
m_AllowConstantClipSamplingOptimization: 1
m_KeepAnimatorControllerStateOnDisable: 0
--- !u!61 &4647122663633710293
BoxCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4647122663633710289}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 6200000, guid: 25179f3547a61ca4fa99c94bd3e0ae5e, type: 2}
m_IsTrigger: 0
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: 0, y: 0.25}
m_SpriteTilingProperty:
border: {x: 0, y: 0, z: 0, w: 0}
pivot: {x: 0, y: 0}
oldSize: {x: 0, y: 0}
newSize: {x: 0, y: 0}
adaptiveTilingThreshold: 0
drawMode: 0
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 0.5, y: 0.5}
m_EdgeRadius: 0
--- !u!50 &4647122663633710290
Rigidbody2D:
serializedVersion: 4
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4647122663633710289}
m_BodyType: 0
m_Simulated: 1
m_UseFullKinematicContacts: 0
m_UseAutoMass: 0
m_Mass: 1
m_LinearDrag: 0
m_AngularDrag: 0.05
m_GravityScale: 1
m_Material: {fileID: 6200000, guid: 25179f3547a61ca4fa99c94bd3e0ae5e, type: 2}
m_Interpolate: 1
m_SleepingMode: 1
m_CollisionDetection: 0
m_Constraints: 4
--- !u!114 &6236641655072809332
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4647122663633710289}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: ddb4161c31284e74889fbdc8de814976, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: 5
groundLayer:
serializedVersion: 2
m_Bits: 8
sprite: {fileID: 4647122662175001818}
flippingPivotLeft: {fileID: 4647122662011115857}
flippingPivotRight: {fileID: 4647122662407435991}

View file

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: c08100d720ba3b441a2c57b71bada81a
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: c0152bcc07272b642abe2d35d8a8a1d3
guid: 8b97788952eea1d42be0452f85f669d8
folderAsset: yes
DefaultImporter:
externalObjects: {}

View file

@ -12,7 +12,7 @@ GameObject:
- component: {fileID: 8943046494134901172}
- component: {fileID: 5219652946377436384}
- component: {fileID: 4255464450187147186}
- component: {fileID: 3504980883882551666}
- component: {fileID: 8476373024386313878}
m_Layer: 7
m_Name: Bullet
m_TagString: Untagged
@ -96,7 +96,7 @@ CircleCollider2D:
m_GameObject: {fileID: 5002620220514089441}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 0}
m_Material: {fileID: 6200000, guid: 996c640ef983fe44d81c194b093f099f, type: 2}
m_IsTrigger: 0
m_UsedByEffector: 0
m_UsedByComposite: 0
@ -123,8 +123,8 @@ Rigidbody2D:
m_Interpolate: 1
m_SleepingMode: 1
m_CollisionDetection: 0
m_Constraints: 6
--- !u!114 &3504980883882551666
m_Constraints: 4
--- !u!114 &8476373024386313878
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
@ -133,7 +133,8 @@ MonoBehaviour:
m_GameObject: {fileID: 5002620220514089441}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 07abba302fe75e04c8485e7a5ae40dcb, type: 3}
m_Script: {fileID: 11500000, guid: e8589b066efc2a44782262ccea1a924e, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: 10
maxYSpeed: 4

View file

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 797db3572d3b1984297813c92d9c4e46
guid: b5389e9fb713c574291fa05bde8ba6eb
PrefabImporter:
externalObjects: {}
userData:

View file

@ -125,7 +125,7 @@ GameObject:
m_Component:
- component: {fileID: 4647122662348553279}
- component: {fileID: 4647122662348553278}
- component: {fileID: 7918385707949567090}
- component: {fileID: 4243596449613196213}
m_Layer: 0
m_Name: WeakPoint
m_TagString: Untagged
@ -174,7 +174,7 @@ BoxCollider2D:
serializedVersion: 2
m_Size: {x: 0.43517184, y: 0.19248903}
m_EdgeRadius: 0
--- !u!114 &7918385707949567090
--- !u!114 &4243596449613196213
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
@ -183,7 +183,7 @@ MonoBehaviour:
m_GameObject: {fileID: 4647122662348553276}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 07622b149a150ff4c9470ed89e7347c8, type: 3}
m_Script: {fileID: 11500000, guid: 3c59ba55a285218468f7cb423b1aa267, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &4647122662407435988
@ -229,10 +229,10 @@ GameObject:
- component: {fileID: 4647122663633710288}
- component: {fileID: 4647122663633710293}
- component: {fileID: 4647122663633710290}
- component: {fileID: 38610104645181056}
- component: {fileID: 3929963740025408476}
m_Layer: 0
m_Name: Enemy
m_TagString: Untagged
m_TagString: Enemy
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
@ -323,7 +323,7 @@ Rigidbody2D:
m_SleepingMode: 1
m_CollisionDetection: 0
m_Constraints: 4
--- !u!114 &38610104645181056
--- !u!114 &3929963740025408476
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
@ -332,7 +332,7 @@ MonoBehaviour:
m_GameObject: {fileID: 4647122663633710289}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 8f8ff3b239fcea04b91b8c49085c0cdb, type: 3}
m_Script: {fileID: 11500000, guid: a59820a761d4477468f1cc9da75eca3d, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: 5

View file

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 65b98cb4bd4839a4eb100c9297fdb00c
guid: 61f0e27b1afd8ea48ad540823efd3f49
PrefabImporter:
externalObjects: {}
userData:

View file

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

View file

@ -0,0 +1,141 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &5002620220514089441
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4017620493121502816}
- component: {fileID: 8943046494134901172}
- component: {fileID: 5219652946377436384}
- component: {fileID: 4255464450187147186}
- component: {fileID: 6708336314520995846}
m_Layer: 7
m_Name: Bullet
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &4017620493121502816
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5002620220514089441}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0.9384, y: 0.5296, z: 0}
m_LocalScale: {x: 0.5, y: 0.49999997, z: 0.49999997}
m_ConstrainProportionsScale: 1
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!212 &8943046494134901172
SpriteRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5002620220514089441}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 0
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 0
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_Sprite: {fileID: -1672096293, guid: d719c09f1e0ec0142a842751ccf3577b, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0
m_FlipY: 0
m_DrawMode: 0
m_Size: {x: 1, y: 1}
m_AdaptiveModeThreshold: 0.5
m_SpriteTileMode: 0
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!58 &5219652946377436384
CircleCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5002620220514089441}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 6200000, guid: 996c640ef983fe44d81c194b093f099f, type: 2}
m_IsTrigger: 0
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: 0, y: 0}
serializedVersion: 2
m_Radius: 0.16
--- !u!50 &4255464450187147186
Rigidbody2D:
serializedVersion: 4
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5002620220514089441}
m_BodyType: 0
m_Simulated: 1
m_UseFullKinematicContacts: 0
m_UseAutoMass: 0
m_Mass: 1
m_LinearDrag: 0
m_AngularDrag: 0.05
m_GravityScale: 1
m_Material: {fileID: 0}
m_Interpolate: 1
m_SleepingMode: 1
m_CollisionDetection: 0
m_Constraints: 4
--- !u!114 &6708336314520995846
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5002620220514089441}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 927f706204d8ea44bba9700d29939338, type: 3}
m_Name:
m_EditorClassIdentifier:
bulletSpeed: 10
maxYSpeed: 4
maxBounces: 3

View file

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: f37f68d4320952846ae984685265daa4
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,344 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &4647122662011115854
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4647122662011115857}
m_Layer: 0
m_Name: FlippingPivotLeft
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &4647122662011115857
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4647122662011115854}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -0.25, y: 0.25, z: 0}
m_LocalScale: {x: 0.0625, y: 0.25, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 4647122663633710291}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &4647122662175001819
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4647122662175001818}
- component: {fileID: 4647122662175001821}
m_Layer: 0
m_Name: Sprite
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &4647122662175001818
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4647122662175001819}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 4647122663633710291}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!212 &4647122662175001821
SpriteRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4647122662175001819}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 0
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 0
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_Sprite: {fileID: 319719716, guid: d0dc440f4f15a9443abd4026a0afb473, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0
m_FlipY: 0
m_DrawMode: 0
m_Size: {x: 0.5, y: 0.65625}
m_AdaptiveModeThreshold: 0.5
m_SpriteTileMode: 0
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!1 &4647122662348553276
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4647122662348553279}
- component: {fileID: 4647122662348553278}
- component: {fileID: 9079902212155304263}
m_Layer: 0
m_Name: WeakPoint
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &4647122662348553279
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4647122662348553276}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 4647122663633710291}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!61 &4647122662348553278
BoxCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4647122662348553276}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 0}
m_IsTrigger: 1
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: -0.0010737181, y: 0.48966092}
m_SpriteTilingProperty:
border: {x: 0, y: 0, z: 0, w: 0}
pivot: {x: 0, y: 0}
oldSize: {x: 0, y: 0}
newSize: {x: 0, y: 0}
adaptiveTilingThreshold: 0
drawMode: 0
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 0.43517184, y: 0.19248903}
m_EdgeRadius: 0
--- !u!114 &9079902212155304263
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4647122662348553276}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9ff7b393dcd3e084a8d10edefea7e758, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &4647122662407435988
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4647122662407435991}
m_Layer: 0
m_Name: FlippingPivotRight
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &4647122662407435991
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4647122662407435988}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0.25, y: 0.25, z: 0}
m_LocalScale: {x: 0.0625, y: 0.25, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 4647122663633710291}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &4647122663633710289
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4647122663633710291}
- component: {fileID: 4647122663633710288}
- component: {fileID: 4647122663633710293}
- component: {fileID: 4647122663633710290}
- component: {fileID: -4952235310612589106}
m_Layer: 0
m_Name: Enemy
m_TagString: Enemy
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &4647122663633710291
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4647122663633710289}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 2, y: -2, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 4647122662175001818}
- {fileID: 4647122662011115857}
- {fileID: 4647122662407435991}
- {fileID: 4647122662348553279}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!95 &4647122663633710288
Animator:
serializedVersion: 4
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4647122663633710289}
m_Enabled: 1
m_Avatar: {fileID: 0}
m_Controller: {fileID: 9100000, guid: bd5389f2f4813774ab1844173ff37005, type: 2}
m_CullingMode: 0
m_UpdateMode: 0
m_ApplyRootMotion: 0
m_LinearVelocityBlending: 0
m_StabilizeFeet: 0
m_WarningMessage:
m_HasTransformHierarchy: 1
m_AllowConstantClipSamplingOptimization: 1
m_KeepAnimatorControllerStateOnDisable: 0
--- !u!61 &4647122663633710293
BoxCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4647122663633710289}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 6200000, guid: 25179f3547a61ca4fa99c94bd3e0ae5e, type: 2}
m_IsTrigger: 0
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: 0, y: 0.25}
m_SpriteTilingProperty:
border: {x: 0, y: 0, z: 0, w: 0}
pivot: {x: 0, y: 0}
oldSize: {x: 0, y: 0}
newSize: {x: 0, y: 0}
adaptiveTilingThreshold: 0
drawMode: 0
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 0.5, y: 0.5}
m_EdgeRadius: 0
--- !u!50 &4647122663633710290
Rigidbody2D:
serializedVersion: 4
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4647122663633710289}
m_BodyType: 0
m_Simulated: 1
m_UseFullKinematicContacts: 0
m_UseAutoMass: 0
m_Mass: 1
m_LinearDrag: 0
m_AngularDrag: 0.05
m_GravityScale: 1
m_Material: {fileID: 6200000, guid: 25179f3547a61ca4fa99c94bd3e0ae5e, type: 2}
m_Interpolate: 1
m_SleepingMode: 1
m_CollisionDetection: 0
m_Constraints: 4
--- !u!114 &-4952235310612589106
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4647122663633710289}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: b2cb099ac388ca14db89b7b03ac720ff, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: 5
groundLayer:
serializedVersion: 2
m_Bits: 8
sprite: {fileID: 4647122662175001818}
flippingPivotLeft: {fileID: 4647122662011115857}
flippingPivotRight: {fileID: 4647122662407435991}

View file

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 752223031b24e464f8cce1473066cf0e
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8855
Assets/Scenes/Level 10.unity Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: e35b5fcd9b952d149b50292de0ad5e28
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -207,50 +207,6 @@ SpriteRenderer:
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!1 &125433594
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 125433595}
- component: {fileID: 125433596}
m_Layer: 0
m_Name: PlayerFollower
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &125433595
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 125433594}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &125433596
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 125433594}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fa9b72934e014867b4b865e119ad0f0b, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1001 &155049962
PrefabInstance:
m_ObjectHideFlags: 0
@ -340,7 +296,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 4780039355148162771, guid: e1b31acf627e1a04b82c71cda128d2a0, type: 3}
propertyPath: m_RootOrder
value: 8
value: 7
objectReference: {fileID: 0}
- target: {fileID: 4780039355148162771, guid: e1b31acf627e1a04b82c71cda128d2a0, type: 3}
propertyPath: m_AnchorMax.x
@ -4723,7 +4679,7 @@ MonoBehaviour:
m_Priority: 10
m_StandbyUpdate: 2
m_LookAt: {fileID: 0}
m_Follow: {fileID: 125433595}
m_Follow: {fileID: 1728226838}
m_Lens:
FieldOfView: 34
OrthographicSize: 5
@ -4756,7 +4712,7 @@ Transform:
m_Children:
- {fileID: 1003450850}
m_Father: {fileID: 0}
m_RootOrder: 6
m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &310770472
MonoBehaviour:
@ -4838,7 +4794,7 @@ Transform:
- {fileID: 1187983906}
- {fileID: 919536575}
m_Father: {fileID: 0}
m_RootOrder: 5
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &386938177
GameObject:
@ -5497,6 +5453,63 @@ SpriteRenderer:
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!1001 &598605894
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 4647122663633710289, guid: a5ebfb9f3cfd90e4490597f65439d942, type: 3}
propertyPath: m_Name
value: Enemy
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: a5ebfb9f3cfd90e4490597f65439d942, type: 3}
propertyPath: m_RootOrder
value: 8
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: a5ebfb9f3cfd90e4490597f65439d942, type: 3}
propertyPath: m_LocalPosition.x
value: 2
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: a5ebfb9f3cfd90e4490597f65439d942, type: 3}
propertyPath: m_LocalPosition.y
value: -2
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: a5ebfb9f3cfd90e4490597f65439d942, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: a5ebfb9f3cfd90e4490597f65439d942, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: a5ebfb9f3cfd90e4490597f65439d942, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: a5ebfb9f3cfd90e4490597f65439d942, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: a5ebfb9f3cfd90e4490597f65439d942, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: a5ebfb9f3cfd90e4490597f65439d942, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: a5ebfb9f3cfd90e4490597f65439d942, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: a5ebfb9f3cfd90e4490597f65439d942, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: a5ebfb9f3cfd90e4490597f65439d942, type: 3}
--- !u!1 &612407039
GameObject:
m_ObjectHideFlags: 0
@ -6284,63 +6297,6 @@ PolygonCollider2D:
- {x: 7, y: 0}
- {x: 7, y: -0.2}
- {x: 4, y: -0.2}
--- !u!1001 &835543668
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 4647122663633710289, guid: 65b98cb4bd4839a4eb100c9297fdb00c, type: 3}
propertyPath: m_Name
value: Enemy
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: 65b98cb4bd4839a4eb100c9297fdb00c, type: 3}
propertyPath: m_RootOrder
value: 9
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: 65b98cb4bd4839a4eb100c9297fdb00c, type: 3}
propertyPath: m_LocalPosition.x
value: 2
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: 65b98cb4bd4839a4eb100c9297fdb00c, type: 3}
propertyPath: m_LocalPosition.y
value: -2
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: 65b98cb4bd4839a4eb100c9297fdb00c, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: 65b98cb4bd4839a4eb100c9297fdb00c, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: 65b98cb4bd4839a4eb100c9297fdb00c, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: 65b98cb4bd4839a4eb100c9297fdb00c, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: 65b98cb4bd4839a4eb100c9297fdb00c, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: 65b98cb4bd4839a4eb100c9297fdb00c, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: 65b98cb4bd4839a4eb100c9297fdb00c, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: 65b98cb4bd4839a4eb100c9297fdb00c, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 65b98cb4bd4839a4eb100c9297fdb00c, type: 3}
--- !u!1 &884285832
GameObject:
m_ObjectHideFlags: 0
@ -6723,7 +6679,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_TrackedObjectOffset: {x: 0, y: 0, z: 0}
m_LookaheadTime: 0.5
m_LookaheadTime: 0.3
m_LookaheadSmoothing: 2
m_LookaheadIgnoreY: 1
m_XDamping: 0
@ -6738,7 +6694,7 @@ MonoBehaviour:
m_DeadZoneDepth: 0
m_UnlimitedSoftZone: 0
m_SoftZoneWidth: 0.8
m_SoftZoneHeight: 0.8
m_SoftZoneHeight: 2
m_BiasX: 0
m_BiasY: 0
m_CenterOnActivate: 1
@ -7865,7 +7821,7 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 7
m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1722525225
GameObject:
@ -7963,7 +7919,6 @@ GameObject:
- component: {fileID: 1728226840}
- component: {fileID: 1728226839}
- component: {fileID: 1728226844}
- component: {fileID: 1728226845}
m_Layer: 6
m_Name: Player
m_TagString: Player
@ -8061,33 +8016,6 @@ MonoBehaviour:
m_Bits: 8
feetSize: {x: 0.45, y: 0.05}
animator: {fileID: 1695110807}
--- !u!114 &1728226845
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1728226837}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: cd40848ae407e14418cf25c22f6f4be5, type: 3}
m_Name:
m_EditorClassIdentifier:
deathForce: 8
speed: 5
jumpForce: 10
acceleration: 1
jumpCancellationMultiplier: 0.5
coyoteTime: 0.1
bufferTime: 0.1
playerFollower8: {fileID: 125433596}
bullet: {fileID: 3504980883882551666, guid: 797db3572d3b1984297813c92d9c4e46, type: 3}
shootingPos: {fileID: 1585152772}
groundMask:
serializedVersion: 2
m_Bits: 8
feetSize: {x: 0.45, y: 0.05}
animator: {fileID: 1695110807}
--- !u!1 &1750161077
GameObject:
m_ObjectHideFlags: 0

View file

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 152c26ae8a4bfc1438af1a92582c7db0
guid: 6b18d33dce876414086e20b672497cdc
DefaultImporter:
externalObjects: {}
userData:

View file

@ -123,6 +123,63 @@ NavMeshSettings:
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
--- !u!1001 &29352923
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 4647122663633710289, guid: 61f0e27b1afd8ea48ad540823efd3f49, type: 3}
propertyPath: m_Name
value: Enemy
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: 61f0e27b1afd8ea48ad540823efd3f49, type: 3}
propertyPath: m_RootOrder
value: 8
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: 61f0e27b1afd8ea48ad540823efd3f49, type: 3}
propertyPath: m_LocalPosition.x
value: 2
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: 61f0e27b1afd8ea48ad540823efd3f49, type: 3}
propertyPath: m_LocalPosition.y
value: -2
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: 61f0e27b1afd8ea48ad540823efd3f49, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: 61f0e27b1afd8ea48ad540823efd3f49, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: 61f0e27b1afd8ea48ad540823efd3f49, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: 61f0e27b1afd8ea48ad540823efd3f49, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: 61f0e27b1afd8ea48ad540823efd3f49, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: 61f0e27b1afd8ea48ad540823efd3f49, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: 61f0e27b1afd8ea48ad540823efd3f49, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: 61f0e27b1afd8ea48ad540823efd3f49, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 61f0e27b1afd8ea48ad540823efd3f49, type: 3}
--- !u!1 &29838014
GameObject:
m_ObjectHideFlags: 0
@ -5453,63 +5510,6 @@ SpriteRenderer:
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!1001 &598605894
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 4647122663633710289, guid: a5ebfb9f3cfd90e4490597f65439d942, type: 3}
propertyPath: m_Name
value: Enemy
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: a5ebfb9f3cfd90e4490597f65439d942, type: 3}
propertyPath: m_RootOrder
value: 8
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: a5ebfb9f3cfd90e4490597f65439d942, type: 3}
propertyPath: m_LocalPosition.x
value: 2
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: a5ebfb9f3cfd90e4490597f65439d942, type: 3}
propertyPath: m_LocalPosition.y
value: -2
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: a5ebfb9f3cfd90e4490597f65439d942, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: a5ebfb9f3cfd90e4490597f65439d942, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: a5ebfb9f3cfd90e4490597f65439d942, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: a5ebfb9f3cfd90e4490597f65439d942, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: a5ebfb9f3cfd90e4490597f65439d942, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: a5ebfb9f3cfd90e4490597f65439d942, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: a5ebfb9f3cfd90e4490597f65439d942, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4647122663633710291, guid: a5ebfb9f3cfd90e4490597f65439d942, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: a5ebfb9f3cfd90e4490597f65439d942, type: 3}
--- !u!1 &612407039
GameObject:
m_ObjectHideFlags: 0
@ -6679,7 +6679,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_TrackedObjectOffset: {x: 0, y: 0, z: 0}
m_LookaheadTime: 0.5
m_LookaheadTime: 0.3
m_LookaheadSmoothing: 2
m_LookaheadIgnoreY: 1
m_XDamping: 0
@ -6694,7 +6694,7 @@ MonoBehaviour:
m_DeadZoneDepth: 0
m_UnlimitedSoftZone: 0
m_SoftZoneWidth: 0.8
m_SoftZoneHeight: 0.8
m_SoftZoneHeight: 2
m_BiasX: 0
m_BiasY: 0
m_CenterOnActivate: 1
@ -7918,7 +7918,7 @@ GameObject:
- component: {fileID: 1728226838}
- component: {fileID: 1728226840}
- component: {fileID: 1728226839}
- component: {fileID: 1728226844}
- component: {fileID: 1728226841}
m_Layer: 6
m_Name: Player
m_TagString: Player
@ -7990,7 +7990,7 @@ BoxCollider2D:
serializedVersion: 2
m_Size: {x: 0.5, y: 0.75}
m_EdgeRadius: 0
--- !u!114 &1728226844
--- !u!114 &1728226841
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
@ -7999,7 +7999,7 @@ MonoBehaviour:
m_GameObject: {fileID: 1728226837}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 3678eb6db55eeed4cb40cc33339d70c8, type: 3}
m_Script: {fileID: 11500000, guid: 51ca43f5f9e97404da11f9669675fdee, type: 3}
m_Name:
m_EditorClassIdentifier:
deathForce: 8
@ -8009,7 +8009,7 @@ MonoBehaviour:
jumpCancellationMultiplier: 0.5
coyoteTime: 0.1
bufferTime: 0.1
bullet: {fileID: -1932154159731893089, guid: af5a2ae44d04aa04fa27d3be1d50400e, type: 3}
bullet: {fileID: 8476373024386313878, guid: b5389e9fb713c574291fa05bde8ba6eb, type: 3}
shootingPos: {fileID: 1585152772}
groundMask:
serializedVersion: 2

View file

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 1d1cd7c4eca9b83479580e4d469fe6da
guid: 02f7e79c807b7d14e8e44e107d62bd31
DefaultImporter:
externalObjects: {}
userData:

8855
Assets/Scenes/Level 9.unity Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: d6ba1977120a2e249878ed9299ae6618
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -21,6 +21,10 @@ public class BalanceCanvas : MonoBehaviour {
[SerializeField] Slider gravitySlider;
[SerializeField] Slider coyoteTime;
[SerializeField] Slider bufferTime;
[SerializeField] Slider bulletSpeed;
[SerializeField] Slider maxYSpeed;
[SerializeField] Slider maxBounces;
[SerializeField] Slider maxBullets;
// Start is called before the first frame update
void Awake() {
@ -37,6 +41,10 @@ public class BalanceCanvas : MonoBehaviour {
SetupSlider(gravitySlider, nameof(PlayerStats.Rb.gravityScale));
SetupSlider(coyoteTime, nameof(PlayerStats.coyoteTime));
SetupSlider(bufferTime, nameof(PlayerStats.bufferTime));
SetupSlider(bulletSpeed, nameof(BulletStats.bulletSpeed));
SetupSlider(maxYSpeed, nameof(BulletStats.maxYSpeed));
SetupSlider(maxBounces, nameof(BulletStats.maxBounces));
SetupSlider(maxBullets, nameof(PlayerStats.maxBullets));
}
void SliderChangedCallback(float arg0) => sliderChangedCallback?.Invoke();

View file

@ -0,0 +1,28 @@
using System;
using UnityEngine;
public abstract class BulletStats : MonoBehaviour{
[HideInInspector] public float bulletSpeed = 10f;
[HideInInspector] public float maxYSpeed = 4f;
[HideInInspector] public int maxBounces = 3;
protected Rigidbody2D Rb { get; private set; }
protected virtual void Start() {
Rb = GetComponent<Rigidbody2D>();
BalanceCanvas.instance.sliderChangedCallback += RefreshStats;
RefreshStats();
}
void OnDestroy() {
BalanceCanvas.instance.sliderChangedCallback -= RefreshStats;
}
void RefreshStats() {
bulletSpeed = PlayerPrefs.GetFloat(nameof(bulletSpeed), bulletSpeed);
maxYSpeed = PlayerPrefs.GetFloat(nameof(maxYSpeed), maxYSpeed);
maxBounces = Mathf.RoundToInt(PlayerPrefs.GetFloat(nameof(maxBounces), maxBounces));
}
}

View file

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 33e86307d7fb44eea793219782ecdd8f
timeCreated: 1692530272

View file

@ -1,12 +1,9 @@
using UnityEngine;
namespace Level1 {
public class Bullet1 : MonoBehaviour {
[SerializeField] float speed;
public class Bullet1 : BulletStats {
public void AddForce(int direction) {
Rigidbody2D rb = GetComponent<Rigidbody2D>();
rb.velocity = Vector2.right * direction * speed;
GetComponent<Rigidbody2D>().velocity = Vector2.right * direction * bulletSpeed;
}
void OnCollisionEnter2D(Collision2D other) {

View file

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

View file

@ -0,0 +1,34 @@
using System;
using UnityEngine;
namespace Level10 {
public class Bullet10 : BulletStats {
int _currentBounces;
protected override void Start() {
base.Start();
_currentBounces = maxBounces;
}
void FixedUpdate() {
if (Rb.velocity.y <= maxYSpeed) return;
Vector2 velocity = Rb.velocity;
velocity.y = maxYSpeed;
Rb.velocity = velocity;
}
public void AddForce(int direction) {
++PlayerMovement10.instance.Bullets;
GetComponent<Rigidbody2D>().velocity = Vector2.right * direction * bulletSpeed;
}
void OnCollisionEnter2D(Collision2D other) {
--_currentBounces;
if (_currentBounces != 0 && !other.gameObject.CompareTag("Enemy")) return;
--PlayerMovement10.instance.Bullets;
Destroy(gameObject);
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: c61fddf6fd9b8364ab375bfdf61b07f8
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,48 @@
using UnityEngine;
namespace Level10 {
public class Enemy10 : MonoBehaviour {
[SerializeField] float speed;
[SerializeField] LayerMask groundLayer;
[SerializeField] Transform sprite;
[Header("Flipping Pivots")]
[SerializeField] Transform flippingPivotLeft;
[SerializeField] Transform flippingPivotRight;
int _facingDirection = 1;
Rigidbody2D _rb;
// Start is called before the first frame update
void Awake() {
_rb = GetComponent<Rigidbody2D>();
}
// Update is called once per frame
void FixedUpdate() {
if (_facingDirection > 0) {
if (Physics2D.OverlapBox(flippingPivotRight.position, flippingPivotRight.localScale, 0, groundLayer)) {
_facingDirection = -1;
sprite.localScale = new Vector3(-1, 1, 1);
}
}else {
if (Physics2D.OverlapBox(flippingPivotLeft.position, flippingPivotLeft.localScale, 0, groundLayer)) {
_facingDirection = 1;
sprite.localScale = Vector3.one;
}
}
_rb.velocity = new Vector2(speed * _facingDirection, _rb.velocity.y);
}
void OnDrawGizmos() {
if(!flippingPivotLeft || !flippingPivotRight) return;
Gizmos.color = Color.red;
Gizmos.DrawWireCube(flippingPivotLeft.position, flippingPivotLeft.localScale);
Gizmos.DrawWireCube(flippingPivotRight.position, flippingPivotRight.localScale);
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: ddb4161c31284e74889fbdc8de814976
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,21 @@
using UnityEngine;
namespace Level10 {
public class EnemyWeakPoint10 : MonoBehaviour {
Enemy10 _enemy;
void Awake() {
_enemy = GetComponentInParent<Enemy10>();
}
void OnTriggerEnter2D(Collider2D other) {
if (!other.CompareTag("Player")) return;
PlayerMovement10 player = other.GetComponent<PlayerMovement10>();
player.Rb.velocity = new Vector2(player.Rb.velocity.x, player.deathForce);
player.Animator.SetTrigger(PlayerMovement10.Jump1);
Destroy(_enemy.gameObject);
}
}
}

View file

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 974d49e3395c01d43948e17ce1640f96
timeCreated: 1691603524

View file

@ -0,0 +1,114 @@
using UnityEngine;
using UnityEngine.InputSystem;
namespace Level10 {
public class PlayerMovement10 : PlayerStats {
[Header("Shooting")]
[SerializeField] Bullet10 bullet;
[SerializeField] Transform shootingPos;
[Header("Physics")]
[SerializeField] LayerMask groundMask;
[SerializeField] Vector2 feetSize;
float _horizontalInput;
float _xVelocity, _accelerationVelocity;
float _currentCoyoteTime, _currentBufferTime;
bool _grounded;
public int Bullets { set; get; }
int _facingDirection = 1;
PlayerInput _playerInput;
[Header("Animations")]
[SerializeField] Animator animator;
public Animator Animator => animator;
public static readonly int Jump1 = Animator.StringToHash("Jump");
static readonly int XVelocity = Animator.StringToHash("xVelocity");
static readonly int YVelocity = Animator.StringToHash("yVelocity");
static readonly int Grounded = Animator.StringToHash("Grounded");
public static PlayerMovement10 instance;
void Awake() {
instance = this;
_playerInput = new PlayerInput();
_playerInput.Gameplay.Horizontal.started += HorizontalHandler;
_playerInput.Gameplay.Horizontal.performed += HorizontalHandler;
_playerInput.Gameplay.Horizontal.canceled += HorizontalHandler;
_playerInput.Gameplay.Jump.started += Jump;
_playerInput.Gameplay.Jump.canceled += Jump;
_playerInput.Gameplay.Fire.performed += Fire;
}
void Jump(InputAction.CallbackContext obj) {
if (obj.started) {
_currentBufferTime = bufferTime;
}else if (obj.canceled) {
if (Rb.velocity.y < 0f) return;
Rb.velocity = new Vector2(Rb.velocity.x, Rb.velocity.y * jumpCancellationMultiplier);
}
}
void Fire(InputAction.CallbackContext obj) {
if (Bullets >= maxBullets) return;
Bullet10 bullet10 = Instantiate(bullet, shootingPos.position, Quaternion.identity);
bullet10.AddForce(_facingDirection);
}
void HorizontalHandler(InputAction.CallbackContext obj) {
_horizontalInput = obj.ReadValue<float>();
_facingDirection = _horizontalInput > 0 ? 1 : _horizontalInput < 0 ? -1 : _facingDirection;
transform.localScale = new Vector3(_facingDirection, 1, 1);
}
void OnEnable() {
_playerInput.Enable();
}
void OnDisable() {
_playerInput.Disable();
}
// Update is called once per frame
void Update() {
animator.SetFloat(XVelocity, Mathf.Abs(_xVelocity));
animator.SetFloat(YVelocity, Rb.velocity.y);
animator.SetBool(Grounded, _grounded);
if (_currentBufferTime > 0f && _currentCoyoteTime > 0f) {
Rb.velocity = new Vector2(Rb.velocity.x, jumpForce);
animator.SetTrigger(Jump1);
_currentBufferTime = _currentCoyoteTime = 0f;
}
_currentCoyoteTime -= Time.deltaTime;
_currentBufferTime -= Time.deltaTime;
}
void FixedUpdate() {
_grounded = Physics2D.OverlapBox(transform.position, feetSize, 0, groundMask);
if (_grounded && Rb.velocity.y < .1f)
_currentCoyoteTime = coyoteTime;
_xVelocity = Rb.velocity.x;
_xVelocity = Mathf.SmoothDamp(_xVelocity, _horizontalInput * speed, ref _accelerationVelocity,
acceleration);;
Rb.velocity = new Vector2(_xVelocity, Rb.velocity.y);
}
void OnDrawGizmos() {
Gizmos.color = Color.red;
Gizmos.DrawWireCube(transform.position, feetSize);
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: f9a9f318f92744b4f81879c9ef556dda
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -1,12 +1,9 @@
using UnityEngine;
namespace Level2 {
public class Bullet2 : MonoBehaviour {
[SerializeField] float speed;
public class Bullet2 : BulletStats {
public void AddForce(int direction) {
Rigidbody2D rb = GetComponent<Rigidbody2D>();
rb.velocity = Vector2.right * direction * speed;
GetComponent<Rigidbody2D>().velocity = Vector2.right * direction * bulletSpeed;
}
void OnCollisionEnter2D(Collision2D other) {

View file

@ -1,12 +1,9 @@
using UnityEngine;
namespace Level3 {
public class Bullet3 : MonoBehaviour {
[SerializeField] float speed;
public class Bullet3 : BulletStats {
public void AddForce(int direction) {
Rigidbody2D rb = GetComponent<Rigidbody2D>();
rb.velocity = Vector2.right * direction * speed;
GetComponent<Rigidbody2D>().velocity = Vector2.right * direction * bulletSpeed;
}
void OnCollisionEnter2D(Collision2D other) {

View file

@ -1,12 +1,9 @@
using UnityEngine;
namespace Level4 {
public class Bullet4 : MonoBehaviour {
[SerializeField] float speed;
public class Bullet4 : BulletStats {
public void AddForce(int direction) {
Rigidbody2D rb = GetComponent<Rigidbody2D>();
rb.velocity = Vector2.right * direction * speed;
GetComponent<Rigidbody2D>().velocity = Vector2.right * direction * bulletSpeed;
}
void OnCollisionEnter2D(Collision2D other) {

View file

@ -1,12 +1,9 @@
using UnityEngine;
namespace Level5 {
public class Bullet5 : MonoBehaviour {
[SerializeField] float speed;
public class Bullet5 : BulletStats {
public void AddForce(int direction) {
Rigidbody2D rb = GetComponent<Rigidbody2D>();
rb.velocity = Vector2.right * direction * speed;
GetComponent<Rigidbody2D>().velocity = Vector2.right * direction * maxYSpeed;
}
void OnCollisionEnter2D(Collision2D other) {

View file

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 86e2699d81c3b03418a02e82a17f2670
guid: 4b57f6479871e324890d64de4a9073a0
folderAsset: yes
DefaultImporter:
externalObjects: {}

View file

@ -1,16 +1,22 @@
using UnityEngine;
namespace Level8 {
public class Bullet8 : MonoBehaviour {
[SerializeField] float speed;
public class Bullet8 : BulletStats {
void FixedUpdate() {
if (Rb.velocity.y <= maxYSpeed) return;
Vector2 velocity = Rb.velocity;
velocity.y = maxYSpeed;
Rb.velocity = velocity;
}
public void AddForce(int direction) {
Rigidbody2D rb = GetComponent<Rigidbody2D>();
rb.velocity = Vector2.right * direction * speed;
GetComponent<Rigidbody2D>().velocity = Vector2.right * direction * bulletSpeed;
}
void OnCollisionEnter2D(Collision2D other) {
if (other.gameObject.CompareTag("Enemy")) {
Destroy(gameObject);
}
}
}
}

View file

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 07abba302fe75e04c8485e7a5ae40dcb
guid: e8589b066efc2a44782262ccea1a924e
MonoImporter:
externalObjects: {}
serializedVersion: 2

View file

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 8f8ff3b239fcea04b91b8c49085c0cdb
guid: a59820a761d4477468f1cc9da75eca3d
MonoImporter:
externalObjects: {}
serializedVersion: 2

View file

@ -1,3 +1,3 @@
fileFormatVersion: 2
guid: 07622b149a150ff4c9470ed89e7347c8
guid: 3c59ba55a285218468f7cb423b1aa267
timeCreated: 1691603524

View file

@ -1,16 +0,0 @@
using UnityEngine;
namespace Level8 {
public class PlayerFollower8 : MonoBehaviour {
public void SetPosition(Vector3 position, bool grounded) {
if (grounded) {
transform.position = position;
return;
}
Vector3 pos = transform.position;
pos.x = position.x;
transform.position = pos;
}
}
}

View file

@ -1,3 +0,0 @@
fileFormatVersion: 2
guid: fa9b72934e014867b4b865e119ad0f0b
timeCreated: 1692381164

View file

@ -4,8 +4,6 @@ using UnityEngine.InputSystem;
namespace Level8 {
public class PlayerMovement8 : PlayerStats {
[SerializeField] PlayerFollower8 playerFollower8;
[Header("Shooting")]
[SerializeField] Bullet8 bullet;
[SerializeField] Transform shootingPos;
@ -88,8 +86,6 @@ namespace Level8 {
_currentCoyoteTime -= Time.deltaTime;
_currentBufferTime -= Time.deltaTime;
playerFollower8.SetPosition(transform.position, _grounded);
}
void FixedUpdate() {

View file

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: cd40848ae407e14418cf25c22f6f4be5
guid: 51ca43f5f9e97404da11f9669675fdee
MonoImporter:
externalObjects: {}
serializedVersion: 2

View file

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

View file

@ -0,0 +1,32 @@
using System;
using UnityEngine;
namespace Level9 {
public class Bullet9 : BulletStats {
int _currentBounces;
protected override void Start() {
base.Start();
_currentBounces = maxBounces;
}
void FixedUpdate() {
if (Rb.velocity.y <= maxYSpeed) return;
Vector2 velocity = Rb.velocity;
velocity.y = maxYSpeed;
Rb.velocity = velocity;
}
public void AddForce(int direction) {
GetComponent<Rigidbody2D>().velocity = Vector2.right * direction * bulletSpeed;
}
void OnCollisionEnter2D(Collision2D other) {
--_currentBounces;
if (_currentBounces != 0 && !other.gameObject.CompareTag("Enemy")) return;
Destroy(gameObject);
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 927f706204d8ea44bba9700d29939338
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,48 @@
using UnityEngine;
namespace Level9 {
public class Enemy9 : MonoBehaviour {
[SerializeField] float speed;
[SerializeField] LayerMask groundLayer;
[SerializeField] Transform sprite;
[Header("Flipping Pivots")]
[SerializeField] Transform flippingPivotLeft;
[SerializeField] Transform flippingPivotRight;
int _facingDirection = 1;
Rigidbody2D _rb;
// Start is called before the first frame update
void Awake() {
_rb = GetComponent<Rigidbody2D>();
}
// Update is called once per frame
void FixedUpdate() {
if (_facingDirection > 0) {
if (Physics2D.OverlapBox(flippingPivotRight.position, flippingPivotRight.localScale, 0, groundLayer)) {
_facingDirection = -1;
sprite.localScale = new Vector3(-1, 1, 1);
}
}else {
if (Physics2D.OverlapBox(flippingPivotLeft.position, flippingPivotLeft.localScale, 0, groundLayer)) {
_facingDirection = 1;
sprite.localScale = Vector3.one;
}
}
_rb.velocity = new Vector2(speed * _facingDirection, _rb.velocity.y);
}
void OnDrawGizmos() {
if(!flippingPivotLeft || !flippingPivotRight) return;
Gizmos.color = Color.red;
Gizmos.DrawWireCube(flippingPivotLeft.position, flippingPivotLeft.localScale);
Gizmos.DrawWireCube(flippingPivotRight.position, flippingPivotRight.localScale);
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: b2cb099ac388ca14db89b7b03ac720ff
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,21 @@
using UnityEngine;
namespace Level9 {
public class EnemyWeakPoint9 : MonoBehaviour {
Enemy9 _enemy;
void Awake() {
_enemy = GetComponentInParent<Enemy9>();
}
void OnTriggerEnter2D(Collider2D other) {
if (!other.CompareTag("Player")) return;
PlayerMovement9 player = other.GetComponent<PlayerMovement9>();
player.Rb.velocity = new Vector2(player.Rb.velocity.x, player.deathForce);
player.Animator.SetTrigger(PlayerMovement9.Jump1);
Destroy(_enemy.gameObject);
}
}
}

View file

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 9ff7b393dcd3e084a8d10edefea7e758
timeCreated: 1691603524

View file

@ -0,0 +1,107 @@
using UnityEngine;
using UnityEngine.InputSystem;
namespace Level9 {
public class PlayerMovement9 : PlayerStats {
[Header("Shooting")]
[SerializeField] Bullet9 bullet;
[SerializeField] Transform shootingPos;
[Header("Physics")]
[SerializeField] LayerMask groundMask;
[SerializeField] Vector2 feetSize;
float _horizontalInput;
float _xVelocity, _accelerationVelocity;
float _currentCoyoteTime, _currentBufferTime;
bool _grounded;
int _facingDirection = 1;
PlayerInput _playerInput;
[Header("Animations")]
[SerializeField] Animator animator;
public Animator Animator => animator;
public static readonly int Jump1 = Animator.StringToHash("Jump");
static readonly int XVelocity = Animator.StringToHash("xVelocity");
static readonly int YVelocity = Animator.StringToHash("yVelocity");
static readonly int Grounded = Animator.StringToHash("Grounded");
void Awake() {
_playerInput = new PlayerInput();
_playerInput.Gameplay.Horizontal.started += HorizontalHandler;
_playerInput.Gameplay.Horizontal.performed += HorizontalHandler;
_playerInput.Gameplay.Horizontal.canceled += HorizontalHandler;
_playerInput.Gameplay.Jump.started += Jump;
_playerInput.Gameplay.Jump.canceled += Jump;
_playerInput.Gameplay.Fire.performed += Fire;
}
void Jump(InputAction.CallbackContext obj) {
if (obj.started) {
_currentBufferTime = bufferTime;
}else if (obj.canceled) {
if (Rb.velocity.y < 0f) return;
Rb.velocity = new Vector2(Rb.velocity.x, Rb.velocity.y * jumpCancellationMultiplier);
}
}
void Fire(InputAction.CallbackContext obj) {
Bullet9 bullet9 = Instantiate(bullet, shootingPos.position, Quaternion.identity);
bullet9.AddForce(_facingDirection);
}
void HorizontalHandler(InputAction.CallbackContext obj) {
_horizontalInput = obj.ReadValue<float>();
_facingDirection = _horizontalInput > 0 ? 1 : _horizontalInput < 0 ? -1 : _facingDirection;
transform.localScale = new Vector3(_facingDirection, 1, 1);
}
void OnEnable() {
_playerInput.Enable();
}
void OnDisable() {
_playerInput.Disable();
}
// Update is called once per frame
void Update() {
animator.SetFloat(XVelocity, Mathf.Abs(_xVelocity));
animator.SetFloat(YVelocity, Rb.velocity.y);
animator.SetBool(Grounded, _grounded);
if (_currentBufferTime > 0f && _currentCoyoteTime > 0f) {
Rb.velocity = new Vector2(Rb.velocity.x, jumpForce);
animator.SetTrigger(Jump1);
_currentBufferTime = _currentCoyoteTime = 0f;
}
_currentCoyoteTime -= Time.deltaTime;
_currentBufferTime -= Time.deltaTime;
}
void FixedUpdate() {
_grounded = Physics2D.OverlapBox(transform.position, feetSize, 0, groundMask);
if (_grounded && Rb.velocity.y < .1f)
_currentCoyoteTime = coyoteTime;
_xVelocity = Rb.velocity.x;
_xVelocity = Mathf.SmoothDamp(_xVelocity, _horizontalInput * speed, ref _accelerationVelocity,
acceleration);;
Rb.velocity = new Vector2(_xVelocity, Rb.velocity.y);
}
void OnDrawGizmos() {
Gizmos.color = Color.red;
Gizmos.DrawWireCube(transform.position, feetSize);
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 03de5002a9f63384a82582a5a3c96aa1
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -9,6 +9,7 @@ public abstract class PlayerStats : MonoBehaviour{
[HideInInspector] public float jumpCancellationMultiplier = .5f;
[HideInInspector] public float coyoteTime = .1f;
[HideInInspector] public float bufferTime = .1f;
[HideInInspector] public int maxBullets = 2;
public Rigidbody2D Rb { get; private set; }
@ -32,5 +33,6 @@ public abstract class PlayerStats : MonoBehaviour{
Rb.gravityScale = PlayerPrefs.GetFloat(nameof(Rb.gravityScale), Rb.gravityScale);
coyoteTime = PlayerPrefs.GetFloat(nameof(coyoteTime), coyoteTime);
bufferTime = PlayerPrefs.GetFloat(nameof(bufferTime), bufferTime);
maxBullets = Mathf.RoundToInt(PlayerPrefs.GetFloat(nameof(maxBullets), maxBullets));
}
}

View file

@ -69,6 +69,8 @@ MonoBehaviour:
instantiationMode: 1
- dependency: {fileID: 11400000, guid: f00f679a303f58e41b4d1cfb8623ebee, type: 2}
instantiationMode: 1
- dependency: {fileID: 2800000, guid: 3028dc075ba8c584d9bc7d1e0255e038, type: 3}
instantiationMode: 0
- dependency: {fileID: 4647122663633710289, guid: 861b452034207444d950b2e58aaa88c6, type: 3}
instantiationMode: 0
- dependency: {fileID: 11400000, guid: 8501dbe4b7dd5ff4f822e1a4ac9e80ed, type: 2}
@ -107,6 +109,8 @@ MonoBehaviour:
instantiationMode: 0
- dependency: {fileID: 5002620220514089441, guid: 8dac3d75191987d42bab1c1eeeb821e2, type: 3}
instantiationMode: 0
- dependency: {fileID: 2800000, guid: ee148e281f3c41c5b4ff5f8a5afe5a6c, type: 3}
instantiationMode: 0
- dependency: {fileID: 7400000, guid: b81f8dfbb84e0cd4ca515f324c1abc2f, type: 2}
instantiationMode: 0
- dependency: {fileID: 7400000, guid: 222817d4fd9f0f54fb8262dea64f8154, type: 2}
@ -123,10 +127,10 @@ MonoBehaviour:
instantiationMode: 1
- dependency: {fileID: 11400000, guid: 08afbcb71d732c746b91e9edd7e014aa, type: 2}
instantiationMode: 1
- dependency: {fileID: -944628639613478452, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
instantiationMode: 1
- dependency: {fileID: 11400000, guid: c70c103a8240a804e8bd2f5d3745c6dc, type: 2}
instantiationMode: 1
- dependency: {fileID: 2800000, guid: ee148e281f3c41c5b4ff5f8a5afe5a6c, type: 3}
instantiationMode: 0
- dependency: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
instantiationMode: 1
- dependency: {fileID: 2800000, guid: 5f2a108eb023faf43a809979fd3d38f2, type: 3}

View file

@ -53,4 +53,4 @@ Physics2DSettings:
m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432}
m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745}
m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804}
m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffff7fffffffbfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffff7fffffff3fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff

View file

@ -3,7 +3,8 @@
--- !u!78 &1
TagManager:
serializedVersion: 2
tags: []
tags:
- Enemy
layers:
- Default
- TransparentFX

View file

@ -6,35 +6,35 @@ EditorUserSettings:
serializedVersion: 4
m_ConfigSettings:
RecentlyUsedSceneGuid-0:
value: 5b520d0503545b0d0c0c0a2715770748154f4d2c7d7d7e627a7d4a35b4e1646a
flags: 0
RecentlyUsedSceneGuid-1:
value: 0257035307055c595f0b097416200744454e4d7d2e2e276578284b36b6b13168
flags: 0
RecentlyUsedSceneGuid-2:
value: 5b07045203565a590e5c5a2115265e4447161b297d2a20317d2f1c32b5b1356a
flags: 0
RecentlyUsedSceneGuid-3:
value: 0253500055570f025c5e5827477b0a4417151b732e7d20647b7b4d36b3b0603a
flags: 0
RecentlyUsedSceneGuid-4:
value: 005202545d010f09595d0e7b48750f44154f4a2f75787365797e4d60bbb9646f
flags: 0
RecentlyUsedSceneGuid-5:
value: 51010c5500000f080f0b5a26152206441315492b7471273179711e61b2b7626e
flags: 0
RecentlyUsedSceneGuid-6:
RecentlyUsedSceneGuid-1:
value: 515250075c0c595e5f5a5e71122159444e4e4a2f7a7d7f602f284d66b4b76661
flags: 0
RecentlyUsedSceneGuid-7:
RecentlyUsedSceneGuid-2:
value: 0000575050535c0d5a5a0d7b14250f4443161c787b2d2360747f1f30bbb43761
flags: 0
RecentlyUsedSceneGuid-8:
RecentlyUsedSceneGuid-3:
value: 020804515151590f555e0f7a45750a44431540797e2d7f60292b4461e4b8356d
flags: 0
RecentlyUsedSceneGuid-9:
RecentlyUsedSceneGuid-4:
value: 5255050501020a0f080d0d7b127b0c44414e4d727c2d7234797f4435e7b63039
flags: 0
RecentlyUsedSceneGuid-5:
value: 520406055703085e550f582016200e44454f192c7d297f6278714f30b5e43668
flags: 0
RecentlyUsedSceneGuid-6:
value: 5553055e01065a5f0e0b547546770e44464f4e2f7e7824667a7b496ab5e3303b
flags: 0
RecentlyUsedSceneGuid-7:
value: 5303525100025058555e5b2047270e44134f1d7e782d77607a2d4b61e0e46769
flags: 0
RecentlyUsedSceneGuid-8:
value: 07075607540c5e0c5c5c5c2342260d444f4f4f72292c7f6274701c36b4b66560
flags: 0
RecentlyUsedSceneGuid-9:
value: 0602010450530a5f540c557742270e444f154d7a7e71743428791c37b7e56660
flags: 0
vcSharedLogLevel:
value: 0d5e400f0650
flags: 0

View file

@ -19,7 +19,7 @@ MonoBehaviour:
width: 3072
height: 1636.8
m_ShowMode: 4
m_Title: Game
m_Title: Hierarchy
m_RootView: {fileID: 2}
m_MinSize: {x: 875, y: 350}
m_MaxSize: {x: 10000, y: 10000}
@ -119,7 +119,7 @@ MonoBehaviour:
m_MinSize: {x: 300, y: 200}
m_MaxSize: {x: 24288, y: 16192}
vertical: 0
controlID: 47
controlID: 75
--- !u!114 &6
MonoBehaviour:
m_ObjectHideFlags: 52
@ -144,7 +144,7 @@ MonoBehaviour:
m_MinSize: {x: 200, y: 200}
m_MaxSize: {x: 16192, y: 16192}
vertical: 1
controlID: 48
controlID: 76
--- !u!114 &7
MonoBehaviour:
m_ObjectHideFlags: 52
@ -155,7 +155,7 @@ MonoBehaviour:
m_Enabled: 1
m_EditorHideFlags: 1
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
m_Name: GameView
m_Name: SceneView
m_EditorClassIdentifier:
m_Children: []
m_Position:
@ -164,16 +164,16 @@ MonoBehaviour:
y: 0
width: 2365.6
height: 1106.4
m_MinSize: {x: 200, y: 200}
m_MaxSize: {x: 4000, y: 4000}
m_ActualView: {fileID: 15}
m_MinSize: {x: 201, y: 221}
m_MaxSize: {x: 4001, y: 4021}
m_ActualView: {fileID: 16}
m_Panes:
- {fileID: 16}
- {fileID: 15}
- {fileID: 14}
- {fileID: 13}
m_Selected: 1
m_LastSelected: 0
m_Selected: 0
m_LastSelected: 1
--- !u!114 &8
MonoBehaviour:
m_ObjectHideFlags: 52
@ -198,7 +198,7 @@ MonoBehaviour:
m_MinSize: {x: 200, y: 100}
m_MaxSize: {x: 16192, y: 8096}
vertical: 0
controlID: 49
controlID: 93
--- !u!114 &9
MonoBehaviour:
m_ObjectHideFlags: 52
@ -218,8 +218,8 @@ MonoBehaviour:
y: 0
width: 370.4
height: 480.40002
m_MinSize: {x: 200, y: 200}
m_MaxSize: {x: 4000, y: 4000}
m_MinSize: {x: 201, y: 221}
m_MaxSize: {x: 4001, y: 4021}
m_ActualView: {fileID: 17}
m_Panes:
- {fileID: 17}
@ -309,7 +309,7 @@ MonoBehaviour:
m_SaveData: []
m_LockTracker:
m_IsLocked: 0
m_LastSelectedObjectID: 106954
m_LastSelectedObjectID: 57688
--- !u!114 &13
MonoBehaviour:
m_ObjectHideFlags: 52
@ -625,7 +625,7 @@ MonoBehaviour:
m_HSlider: 0
m_VSlider: 0
m_IgnoreScrollWheelUntilClicked: 0
m_EnableMouseInput: 1
m_EnableMouseInput: 0
m_EnableSliderZoomHorizontal: 0
m_EnableSliderZoomVertical: 0
m_UniformScale: 1
@ -903,9 +903,9 @@ MonoBehaviour:
m_PlayAudio: 0
m_AudioPlay: 0
m_Position:
m_Target: {x: 946.06714, y: 709.6905, z: -3.8896255}
m_Target: {x: -0.13960038, y: 0.8784879, z: 1.1620734}
speed: 2
m_Value: {x: 946.06714, y: 709.6905, z: -3.8896255}
m_Value: {x: -0.13960038, y: 0.8784879, z: 1.1620734}
m_RenderMode: 0
m_CameraMode:
drawMode: 0
@ -956,9 +956,9 @@ MonoBehaviour:
speed: 2
m_Value: {x: 0, y: 0, z: 0, w: 1}
m_Size:
m_Target: 931.9192
m_Target: 5.4139843
speed: 2
m_Value: 931.9192
m_Value: 5.4139843
m_Ortho:
m_Target: 1
speed: 2
@ -1016,7 +1016,7 @@ MonoBehaviour:
scrollPos: {x: 0, y: 0}
m_SelectedIDs:
m_LastClickedID: 0
m_ExpandedIDs: 5ea3f1ffbea7f1ffeea9f1ff90aef1ff38b3f1ffeebdf1ff90caf1ff88fff1ff3647f2ff2e49f2ff264bf2ff1e4df2ff164ff2ff0e51f2ff0253f2fffa54f2fff256f2fff458f2ffd656fcff9258fcffe05cfcffe26efcffe46efcff1287ffff3687ffff4e88ffff6289ffff768affff8a8bffff12a0ffffbca8ffff90adffff04c0ffff8ceeffff26f5ffff0af6ffff40f7ffffe0f7ffff5af8ffffd4f8ffff04fbffff8866000038900000b8310100ac5a0100bea20100
m_ExpandedIDs: 4a13ffffa63bffff2c4effffdcbfffff04fbffff0c5c0000245c0000bc5c0000b08d0000
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@ -1081,36 +1081,36 @@ MonoBehaviour:
m_SkipHidden: 0
m_SearchArea: 1
m_Folders:
- Assets/Prefabs/Level 8
- Assets/Prefabs/Level 10
m_Globs: []
m_OriginalText:
m_ViewMode: 1
m_StartGridSize: 64
m_LastFolders:
- Assets/Prefabs/Level 8
- Assets/Prefabs/Level 10
m_LastFoldersGridSize: -1
m_LastProjectPath: C:\Users\ggasc\GitHub\Xerrada
m_LockTracker:
m_IsLocked: 1
m_IsLocked: 0
m_FolderTreeState:
scrollPos: {x: 0, y: 12.599976}
m_SelectedIDs: 8ca70100
m_LastClickedID: 108428
m_ExpandedIDs: 00000000fe5d0000ae5f0000b45f000000ca9a3b
scrollPos: {x: 0, y: 108.599976}
m_SelectedIDs: 26c30000
m_LastClickedID: 49958
m_ExpandedIDs: 000000002a610000366100003c61000000ca9a3b
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name: Level 4
m_OriginalName: Level 4
m_Name:
m_OriginalName:
m_EditFieldRect:
serializedVersion: 2
x: 0
y: 0
width: 0
height: 0
m_UserData: 78550
m_UserData: 0
m_IsWaitingForDelay: 0
m_IsRenaming: 0
m_OriginalEventType: 0
m_OriginalEventType: 11
m_IsRenamingFilename: 1
m_ClientGUIView: {fileID: 10}
m_SearchString:
@ -1124,7 +1124,7 @@ MonoBehaviour:
scrollPos: {x: 0, y: 0}
m_SelectedIDs:
m_LastClickedID: 0
m_ExpandedIDs: 00000000fe5d0000
m_ExpandedIDs: 000000002a610000
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name: