From 0b0ffa48dd6649b9bd815222ef25a5753b485f98 Mon Sep 17 00:00:00 2001 From: Damian Date: Tue, 30 Sep 2025 10:39:14 +0200 Subject: [PATCH] Modified Pulver sprite's pivots --- .../Pulver/Pulver_Back_WalkIdle.png.meta | 56 +++++++++++++----- .../Pulver/Pulver_Front_WalkIdle.png.meta | 58 ++++++++++++++----- Assets/Scenes/Levels/Quarry.unity | 36 +++++++----- 3 files changed, 104 insertions(+), 46 deletions(-) diff --git a/Assets/Art/Sprites/Spritesheets/Characters/Pulver/Pulver_Back_WalkIdle.png.meta b/Assets/Art/Sprites/Spritesheets/Characters/Pulver/Pulver_Back_WalkIdle.png.meta index c8b29c89..c71ba491 100644 --- a/Assets/Art/Sprites/Spritesheets/Characters/Pulver/Pulver_Back_WalkIdle.png.meta +++ b/Assets/Art/Sprites/Spritesheets/Characters/Pulver/Pulver_Back_WalkIdle.png.meta @@ -151,6 +151,32 @@ TextureImporter: ignorePlatformSupport: 0 androidETC2FallbackOverride: 0 forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: iOS + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 spriteSheet: serializedVersion: 2 sprites: @@ -163,7 +189,7 @@ TextureImporter: width: 289 height: 401 alignment: 9 - pivot: {x: 0.5, y: 0.2} + pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} customData: outline: [] @@ -185,7 +211,7 @@ TextureImporter: width: 289 height: 401 alignment: 9 - pivot: {x: 0.5, y: 0.2} + pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} customData: outline: [] @@ -207,7 +233,7 @@ TextureImporter: width: 289 height: 398 alignment: 9 - pivot: {x: 0.5, y: 0.2} + pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} customData: outline: [] @@ -229,7 +255,7 @@ TextureImporter: width: 289 height: 398 alignment: 9 - pivot: {x: 0.5, y: 0.2} + pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} customData: outline: [] @@ -251,7 +277,7 @@ TextureImporter: width: 288 height: 391 alignment: 9 - pivot: {x: 0.5, y: 0.2} + pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} customData: outline: [] @@ -273,7 +299,7 @@ TextureImporter: width: 288 height: 380 alignment: 9 - pivot: {x: 0.5, y: 0.2} + pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} customData: outline: [] @@ -295,7 +321,7 @@ TextureImporter: width: 288 height: 380 alignment: 9 - pivot: {x: 0.5, y: 0.2} + pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} customData: outline: [] @@ -317,7 +343,7 @@ TextureImporter: width: 288 height: 380 alignment: 9 - pivot: {x: 0.5, y: 0.2} + pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} customData: outline: [] @@ -339,7 +365,7 @@ TextureImporter: width: 288 height: 380 alignment: 9 - pivot: {x: 0.5, y: 0.2} + pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} customData: outline: [] @@ -361,7 +387,7 @@ TextureImporter: width: 286 height: 374 alignment: 9 - pivot: {x: 0.5, y: 0.2} + pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} customData: outline: [] @@ -383,7 +409,7 @@ TextureImporter: width: 286 height: 374 alignment: 9 - pivot: {x: 0.5, y: 0.2} + pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} customData: outline: [] @@ -405,7 +431,7 @@ TextureImporter: width: 286 height: 371 alignment: 9 - pivot: {x: 0.5, y: 0.2} + pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} customData: outline: [] @@ -427,7 +453,7 @@ TextureImporter: width: 286 height: 371 alignment: 9 - pivot: {x: 0.5, y: 0.2} + pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} customData: outline: [] @@ -449,7 +475,7 @@ TextureImporter: width: 286 height: 356 alignment: 9 - pivot: {x: 0.5, y: 0.2} + pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} customData: outline: [] @@ -471,7 +497,7 @@ TextureImporter: width: 286 height: 353 alignment: 9 - pivot: {x: 0.5, y: 0.2} + pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} customData: outline: [] diff --git a/Assets/Art/Sprites/Spritesheets/Characters/Pulver/Pulver_Front_WalkIdle.png.meta b/Assets/Art/Sprites/Spritesheets/Characters/Pulver/Pulver_Front_WalkIdle.png.meta index 2cf4c91b..b37abf9a 100644 --- a/Assets/Art/Sprites/Spritesheets/Characters/Pulver/Pulver_Front_WalkIdle.png.meta +++ b/Assets/Art/Sprites/Spritesheets/Characters/Pulver/Pulver_Front_WalkIdle.png.meta @@ -151,6 +151,32 @@ TextureImporter: ignorePlatformSupport: 0 androidETC2FallbackOverride: 0 forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: iOS + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 spriteSheet: serializedVersion: 2 sprites: @@ -163,7 +189,7 @@ TextureImporter: width: 286 height: 401 alignment: 9 - pivot: {x: 0.5, y: 0.2} + pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} customData: outline: [] @@ -185,7 +211,7 @@ TextureImporter: width: 286 height: 401 alignment: 9 - pivot: {x: 0.5, y: 0.2} + pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} customData: outline: [] @@ -207,7 +233,7 @@ TextureImporter: width: 288 height: 391 alignment: 9 - pivot: {x: 0.5, y: 0.2} + pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} customData: outline: [] @@ -229,7 +255,7 @@ TextureImporter: width: 289 height: 372 alignment: 9 - pivot: {x: 0.5, y: 0.2} + pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} customData: outline: [] @@ -251,7 +277,7 @@ TextureImporter: width: 289 height: 372 alignment: 9 - pivot: {x: 0.5, y: 0.2} + pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} customData: outline: [] @@ -273,7 +299,7 @@ TextureImporter: width: 289 height: 372 alignment: 9 - pivot: {x: 0.5, y: 0.2} + pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} customData: outline: [] @@ -295,7 +321,7 @@ TextureImporter: width: 289 height: 372 alignment: 9 - pivot: {x: 0.5, y: 0.2} + pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} customData: outline: [] @@ -317,7 +343,7 @@ TextureImporter: width: 289 height: 370 alignment: 9 - pivot: {x: 0.5, y: 0.2} + pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} customData: outline: [] @@ -339,7 +365,7 @@ TextureImporter: width: 289 height: 370 alignment: 9 - pivot: {x: 0.5, y: 0.2} + pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} customData: outline: [] @@ -361,7 +387,7 @@ TextureImporter: width: 289 height: 370 alignment: 9 - pivot: {x: 0.5, y: 0.2} + pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} customData: outline: [] @@ -378,12 +404,12 @@ TextureImporter: name: Pulver_Front_WalkIdle_07 rect: serializedVersion: 2 - x: 598 + x: 599 y: 376 width: 289 height: 370 alignment: 9 - pivot: {x: 0.5, y: 0.2} + pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} customData: outline: [] @@ -405,7 +431,7 @@ TextureImporter: width: 288 height: 364 alignment: 9 - pivot: {x: 0.5, y: 0.2} + pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} customData: outline: [] @@ -427,7 +453,7 @@ TextureImporter: width: 288 height: 364 alignment: 9 - pivot: {x: 0.5, y: 0.2} + pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} customData: outline: [] @@ -449,7 +475,7 @@ TextureImporter: width: 288 height: 358 alignment: 9 - pivot: {x: 0.5, y: 0.2} + pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} customData: outline: [] @@ -471,7 +497,7 @@ TextureImporter: width: 288 height: 358 alignment: 9 - pivot: {x: 0.5, y: 0.2} + pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} customData: outline: [] diff --git a/Assets/Scenes/Levels/Quarry.unity b/Assets/Scenes/Levels/Quarry.unity index d65bf65d..d86045cb 100644 --- a/Assets/Scenes/Levels/Quarry.unity +++ b/Assets/Scenes/Levels/Quarry.unity @@ -1281,22 +1281,24 @@ PolygonCollider2D: - {x: 89.69604, y: -23.252583} - {x: 85.70714, y: -82.23322} - {x: 69.60939, y: -82.269455} - - {x: 74.01433, y: -62.149834} - - {x: 67.98012, y: -62.438797} - - {x: 59.66469, y: -61.76319} - - {x: 44.051353, y: -63.377674} - - {x: 33.09439, y: -63.122875} - - {x: 25.451967, y: -61.529755} - - {x: 22.896826, y: -59.966286} + - {x: 74.609085, y: -62.328262} + - {x: 68.812775, y: -62.914604} + - {x: 59.54573, y: -62.179523} + - {x: 44.348732, y: -63.675056} + - {x: 33.3323, y: -63.658165} + - {x: 25.451967, y: -62.30294} + - {x: 23.007975, y: -61.092964} + - {x: 22.480497, y: -59.549957} - {x: 27.441515, y: -57.01676} - - {x: 27.030504, y: -55.91338} - - {x: 16.026094, y: -57.697495} - - {x: 8.161266, y: -57.111847} - - {x: 5.0998783, y: -53.833015} - - {x: 6.146944, y: -51.120068} - - {x: 10.898872, y: -50.721626} - - {x: 12.013062, y: -48.1396} - - {x: 7.711693, y: -47.26676} + - {x: 26.554697, y: -56.151283} + - {x: 16.204523, y: -58.054348} + - {x: 11.022343, y: -58.320366} + - {x: 6.139084, y: -56.933414} + - {x: 4.3861694, y: -54.665676} + - {x: 5.016903, y: -50.882164} + - {x: 11.077297, y: -49.115776} + - {x: 10.764069, y: -47.78274} + - {x: 6.1058426, y: -46.31515} - {x: 8.516571, y: -43.74309} - {x: 5.7218037, y: -42.103886} - {x: 1.0456238, y: -39.36118} @@ -457405,6 +457407,10 @@ PrefabInstance: propertyPath: m_IsActive value: 1 objectReference: {fileID: 0} + - target: {fileID: 5953355976663919699, guid: df01157608cce6447b7ccde0bfa290e1, type: 3} + propertyPath: m_IsActive + value: 0 + objectReference: {fileID: 0} - target: {fileID: 6165893904866732969, guid: df01157608cce6447b7ccde0bfa290e1, type: 3} propertyPath: m_Size.y value: 3.82