From cd153ee5c677d7deb12c03b98bccb7c8a2a330aa Mon Sep 17 00:00:00 2001 From: Gregory Campbell Date: Sun, 12 Apr 2020 11:16:48 -0400 Subject: [PATCH] Reworked part textures so they can be properly scaled --- Assets/Scenes/Test Scene.unity | 42 +++++++++---------- .../BasicRobotMouseDrawnRough.png.meta | 2 +- Assets/Textures/Selection1Draft.png.meta | 2 +- Assets/Textures/Selection2Draft.png.meta | 2 +- Assets/Textures/Selection3Draft.png.meta | 2 +- Assets/Textures/Selection4Draft.png.meta | 2 +- 6 files changed, 26 insertions(+), 26 deletions(-) diff --git a/Assets/Scenes/Test Scene.unity b/Assets/Scenes/Test Scene.unity index 2583a69..d526570 100644 --- a/Assets/Scenes/Test Scene.unity +++ b/Assets/Scenes/Test Scene.unity @@ -533,8 +533,8 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 253563187} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0.25, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} + m_LocalPosition: {x: 0, y: 5, z: 0} + m_LocalScale: {x: 0.5, y: 0.5, z: 1} m_Children: [] m_Father: {fileID: 617295560} m_RootOrder: 0 @@ -958,8 +958,8 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 584866347} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0.25, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} + m_LocalPosition: {x: 0, y: 5, z: 0} + m_LocalScale: {x: 0.5, y: 0.5, z: 1} m_Children: [] m_Father: {fileID: 2058067575} m_RootOrder: 0 @@ -1008,7 +1008,7 @@ SpriteRenderer: m_FlipX: 0 m_FlipY: 0 m_DrawMode: 0 - m_Size: {x: 51.2, y: 51.2} + m_Size: {x: 5.12, y: 5.12} m_AdaptiveModeThreshold: 0.5 m_SpriteTileMode: 0 m_WasSpriteAssigned: 0 @@ -1150,14 +1150,14 @@ BoxCollider2D: m_SpriteTilingProperty: border: {x: 0, y: 0, z: 0, w: 0} pivot: {x: 0.5, y: 0.5} - oldSize: {x: 0.2048, y: 0.2048} + oldSize: {x: 5.12, y: 5.12} newSize: {x: 0.2, y: 0.2} adaptiveTilingThreshold: 0.5 drawMode: 0 adaptiveTiling: 0 m_AutoTiling: 0 serializedVersion: 2 - m_Size: {x: 0.2, y: 0.2} + m_Size: {x: 5, y: 5} m_EdgeRadius: 0 --- !u!212 &617295559 SpriteRenderer: @@ -1218,7 +1218,7 @@ Transform: m_GameObject: {fileID: 617295556} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 15, y: 10, z: 1} + m_LocalScale: {x: 0.5, y: 0.5, z: 1} m_Children: - {fileID: 253563188} m_Father: {fileID: 1054126017} @@ -1249,8 +1249,8 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 901586390} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0.25, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} + m_LocalPosition: {x: 0, y: 5, z: 0} + m_LocalScale: {x: 0.5, y: 0.5, z: 1} m_Children: [] m_Father: {fileID: 1394857175} m_RootOrder: 0 @@ -2154,14 +2154,14 @@ BoxCollider2D: m_SpriteTilingProperty: border: {x: 0, y: 0, z: 0, w: 0} pivot: {x: 0.5, y: 0.5} - oldSize: {x: 0.2048, y: 0.2048} + oldSize: {x: 5.12, y: 5.12} newSize: {x: 0.2, y: 0.2} adaptiveTilingThreshold: 0.5 drawMode: 0 adaptiveTiling: 0 m_AutoTiling: 0 serializedVersion: 2 - m_Size: {x: 0.2, y: 0.2} + m_Size: {x: 5, y: 5} m_EdgeRadius: 0 --- !u!212 &1394857174 SpriteRenderer: @@ -2222,7 +2222,7 @@ Transform: m_GameObject: {fileID: 1394857171} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 15, y: 10, z: 1} + m_LocalScale: {x: 0.5, y: 0.5, z: 1} m_Children: - {fileID: 901586391} m_Father: {fileID: 982463267} @@ -2705,8 +2705,8 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1887744308} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0.25, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} + m_LocalPosition: {x: 0, y: 5, z: 0} + m_LocalScale: {x: 0.5, y: 0.5, z: 1} m_Children: [] m_Father: {fileID: 1935397214} m_RootOrder: 0 @@ -2897,14 +2897,14 @@ BoxCollider2D: m_SpriteTilingProperty: border: {x: 0, y: 0, z: 0, w: 0} pivot: {x: 0.5, y: 0.5} - oldSize: {x: 0.2048, y: 0.2048} + oldSize: {x: 5.12, y: 5.12} newSize: {x: 0.2, y: 0.2} adaptiveTilingThreshold: 0.5 drawMode: 0 adaptiveTiling: 0 m_AutoTiling: 0 serializedVersion: 2 - m_Size: {x: 0.2, y: 0.2} + m_Size: {x: 5, y: 5} m_EdgeRadius: 0 --- !u!212 &1935397213 SpriteRenderer: @@ -2965,7 +2965,7 @@ Transform: m_GameObject: {fileID: 1935397210} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 15, y: 10, z: 1} + m_LocalScale: {x: 0.5, y: 0.5, z: 1} m_Children: - {fileID: 1887744309} m_Father: {fileID: 1537576151} @@ -3218,7 +3218,7 @@ Transform: m_GameObject: {fileID: 2058067573} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 15, y: 10, z: 1} + m_LocalScale: {x: 0.5, y: 0.5, z: 1} m_Children: - {fileID: 584866348} m_Father: {fileID: 1729514559} @@ -3260,14 +3260,14 @@ BoxCollider2D: m_SpriteTilingProperty: border: {x: 0, y: 0, z: 0, w: 0} pivot: {x: 0.5, y: 0.5} - oldSize: {x: 0.2048, y: 0.2048} + oldSize: {x: 5.12, y: 5.12} newSize: {x: 0.2, y: 0.2} adaptiveTilingThreshold: 0.5 drawMode: 0 adaptiveTiling: 0 m_AutoTiling: 0 serializedVersion: 2 - m_Size: {x: 0.2, y: 0.2} + m_Size: {x: 5, y: 5} m_EdgeRadius: 0 --- !u!1 &2092827605 GameObject: diff --git a/Assets/Textures/BasicRobotMouseDrawnRough.png.meta b/Assets/Textures/BasicRobotMouseDrawnRough.png.meta index d776492..80e4a89 100644 --- a/Assets/Textures/BasicRobotMouseDrawnRough.png.meta +++ b/Assets/Textures/BasicRobotMouseDrawnRough.png.meta @@ -45,7 +45,7 @@ TextureImporter: spriteMeshType: 1 alignment: 0 spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 2500 + spritePixelsToUnits: 100 spriteBorder: {x: 0, y: 0, z: 0, w: 0} spriteGenerateFallbackPhysicsShape: 1 alphaUsage: 1 diff --git a/Assets/Textures/Selection1Draft.png.meta b/Assets/Textures/Selection1Draft.png.meta index 17d2807..3e2b0d4 100644 --- a/Assets/Textures/Selection1Draft.png.meta +++ b/Assets/Textures/Selection1Draft.png.meta @@ -45,7 +45,7 @@ TextureImporter: spriteMeshType: 1 alignment: 0 spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 5000 + spritePixelsToUnits: 100 spriteBorder: {x: 0, y: 0, z: 0, w: 0} spriteGenerateFallbackPhysicsShape: 1 alphaUsage: 1 diff --git a/Assets/Textures/Selection2Draft.png.meta b/Assets/Textures/Selection2Draft.png.meta index 385b7e7..6908937 100644 --- a/Assets/Textures/Selection2Draft.png.meta +++ b/Assets/Textures/Selection2Draft.png.meta @@ -45,7 +45,7 @@ TextureImporter: spriteMeshType: 1 alignment: 0 spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 5000 + spritePixelsToUnits: 100 spriteBorder: {x: 0, y: 0, z: 0, w: 0} spriteGenerateFallbackPhysicsShape: 1 alphaUsage: 1 diff --git a/Assets/Textures/Selection3Draft.png.meta b/Assets/Textures/Selection3Draft.png.meta index 2c0bf2a..02bfdd7 100644 --- a/Assets/Textures/Selection3Draft.png.meta +++ b/Assets/Textures/Selection3Draft.png.meta @@ -45,7 +45,7 @@ TextureImporter: spriteMeshType: 1 alignment: 0 spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 5000 + spritePixelsToUnits: 100 spriteBorder: {x: 0, y: 0, z: 0, w: 0} spriteGenerateFallbackPhysicsShape: 1 alphaUsage: 1 diff --git a/Assets/Textures/Selection4Draft.png.meta b/Assets/Textures/Selection4Draft.png.meta index aafd1a0..611cb56 100644 --- a/Assets/Textures/Selection4Draft.png.meta +++ b/Assets/Textures/Selection4Draft.png.meta @@ -45,7 +45,7 @@ TextureImporter: spriteMeshType: 1 alignment: 0 spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 5000 + spritePixelsToUnits: 100 spriteBorder: {x: 0, y: 0, z: 0, w: 0} spriteGenerateFallbackPhysicsShape: 1 alphaUsage: 1