From 4a91d91822d43077b2c5ac5e653145aabe50aad9 Mon Sep 17 00:00:00 2001 From: jwinterm Date: Sat, 11 Jul 2026 14:16:10 -0400 Subject: [PATCH] fix(iso): face the direction of visual movement (Kenney 45deg renders 0=NW..6=NE) Male_0..7 are 45-degree renders (viewed: 0=NW, 2=SW, 4=SE, 6=NE). In this iso projection grid up->NE, down->SW, left->NW, right->SE, so map facing to the visual movement direction. Applies to both iso packs (shared characters). --- html/js/render/assetPacks.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/html/js/render/assetPacks.js b/html/js/render/assetPacks.js index 635155d..6c27c62 100644 --- a/html/js/render/assetPacks.js +++ b/html/js/render/assetPacks.js @@ -281,12 +281,14 @@ }, // The Kenney files named Male_0..Male_7 are directional renders of the same body, // not different character classes. The customizer exposes one honest Iso body for now. - character: isoMale(3), + // Kenney Male_0..7 are 45° renders (0=NW, 2=SW, 4=SE, 6=NE). In this iso projection a grid + // step moves visually: up->NE, down->SW, left->NW, right->SE — so face the way you move. + character: isoMale(2), directions: { - down: isoMale(3), - up: isoMale(7), - left: isoMale(0), - right: isoMale(5) + down: isoMale(2), // SW (down-left) + up: isoMale(6), // NE (up-right) + left: isoMale(0), // NW (up-left) + right: isoMale(4) // SE (down-right) }, characters: { fallback: isoMale(3),