World sounds are heard in a radius around the bot, not the view
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -4,6 +4,18 @@ What agents have done, newest first. Add an entry for every piece of work: the d
|
||||
note or request it was for, what changed, the files touched, the tests run, and anything left
|
||||
open or not verified. Keep each entry short; the git history has the details.
|
||||
|
||||
## 2026-10-23: world sounds are heard around the bot, not the view (Claude Code)
|
||||
|
||||
Note: "the sound effect is still heard when the player's zoom level is farther out… sounds
|
||||
shouldnt be heard based on the viewport, but rather in a radius from the player."
|
||||
|
||||
- `src/ui/audio.js` `sfxPlace`: gain from the distance to the bot's centre (full within 24
|
||||
grains, silent at 96), pan from the horizontal offset; zoom no longer matters.
|
||||
- `test/play.py`: the audio checks use points relative to the bot; a new check zooms out to 2
|
||||
and plays a visible sizzle 200 grains away: silent (it played before). `play.py` and all 11
|
||||
headless suites pass. `docs/DESIGN.md`.
|
||||
- Open: nothing.
|
||||
|
||||
## 2026-10-23: F on an ingot mold does nothing and says nothing (Claude Code)
|
||||
|
||||
Note: "now that ingot molds empty themselves, F still makes a message…"
|
||||
|
||||
Reference in New Issue
Block a user