From 725d3fb701cedb0afc2f3d037c23265218a81147 Mon Sep 17 00:00:00 2001 From: megaproxy Date: Tue, 12 May 2026 14:25:13 +0100 Subject: [PATCH] Rock: replace cluster-piece tiles with standalone single-tile boulders MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The earlier coords (24,7), (28,7), (12,13) in FG_Grasslands_Spring.png are autotile interior pieces — clipping their 16×16 windows produces sprites that visibly continue beyond the tile edge, betraying the autotile cluster they were cut from. Replace with six clean single-tile boulders from the rock band (x=16..29 at y=3 and y=5). Each has a green margin on all four edges, so they read as proper standalone rocks. Two color families (brown + gray) × three sizes (round / peaked / squat) gives more visual variety than before too. Multi-tile big-boulder formations at (22..23, 3..4) brown and (30..31, 3..4) gray are noted in the comment for a future BigRock entity. Co-Authored-By: Claude Opus 4.7 (1M context) --- scenes/entities/rock.gd | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/scenes/entities/rock.gd b/scenes/entities/rock.gd index 7dbd9d2..2722ced 100644 --- a/scenes/entities/rock.gd +++ b/scenes/entities/rock.gd @@ -28,14 +28,23 @@ var mine_progress: int = 0 const ITEM_SCENE: PackedScene = preload("res://scenes/entities/item.tscn") ## Rock sprite atlas — re-uses the Grasslands tileset (already imported for the -## decoration overlay). The three coords below were eyeballed from the -## /tmp/rocks_review.png probe in the 2026-05-12 visual pass: two gray boulders -## and one brown rock for variety. +## decoration overlay). These coords pick standalone single-tile boulders from +## the rock band (x=16..29, y=3 and y=5) — chosen because each has a clean +## green margin on all four sides, so they read as separate small rocks rather +## than chunks of a tiled cluster. The earlier (24,7)/(28,7)/(12,13) coords +## were autotile interior pieces; replaced 2026-05-12 after the user flagged +## the obvious tile-cluster artifacts on small rocks. +## +## Multi-tile cluster formations live at (22..23, 3..4) brown and (30..31, 3..4) +## gray — those are reserved for the upcoming BigRock entity (2×2 boulder). const _ROCK_TEX: Texture2D = preload("res://art/tiles/FG_Grasslands_Spring.png") const _ROCK_VARIANT_COORDS: Array[Vector2i] = [ - Vector2i(24, 7), # gray boulder A - Vector2i(28, 7), # gray boulder B - Vector2i(12, 13), # brown rock pile + Vector2i(16, 3), # brown round, medium + Vector2i(20, 3), # brown peaked, smaller + Vector2i(16, 5), # brown squat, low + Vector2i(24, 3), # gray round, medium + Vector2i(28, 3), # gray peaked, smaller + Vector2i(24, 5), # gray squat, low ]