Rock: replace cluster-piece tiles with standalone single-tile boulders

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) <noreply@anthropic.com>
This commit is contained in:
megaproxy 2026-05-12 14:25:13 +01:00
parent 2de5130ae0
commit 725d3fb701

View file

@ -28,14 +28,23 @@ var mine_progress: int = 0
const ITEM_SCENE: PackedScene = preload("res://scenes/entities/item.tscn") const ITEM_SCENE: PackedScene = preload("res://scenes/entities/item.tscn")
## Rock sprite atlas — re-uses the Grasslands tileset (already imported for the ## Rock sprite atlas — re-uses the Grasslands tileset (already imported for the
## decoration overlay). The three coords below were eyeballed from the ## decoration overlay). These coords pick standalone single-tile boulders from
## /tmp/rocks_review.png probe in the 2026-05-12 visual pass: two gray boulders ## the rock band (x=16..29, y=3 and y=5) — chosen because each has a clean
## and one brown rock for variety. ## 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_TEX: Texture2D = preload("res://art/tiles/FG_Grasslands_Spring.png")
const _ROCK_VARIANT_COORDS: Array[Vector2i] = [ const _ROCK_VARIANT_COORDS: Array[Vector2i] = [
Vector2i(24, 7), # gray boulder A Vector2i(16, 3), # brown round, medium
Vector2i(28, 7), # gray boulder B Vector2i(20, 3), # brown peaked, smaller
Vector2i(12, 13), # brown rock pile Vector2i(16, 5), # brown squat, low
Vector2i(24, 3), # gray round, medium
Vector2i(28, 3), # gray peaked, smaller
Vector2i(24, 5), # gray squat, low
] ]