Commit 98cc0ee5 authored by Martin Mihálik's avatar Martin Mihálik 🔥
Browse files

Player Movement

parent 51d2e2eb
fileFormatVersion: 2
guid: b9c664e75e5258a4c950b2cf2ffc4d9e
TextureImporter:
internalIDToNameTable: []
internalIDToNameTable:
- first:
213: -4018641837590809055
second: spritesheet_aliens_0
- first:
213: 1020571417195868081
second: spritesheet_aliens_1
- first:
213: -8097636258267115672
second: spritesheet_aliens_2
- first:
213: -1915515182195105362
second: spritesheet_aliens_3
- first:
213: -2321827804263999460
second: spritesheet_aliens_4
- first:
213: 2036480572841062803
second: spritesheet_aliens_5
- first:
213: -8457290342443385059
second: spritesheet_aliens_6
- first:
213: -3075013752665836135
second: spritesheet_aliens_7
- first:
213: 2378594420816038730
second: spritesheet_aliens_8
- first:
213: 420329447822052175
second: spritesheet_aliens_9
- first:
213: -5477932474858569004
second: spritesheet_aliens_10
- first:
213: 1432063775663693323
second: spritesheet_aliens_11
- first:
213: 114906163106474041
second: spritesheet_aliens_12
- first:
213: 3865384145909342063
second: spritesheet_aliens_13
- first:
213: -1379472490263681855
second: spritesheet_aliens_14
externalObjects: {}
serializedVersion: 11
mipmaps:
......@@ -41,12 +86,12 @@ TextureImporter:
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteMode: 2
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spritePixelsToUnits: 70
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
......@@ -75,9 +120,336 @@ TextureImporter:
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
sprites:
- serializedVersion: 2
name: spritesheet_aliens_0
rect:
serializedVersion: 2
x: 0
y: 186
width: 70
height: 70
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 12670e65a8aea38c0800000000000000
internalID: -4018641837590809055
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: spritesheet_aliens_1
rect:
serializedVersion: 2
x: 0
y: 116
width: 70
height: 70
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 1bf60e5fb4cc92e00800000000000000
internalID: 1020571417195868081
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: spritesheet_aliens_2
rect:
serializedVersion: 2
x: 0
y: 46
width: 70
height: 70
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 86f4aa9e9ba6f9f80800000000000000
internalID: -8097636258267115672
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: spritesheet_aliens_3
rect:
serializedVersion: 2
x: 70
y: 186
width: 70
height: 70
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: ea1a4633719ba65e0800000000000000
internalID: -1915515182195105362
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: spritesheet_aliens_4
rect:
serializedVersion: 2
x: 70
y: 116
width: 70
height: 70
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: c181831e9e537cfd0800000000000000
internalID: -2321827804263999460
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: spritesheet_aliens_5
rect:
serializedVersion: 2
x: 70
y: 46
width: 70
height: 70
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 391fc209a48034c10800000000000000
internalID: 2036480572841062803
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: spritesheet_aliens_6
rect:
serializedVersion: 2
x: 140
y: 186
width: 70
height: 70
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: d1ff1500e3ba1aa80800000000000000
internalID: -8457290342443385059
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: spritesheet_aliens_7
rect:
serializedVersion: 2
x: 140
y: 116
width: 70
height: 70
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 99579e8b84b5355d0800000000000000
internalID: -3075013752665836135
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: spritesheet_aliens_8
rect:
serializedVersion: 2
x: 140
y: 46
width: 70
height: 70
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: a4b477df507720120800000000000000
internalID: 2378594420816038730
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: spritesheet_aliens_9
rect:
serializedVersion: 2
x: 210
y: 186
width: 70
height: 70
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: f4bc112e76f45d500800000000000000
internalID: 420329447822052175
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: spritesheet_aliens_10
rect:
serializedVersion: 2
x: 210
y: 116
width: 70
height: 70
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 4d28a7cff697af3b0800000000000000
internalID: -5477932474858569004
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: spritesheet_aliens_11
rect:
serializedVersion: 2
x: 210
y: 46
width: 70
height: 70
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: b0e9324aa66bfd310800000000000000
internalID: 1432063775663693323
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: spritesheet_aliens_12
rect:
serializedVersion: 2
x: 280
y: 186
width: 70
height: 70
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 938e67aeb8a389100800000000000000
internalID: 114906163106474041
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: spritesheet_aliens_13
rect:
serializedVersion: 2
x: 280
y: 116
width: 70
height: 70
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: f6f5a59a66a94a530800000000000000
internalID: 3865384145909342063
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: spritesheet_aliens_14
rect:
serializedVersion: 2
x: 280
y: 46
width: 70
height: 70
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 1c4e86034112bdce0800000000000000
internalID: -1379472490263681855
vertices: []
indices:
edges: []
weights: []
outline: []
physicsShape: []
bones: []
......
fileFormatVersion: 2
guid: 9b234e87949943742a7da64d31cfb39a
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
%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: NoFriction
friction: 0
bounciness: 0
fileFormatVersion: 2
guid: 9585bd1897407494d9d3063e1a79010f
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 6200000
userData:
assetBundleName:
assetBundleVariant:
......@@ -123,6 +123,171 @@ NavMeshSettings:
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
--- !u!1 &512397500
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 512397504}
- component: {fileID: 512397503}
- component: {fileID: 512397502}
- component: {fileID: 512397501}
- component: {fileID: 512397505}
- component: {fileID: 512397506}
m_Layer: 0
m_Name: Player
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!50 &512397501
Rigidbody2D:
serializedVersion: 4
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 512397500}
m_BodyType: 0
m_Simulated: 1
m_UseFullKinematicContacts: 0
m_UseAutoMass: 0
m_Mass: 1
m_LinearDrag: 0
m_AngularDrag: 0.05
m_GravityScale: 3
m_Material: {fileID: 0}
m_Interpolate: 0
m_SleepingMode: 1
m_CollisionDetection: 0
m_Constraints: 4
--- !u!61 &512397502
BoxCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 512397500}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 6200000, guid: 9585bd1897407494d9d3063e1a79010f, type: 2}
m_IsTrigger: 0
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: 0, y: 0}
m_SpriteTilingProperty:
border: {x: 0, y: 0, z: 0, w: 0}
pivot: {x: 0.5, y: 0.5}
oldSize: {x: 1, y: 1}
newSize: {x: 1, y: 1}
adaptiveTilingThreshold: 0.5
drawMode: 0
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 1, y: 1}
m_EdgeRadius: 0
--- !u!212 &512397503
SpriteRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 512397500}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 0
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_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: 420329447822052175, guid: b9c664e75e5258a4c950b2cf2ffc4d9e, 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!4 &512397504
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 512397500}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -4.21, y: 0.89, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 519420032}
m_Father: {fileID: 0}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &512397505
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 512397500}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: b691a2a756a6e9a4a9f82d992f114b5b, type: 3}
m_Name:
m_EditorClassIdentifier:
m_JumpForce: 600
m_MovementSmoothing: 0.05
m_AirControl: 1
m_WhatIsGround:
serializedVersion: 2
m_Bits: 8
--- !u!114 &512397506
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 512397500}
m_Enabled: 1