Tuned up some sprites and gave the enemy and player better colliders

This commit is contained in:
Gregory Campbell
2020-07-12 11:00:37 -04:00
parent f316ebf320
commit 273325e117
18 changed files with 482 additions and 73 deletions
+29 -7
View File
@@ -11,7 +11,7 @@ GameObject:
- component: {fileID: 3604935524688938150}
- component: {fileID: 3604935524688938201}
- component: {fileID: 6741981845749859313}
- component: {fileID: 8332197680746461102}
- component: {fileID: 1614877917231671591}
- component: {fileID: 6716227068369250423}
- component: {fileID: 917023915065383399}
m_Layer: 0
@@ -74,7 +74,7 @@ SpriteRenderer:
m_SortingLayerID: -886689981
m_SortingLayer: 2
m_SortingOrder: 0
m_Sprite: {fileID: 21300000, guid: 5c9800fd4ef9e33469a34c4b330cdfbd, type: 3}
m_Sprite: {fileID: 21300000, guid: 0e01acaad6f784d43b385f9c8f55676e, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0
m_FlipY: 0
@@ -106,8 +106,8 @@ Rigidbody2D:
m_SleepingMode: 1
m_CollisionDetection: 0
m_Constraints: 4
--- !u!61 &8332197680746461102
BoxCollider2D:
--- !u!60 &1614877917231671591
PolygonCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
@@ -129,9 +129,31 @@ BoxCollider2D:
drawMode: 0
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 1.28, y: 1.28}
m_EdgeRadius: 0
m_Points:
m_Paths:
- - {x: 0.35999998, y: -0.31}
- {x: 0.51, y: -0.31}
- {x: 0.58, y: -0.26}
- {x: 0.58, y: -0.04}
- {x: 0.57, y: 0.02}
- {x: 0.55, y: 0.12}
- {x: 0.45999998, y: 0.21}
- {x: 0.31, y: 0.26}
- {x: 0.32999998, y: 0.62}
- {x: 0.22999999, y: 0.64}
- {x: -0.19, y: 0.64}
- {x: -0.29, y: 0.58}
- {x: -0.28, y: 0.37}
- {x: -0.51, y: 0.17999999}
- {x: -0.55, y: 0.08}
- {x: -0.55, y: -0.34}
- {x: -0.37, y: -0.38}
- {x: -0.28, y: -0.29999998}
- {x: -0.28, y: -0.35999998}
- {x: -0.37, y: -0.64}
- {x: 0.39, y: -0.64}
- {x: 0.44, y: -0.62}
- {x: 0.39999998, y: -0.47}
--- !u!82 &6716227068369250423
AudioSource:
m_ObjectHideFlags: 0
+4 -4
View File
@@ -73,11 +73,11 @@ SpriteRenderer:
m_SortingLayerID: -886689981
m_SortingLayer: 2
m_SortingOrder: 0
m_Sprite: {fileID: 21300000, guid: f0211b1cbdfe5b74098b7a13bcd17454, type: 3}
m_Sprite: {fileID: 21300000, guid: 8326c63b72803594ba0b785814f2a54a, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0
m_FlipY: 0
m_DrawMode: 0
m_DrawMode: 2
m_Size: {x: 1.28, y: 1.28}
m_AdaptiveModeThreshold: 0.5
m_SpriteTileMode: 0
@@ -104,9 +104,9 @@ BoxCollider2D:
oldSize: {x: 1.28, y: 1.28}
newSize: {x: 1.28, y: 1.28}
adaptiveTilingThreshold: 0.5
drawMode: 0
drawMode: 2
adaptiveTiling: 0
m_AutoTiling: 0
m_AutoTiling: 1
serializedVersion: 2
m_Size: {x: 1.28, y: 1.28}
m_EdgeRadius: 0