harvest/game/resources
Forrest 9cb01f1ede Task #19: UFO model built from primitives
UFOs no longer reuse the crow's bird mesh. EnemySystem.build_ufo_mesh()
merges the mesh arrays of two CylinderMesh hull halves, a TorusMesh rim, a
hemisphere SphereMesh dome and eight small sphere lights into one ArrayMesh
(about 1.65 m across, -0.13..0.45 m about its origin), with per-part vertex
colors and (glow, metalness) in UV.

A second HordeRenderer (ufo_renderer) draws it with the new
game/resources/ufo.gdshader: albedo from COLOR, no flap, a slow spin and bob
with a per-enemy phase, chasing rim lights, and the bird shader's hit flash
(INSTANCE_CUSTOM.g) and night_glow. Both batches mirror the dense slots
(write_new, move_slot, clear), and commit_render scales each slot to nothing
in the batch that doesn't draw its type. DayNight now takes a list of enemy
materials and sets night_glow on both.

UFOs get their own arrival cue (kenney/digital/powerUp2.ogg, previously
unused) instead of the crow's caw. HordeRenderer.is_drawn() backs the new
test_roster checks: a UFO is drawn by the UFO batch only, a crow by the
bird batch only, a thief by neither, also after a swap-removal; and the
saucer's size and centering.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 12:55:14 -04:00
..
nights Task #15 follow-up: shrink night 5's UFO group to a modest 7 2026-10-05 14:46:55 -04:00
scenarios Task #15: UFO enemy, a fast flying fighter 2026-10-05 14:43:46 -04:00
audio_buses.tres updates 2026-10-04 12:07:36 -04:00
breaker_animations.res updates 2026-10-04 12:07:36 -04:00
enemy_overlay.gdshader updates 2026-10-04 12:07:36 -04:00
enemy_overlay.gdshader.uid updates 2026-10-04 12:07:36 -04:00
fear_burst.gdshader updates 2026-10-04 12:07:36 -04:00
fear_burst.gdshader.uid updates 2026-10-04 12:07:36 -04:00
game_config.tres Merge task #9: Workbench arrives after Night 1, targetable, repair-only 2026-10-05 16:47:05 -04:00
hp_bar.gdshader updates 2026-10-04 12:07:36 -04:00
hp_bar.gdshader.uid updates 2026-10-04 12:07:36 -04:00
loot_icon.gdshader updates 2026-10-04 12:07:36 -04:00
loot_icon.gdshader.uid updates 2026-10-04 12:07:36 -04:00
player_animations.res updates 2026-10-04 12:07:36 -04:00
steal_ring.gdshader updates 2026-10-04 12:07:36 -04:00
steal_ring.gdshader.uid updates 2026-10-04 12:07:36 -04:00
thief.gdshader updates 2026-10-04 12:07:36 -04:00
thief.gdshader.uid updates 2026-10-04 12:07:36 -04:00
ufo.gdshader Task #19: UFO model built from primitives 2026-10-06 12:55:14 -04:00
ufo.gdshader.uid Task #19: UFO model built from primitives 2026-10-06 12:55:14 -04:00
ui_theme.tres updates 2026-10-04 12:07:36 -04:00