harvest/prototype/scripts
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
..
arena.gd init 2026-10-03 12:14:28 -04:00
arena.gd.uid init 2026-10-03 12:14:28 -04:00
arena_layout.gd init 2026-10-03 12:14:28 -04:00
arena_layout.gd.uid init 2026-10-03 12:14:28 -04:00
arena_navigation.gd init 2026-10-03 12:14:28 -04:00
arena_navigation.gd.uid init 2026-10-03 12:14:28 -04:00
asset_catalog.gd init 2026-10-03 12:14:28 -04:00
asset_catalog.gd.uid init 2026-10-03 12:14:28 -04:00
benchmark_runner.gd init 2026-10-03 12:14:28 -04:00
benchmark_runner.gd.uid init 2026-10-03 12:14:28 -04:00
camera_rig.gd init 2026-10-03 12:14:28 -04:00
camera_rig.gd.uid init 2026-10-03 12:14:28 -04:00
chase_behavior.gd init 2026-10-03 12:14:28 -04:00
chase_behavior.gd.uid init 2026-10-03 12:14:28 -04:00
horde_renderer.gd Task #19: UFO model built from primitives 2026-10-06 12:55:14 -04:00
horde_renderer.gd.uid init 2026-10-03 12:14:28 -04:00
horde_system.gd init 2026-10-03 12:14:28 -04:00
horde_system.gd.uid init 2026-10-03 12:14:28 -04:00
perf_stats.gd init 2026-10-03 12:14:28 -04:00
perf_stats.gd.uid init 2026-10-03 12:14:28 -04:00
player_controller.gd init 2026-10-03 12:14:28 -04:00
player_controller.gd.uid init 2026-10-03 12:14:28 -04:00
player_input.gd init 2026-10-03 12:14:28 -04:00
player_input.gd.uid init 2026-10-03 12:14:28 -04:00
projectile_system.gd init 2026-10-03 12:14:28 -04:00
projectile_system.gd.uid init 2026-10-03 12:14:28 -04:00
prototype_config.gd init 2026-10-03 12:14:28 -04:00
prototype_config.gd.uid init 2026-10-03 12:14:28 -04:00
prototype_hud.gd init 2026-10-03 12:14:28 -04:00
prototype_hud.gd.uid init 2026-10-03 12:14:28 -04:00
round_controller.gd init 2026-10-03 12:14:28 -04:00
round_controller.gd.uid init 2026-10-03 12:14:28 -04:00
scripted_input.gd init 2026-10-03 12:14:28 -04:00
scripted_input.gd.uid init 2026-10-03 12:14:28 -04:00
spatial_grid.gd init 2026-10-03 12:14:28 -04:00
spatial_grid.gd.uid init 2026-10-03 12:14:28 -04:00
weapon_controller.gd init 2026-10-03 12:14:28 -04:00
weapon_controller.gd.uid init 2026-10-03 12:14:28 -04:00