Give the laser its own voice, and let a body sound like its size
The laser was playing boom() — the BOMB — so the showiest weapon in the game sounded like the least showy one. zap() is its own: a highpassed crack, two detuned saws diving through a resonant lowpass, weight underneath so it lands on a phone speaker, and a triangle that rings after the plane has gone. The dive is the whole reading; a rising sweep is a charge-up and this thing never charges. And the NORMAL hit — ball meeting a body without killing it — was borrowing pock(), the racket thock. That is a bright, dry, stationary-band click: exactly right for gut on felt and exactly wrong for felt on a torso, which is why hitting a zombie sounded like hitting a wall. thud() falls instead of sitting still, which is where the wetness comes from, with one quiet bright tick just behind the slap: something gave. The machine keeps its pock — it is furniture and it rings. Both thud() and splat() now take a size, zombieH/1.8, so 1 is a shambler, 1.5 a brute and 2.04 a chapter-4 boss. Everything pitches down and lengthens with it. Measured through a patched AudioParam rather than assumed: the body thump under a hit runs 150 Hz on a shambler, 100 on a brute, 59 on the boss. splat() got the same treatment while I was in there — a resonant band collapsing down the spectrum instead of a plain lowpass, plus a second brighter burst a beat later. One clean hit is a thud; a thud followed by spatter is a body. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0c12157702
commit
5a4c6e4359
4 files changed
+126
-23
No files matched your search
+1
-1
@@ -184,6 +184,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="module" src="main.js?v=117"></script>
|
||||
<script type="module" src="main.js?v=118"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user