harvest/assets/audio/CREDITS.md
Forrest a0aee34e3c Task #18: Alien Ray fires a beam
The Alien Ray is now a held beam instead of a copy of the potato shot.
While fire is held it ticks every alien_ray_tick_interval (0.15 s). Each
tick traces a path from the scarecrow's center through the muzzle and on
alien_ray_range (20 m) past it, cut short at the first wall
(AlienBeam.trace on the world layer). It damages every enemy within
alien_ray_width / 2 (0.25 m) plus its hit radius of that path, flyers
included as with shots, nearest first, up to alien_ray_pierce (4), for
alien_ray_damage (1). That is about 6.7 damage a second per enemy on the
beam. Hits stay inside combat.step, so enemies.attacker credits kills.

- EnemySystem.path_hits: every enemy along a polyline, ordered along it,
  with flat ends (nothing behind the scarecrow or past the wall).
  sweep_hit is unchanged.
- AlienBeam: a WeaponModels held effect (hold 1.5 ticks, no fade). It is
  an unshaded HDR green core and glow, a muzzle light, and a flare where a
  wall stops it. Each frame it lays itself out from the muzzle along the
  model's -Z, with the same trace, so the partner's machine recomputes the
  wall clip locally. No protocol change.
- Counters: a beam_ticks counter joins attacks(), and ray ticks no
  longer count as shots_fired.
- Config: alien_ray_speed, alien_ray_lifetime and alien_ray_cooldown are
  removed. alien_ray_range, _width, _tick_interval and _pierce are added.
  The shop text says what it does now. Cost and hidden/reveal are
  unchanged.
- Sound: a zapped signal and a "zap" cue (synth alien_beam.wav, its own
  seed). The other synth files regenerate byte-identical.

Tests (test_weapons) replace the projectile-travel ray check and keep
buy/equip:
- a far target is hit on the same step;
- nothing beside, behind or past the end is hit;
- two in line and a crow are all hit;
- a line is capped at pierce;
- a wall stops it, including a barrel poking through one;
- held ticks repeat and stop on release;
- the beam is lit only while held, ends at the wall clip, follows the
  model's yaw, and the replica and attack-event paths work.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 13:39:00 -04:00

36 lines
1.6 KiB
Markdown

# Harvest Season — audio credits
Every sound the game plays is listed by cue in `game/scripts/farm_audio.gd` (`FarmAudio.CUES`).
## Kenney (CC0)
Public domain (Creative Commons Zero, <http://creativecommons.org/publicdomain/zero/1.0/>), by
Kenney Vleugels (<https://kenney.nl>). Downloaded 2026-10-03; only the files the game uses were
copied, unchanged, with each pack's `License.txt`.
| Folder | Pack | Source |
|---|---|---|
| `kenney/impact/` | Impact Sounds | <https://kenney.nl/assets/impact-sounds> |
| `kenney/interface/` | Interface Sounds | <https://kenney.nl/assets/interface-sounds> |
| `kenney/rpg/` | RPG Audio | <https://kenney.nl/assets/rpg-audio> |
| `kenney/ui/` | UI Audio | <https://kenney.nl/assets/ui-audio> |
| `kenney/digital/` | Digital Audio | <https://kenney.nl/assets/digital-audio> |
| `kenney/jingles/` | Music Jingles (pizzicato set) | <https://kenney.nl/assets/music-jingles> |
## Music
Provided by the project's owner (2026-10-03); check each source's license for the credit it asks
for before release.
| File | Track | Plays |
|---|---|---|
| `music/on_the_farm.wav` | "On the Farm" | Title screen, morning, day, the farmers' return |
| `music/purgatory.ogg` | DavidKBD, *Purgatory Pack*: "Purgatory" | Night |
## Made for the game
`synth/` is generated by `game/tools/synth_audio.gd` (deterministic, fixed seeds): the day and
night ambience loops, the crow caws and squawk, the farmers' car (engine loop and horn), the
pitchfork's whoosh, the pumpkin bomb's burst, the propane torch's roar, and the alien ray's hum.
Kenney's packs have no farm ambience, birds, vehicles, explosions, or fire. Re-run the tool to
regenerate them.