The nozzle blows no further than it sucks (t34)
With the cursor outside the reach circle, blown grains aim at the circle's edge in the cursor's direction instead of flying all the way to the cursor, and the blow preview stops there too. New test/t_nozzle.js and a play.py preview check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -4,6 +4,16 @@ 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-25: t34: the nozzle blows no further than it sucks (Claude Code, Codex)
|
||||
|
||||
- `toolBlow()` (`src/sim/vacuum.js`) aims at the capped point from `nozzle()` when the cursor is
|
||||
out of reach (thrown bars already did); `drawPreviews()` draws the blow brush there, in the blow
|
||||
colour rather than the out-of-reach red.
|
||||
- `test/t_nozzle.js`: aiming at 3x and 5x the reach lands sand within reach + 16 grains (brush and
|
||||
settling, measured 15); inside reach it still lands around the cursor. play.py: the preview
|
||||
sits at the capped point. `run_all.py --browser` ALL PASSED. Screenshot
|
||||
`shots/t34-blow-out-of-reach.png`.
|
||||
|
||||
## 2026-10-25: t21: a loaded world starts around the player first (Claude Code, Codex)
|
||||
|
||||
- Owner: "lets speed up the first load speed. load in areas around the player first".
|
||||
|
||||
Reference in New Issue
Block a user