From 4bb00a798b5383b6c7bab5ece54950123a61b2b9 Mon Sep 17 00:00:00 2001 From: megaproxy Date: Sat, 16 May 2026 15:33:18 +0100 Subject: [PATCH] =?UTF-8?q?Pawn=20labels:=20shift=20NameLabel=20above=20th?= =?UTF-8?q?e=2032=C3=9732=20sprite?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit NameLabel was at y=-18 — sat right on top of the sprite head when the body grew from 12px disc to 32×32 character sprite. Bumped to y=-38 so the name floats above the sprite (which spans y=-24..+8). StateLabel at y=+10 unchanged — already just below sprite bottom. Also drop temporary atlas-idx audit log (debug-only, hash distribution confirmed Bram=004 / Cora=013 / Edda=001). --- scenes/pawn/pawn.gd | 1 - scenes/pawn/pawn.tscn | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/scenes/pawn/pawn.gd b/scenes/pawn/pawn.gd index b9f7ba0..2f4565e 100644 --- a/scenes/pawn/pawn.gd +++ b/scenes/pawn/pawn.gd @@ -258,7 +258,6 @@ func _mount_sprite() -> void: _sprite.show_behind_parent = true _sprite.play(&"idle_down") add_child(_sprite) - Audit.log("pawn_sprite", "%s → atlas idx %d" % [pawn_name, (absi(pawn_name.hash()) % _PEASANT_COUNT) + 1]) # ── public API ────────────────────────────────────────────────────────────── diff --git a/scenes/pawn/pawn.tscn b/scenes/pawn/pawn.tscn index 87e312b..1862d14 100644 --- a/scenes/pawn/pawn.tscn +++ b/scenes/pawn/pawn.tscn @@ -6,7 +6,7 @@ script = ExtResource("1_pawn") [node name="NameLabel" type="Label" parent="."] -position = Vector2(-20, -18) +position = Vector2(-20, -38) size = Vector2(40, 12) theme_override_font_sizes/font_size = 8 horizontal_alignment = 1