From 42ab426befe9fa3a0820c9eb8843d73d67dcc504 Mon Sep 17 00:00:00 2001 From: Aurelien Gateau Date: Wed, 26 Jul 2023 23:11:23 +0200 Subject: [PATCH 1/2] Fix obstacle shadows not being drawn at the correct angle --- core/src/com/agateau/pixelwheels/obstacles/Obstacle.java | 1 - 1 file changed, 1 deletion(-) diff --git a/core/src/com/agateau/pixelwheels/obstacles/Obstacle.java b/core/src/com/agateau/pixelwheels/obstacles/Obstacle.java index cccf474d..97a2f96d 100644 --- a/core/src/com/agateau/pixelwheels/obstacles/Obstacle.java +++ b/core/src/com/agateau/pixelwheels/obstacles/Obstacle.java @@ -86,7 +86,6 @@ public void draw(Batch batch, ZLevel zLevel, Rectangle viewBounds) { mBodyRegionDrawer.draw(mBody, mRegion); } else { mBodyRegionDrawer.setBatch(batch); - mBodyRegionDrawer.setZ(-0.1f); mBodyRegionDrawer.drawShadow(mBody, mRegion); } } From 33976111eeca990ae533415b5cd4964f4fbf0f55 Mon Sep 17 00:00:00 2001 From: Aurelien Gateau Date: Wed, 26 Jul 2023 23:12:01 +0200 Subject: [PATCH 2/2] be: fix buildings showing under vehicles --- .../unreleased/Fixed-20230726-231254.yaml | 4 +++ android/assets/maps/be.tmx | 26 +++++++++---------- 2 files changed, 17 insertions(+), 13 deletions(-) create mode 100644 .changes/unreleased/Fixed-20230726-231254.yaml diff --git a/.changes/unreleased/Fixed-20230726-231254.yaml b/.changes/unreleased/Fixed-20230726-231254.yaml new file mode 100644 index 00000000..8be4bc68 --- /dev/null +++ b/.changes/unreleased/Fixed-20230726-231254.yaml @@ -0,0 +1,4 @@ +kind: Fixed +body: Obstacle shadows are now drawn on the bottom right of the obstacle, like the + rest of the game objects. +time: 2023-07-26T23:12:54.912928564+02:00 diff --git a/android/assets/maps/be.tmx b/android/assets/maps/be.tmx index b847e816..43f3ea8a 100644 --- a/android/assets/maps/be.tmx +++ b/android/assets/maps/be.tmx @@ -1,9 +1,9 @@ - + - eAHtmt1uHEUQhQdWAR7D0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