fertig-classic-games/assets/fx
Brian Fertig 10165547ae Add tunnels to Zuma: editor, engine, art, and audio
Introduce underground tunnel sections to Zuma levels, letting the
chain roll out of sight and back in. Tunnels are arc-length intervals
on the path; while a ball is submerged it is inert — ignored by shots,
the laser sight, and explosions — and the path itself is drawn as a
faint buried trace beneath any live section that crosses it.

Engine (ZumaLogic.js): TUNNEL constants, normalizeTunnels, isHidden,
visibilityAt, pathSpans, sampleRange, nearestS; createLevel,
syncPositions, applyPower, stepFlights, and rayHit all honour
submersion. validateLevel lints mouth placement, spacing, and the
40% max-hidden fraction.

Game (ZumaGame.js): depth layer reorg so a live path always wins an
overlap with a tunnel stone; addPortal draws the two-layer maw (stone
below the chain, mouth above it); drawPit replaces the old skull with
a broken-stone collar and vapour swirl; startPitFall rolls the lost
chain over the lip in order, shrinking marbles into the dark; the
level-start fanfare ducks the soundtrack via MusicPlayer pause/resume.

Editor (ZumaEditor.js): new Tunnels tool with click-to-place,
drag-to-slide, right-click-to-remove, ESC-to-cancel; three graphics
layers (buried path, live path, handles) matching the game's
stacking; queueGameAssets so editor Test Play has the lazy art ready.

Art: ZumaPortal.js (carved serpent-head maw, symmetric so one
texture serves both ends) and ZumaPit.js (shaft of darkening discs
read as depth, not a painted circle).

Audio: four Zuma SFX (shoot, hit, start, explode) and a three-track
soundtrack wired through data/zuma-music.json and the asset manifest;
genZuma.js gains a tunnels column (fractions of path length) and
verifyZuma.js gains a tunnel test suite.
2026-07-28 17:20:11 -06:00
..
tetrisattack Added voices for Tetris Attack 2026-07-26 11:54:04 -06:00
8bit-action.mp3 Major Port 2026-06-28 19:27:29 -06:00
8bit-activate.mp3 Major Port 2026-06-28 19:27:29 -06:00
8bit-card.mp3 Major Port 2026-06-28 19:27:29 -06:00
8bit-count.mp3 feat(coloradodefense): add chain reactions, inter-wave recap, vector skyline, and curved CRT 2026-07-13 19:52:55 -06:00
8bit-explode.mp3 feat(coloradodefense): add chain reactions, inter-wave recap, vector skyline, and curved CRT 2026-07-13 19:52:55 -06:00
8bit-explode2.mp3 feat(coloradodefense): add chain reactions, inter-wave recap, vector skyline, and curved CRT 2026-07-13 19:52:55 -06:00
8bit-jump.mp3 feat(advance-wars): add contextual battle and movement sound effects 2026-07-19 17:44:18 -06:00
8bit-lose.mp3 Major Port 2026-06-28 19:27:29 -06:00
8bit-move.mp3 Major Port 2026-06-28 19:27:29 -06:00
8bit-select.mp3 Major Port 2026-06-28 19:27:29 -06:00
8bit-win.mp3 Major Port 2026-06-28 19:27:29 -06:00
battle-arrows.mp3 feat(civilization): add battle sound effects for unit combat 2026-07-17 13:03:26 -06:00
battle-cannon.mp3 feat(civilization): add battle sound effects for unit combat 2026-07-17 13:03:26 -06:00
battle-catapult.mp3 feat(civilization): add battle sound effects for unit combat 2026-07-17 13:03:26 -06:00
battle-gunfire-classic.mp3 feat(civilization): add battle sound effects for unit combat 2026-07-17 13:03:26 -06:00
battle-gunfire-modern.mp3 feat(civilization): add battle sound effects for unit combat 2026-07-17 13:03:26 -06:00
battle-helicopter.mp3 feat(civilization): add battle sound effects for unit combat 2026-07-17 13:03:26 -06:00
battle-missle.mp3 feat(civilization): add battle sound effects for unit combat 2026-07-17 13:03:26 -06:00
battle-submarine.mp3 feat(civilization): add battle sound effects for unit combat 2026-07-17 13:03:26 -06:00
battle-sword.mp3 feat(civilization): add battle sound effects for unit combat 2026-07-17 13:03:26 -06:00
battle-tank.mp3 feat(advance-wars): add contextual battle and movement sound effects 2026-07-19 17:44:18 -06:00
battleship-hit.mp3 Major Port 2026-06-28 19:27:29 -06:00
battleship-launch.mp3 Major Port 2026-06-28 19:27:29 -06:00
battleship-miss.mp3 Major Port 2026-06-28 19:27:29 -06:00
bingo-balls.mp3 Major Port 2026-06-28 19:27:29 -06:00
card-deal.mp3 Major Port 2026-06-28 19:27:29 -06:00
card-place.mp3 Major Port 2026-06-28 19:27:29 -06:00
card-show.mp3 Major Port 2026-06-28 19:27:29 -06:00
card-shuffle.mp3 Major Port 2026-06-28 19:27:29 -06:00
casino-blackjack.mp3 Major Port 2026-06-28 19:27:29 -06:00
casino-lose.mp3 Major Port 2026-06-28 19:27:29 -06:00
casino-win.mp3 Major Port 2026-06-28 19:27:29 -06:00
chip-bet.mp3 Major Port 2026-06-28 19:27:29 -06:00
click.mp3 feat(tetrisattack): add Panel de Pon-style tile clear animation and update assets 2026-07-22 18:40:26 -06:00
coins.mp3 Major Port 2026-06-28 19:27:29 -06:00
countdown-01.mp3 Major Port 2026-06-28 19:27:29 -06:00
countdown-02.mp3 Major Port 2026-06-28 19:27:29 -06:00
dice-roll.mp3 Major Port 2026-06-28 19:27:29 -06:00
energy-hum.mp3 feat(balatro): add hover tooltips, scoring hum, and chip shake 2026-07-10 15:46:49 -06:00
engine-fast.mp3 feat(superkart): add post-race victory cam, engine audio, and polished results screens 2026-07-18 15:24:49 -06:00
engine-heavy.mp3 feat(superkart): add post-race victory cam, engine audio, and polished results screens 2026-07-18 15:24:49 -06:00
engine-medium.mp3 feat(superkart): add post-race victory cam, engine audio, and polished results screens 2026-07-18 15:24:49 -06:00
engine-rev.mp3 feat(superkart): add post-race victory cam, engine audio, and polished results screens 2026-07-18 15:24:49 -06:00
engine-start.mp3 feat(superkart): add post-race victory cam, engine audio, and polished results screens 2026-07-18 15:24:49 -06:00
firework.mp3 Major Port 2026-06-28 19:27:29 -06:00
gem-01.mp3 Major Port 2026-06-28 19:27:29 -06:00
gem-02.mp3 Major Port 2026-06-28 19:27:29 -06:00
gem-04.mp3 Major Port 2026-06-28 19:27:29 -06:00
gem-05.mp3 Major Port 2026-06-28 19:27:29 -06:00
gem-big-drop.mp3 Major Port 2026-06-28 19:27:29 -06:00
gem-chain.mp3 Major Port 2026-06-28 19:27:29 -06:00
gem-drop.mp3 Major Port 2026-06-28 19:27:29 -06:00
jello-monsters.mp3 Major Port 2026-06-28 19:27:29 -06:00
kart-coin.mp3 feat(superkart): add post-race victory cam, engine audio, and polished results screens 2026-07-18 15:24:49 -06:00
kart-flatten.mp3 Update audio 2026-07-18 15:24:59 -06:00
kart-hit.mp3 feat(superkart): add post-race victory cam, engine audio, and polished results screens 2026-07-18 15:24:49 -06:00
kart-shell.mp3 feat(superkart): add post-race victory cam, engine audio, and polished results screens 2026-07-18 15:24:49 -06:00
kart-shrink.mp3 feat(superkart): add post-race victory cam, engine audio, and polished results screens 2026-07-18 15:24:49 -06:00
kart-spin.mp3 feat(superkart): add post-race victory cam, engine audio, and polished results screens 2026-07-18 15:24:49 -06:00
kart-spinner.mp3 feat: add per-game soundtrack system and Nintendo music for Super Kart 2026-07-18 16:53:49 -06:00
kart-star.mp3 feat(superkart): add post-race victory cam, engine audio, and polished results screens 2026-07-18 15:24:49 -06:00
kart-thump.mp3 feat(superkart): add post-race victory cam, engine audio, and polished results screens 2026-07-18 15:24:49 -06:00
laser-zap.mp3 feat(peggle): overhaul 7 powers with enhanced mechanics, visuals, and audio 2026-07-12 15:29:55 -06:00
march.mp3 feat(advance-wars): add contextual battle and movement sound effects 2026-07-19 17:44:18 -06:00
mastermind-access-denied.mp3 Major Port 2026-06-28 19:27:29 -06:00
mastermind-access-granted.mp3 Major Port 2026-06-28 19:27:29 -06:00
mastermind-calculate.mp3 Major Port 2026-06-28 19:27:29 -06:00
mastermind-color.mp3 Major Port 2026-06-28 19:27:29 -06:00
mastermind-glitch-01.mp3 Major Port 2026-06-28 19:27:29 -06:00
mastermind-glitch-02.mp3 Major Port 2026-06-28 19:27:29 -06:00
mastermind-match.mp3 Major Port 2026-06-28 19:27:29 -06:00
mastermind-place.mp3 Major Port 2026-06-28 19:27:29 -06:00
monopoly-expense.mp3 Major Port 2026-06-28 19:27:29 -06:00
monopoly-paid.mp3 Major Port 2026-06-28 19:27:29 -06:00
monopoly-pay.mp3 Major Port 2026-06-28 19:27:29 -06:00
monopoly-purchase.mp3 Major Port 2026-06-28 19:27:29 -06:00
pencil-write.mp3 Major Port 2026-06-28 19:27:29 -06:00
piece-click.mp3 Major Port 2026-06-28 19:27:29 -06:00
purchase.mp3 Major Port 2026-06-28 19:27:29 -06:00
rewind.mp3 feat(peggle): overhaul 7 powers with enhanced mechanics, visuals, and audio 2026-07-12 15:29:55 -06:00
roulette.mp3 Major Port 2026-06-28 19:27:29 -06:00
scifi-explode.mp3 Major Port 2026-06-28 19:27:29 -06:00
scifi-launch.mp3 Major Port 2026-06-28 19:27:29 -06:00
scifi-plink.mp3 Major Port 2026-06-28 19:27:29 -06:00
scifi-plonk.mp3 Major Port 2026-06-28 19:27:29 -06:00
scifi-reveal.mp3 Major Port 2026-06-28 19:27:29 -06:00
scifi-riser.mp3 Major Port 2026-06-28 19:27:29 -06:00
scifi-woosh.mp3 Major Port 2026-06-28 19:27:29 -06:00
squash.mp3 Major Port 2026-06-28 19:27:29 -06:00
squish.mp3 Major Port 2026-06-28 19:27:29 -06:00
sw-dark-1.mp3 feat(swdbg): rework TIE Fighter, Vader, Cassian, Luke; add capital gate & force SFX 2026-07-07 21:15:58 -06:00
sw-dark-2.mp3 feat(swdbg): rework TIE Fighter, Vader, Cassian, Luke; add capital gate & force SFX 2026-07-07 21:15:58 -06:00
sw-dark-3.mp3 feat(swdbg): rework TIE Fighter, Vader, Cassian, Luke; add capital gate & force SFX 2026-07-07 21:15:58 -06:00
sw-light-1.mp3 feat(swdbg): rework TIE Fighter, Vader, Cassian, Luke; add capital gate & force SFX 2026-07-07 21:15:58 -06:00
sw-light-2.mp3 feat(swdbg): rework TIE Fighter, Vader, Cassian, Luke; add capital gate & force SFX 2026-07-07 21:15:58 -06:00
sw-light-3.mp3 feat(swdbg): rework TIE Fighter, Vader, Cassian, Luke; add capital gate & force SFX 2026-07-07 21:15:58 -06:00
sword-hit.mp3 Major Port 2026-06-28 19:27:29 -06:00
sword-slice.mp3 Major Port 2026-06-28 19:27:29 -06:00
ta-50cal.mp3 feat(total-annihilation): polish visuals, audio, and game balance 2026-07-25 19:51:25 -06:00
ta-machinegun.mp3 feat(total-annihilation): polish visuals, audio, and game balance 2026-07-25 19:51:25 -06:00
ta-nuclear.mp3 feat(gootower): replace sky drawing with background image asset 2026-07-26 15:37:31 -06:00
ta-rocket-1.mp3 feat(total-annihilation): polish visuals, audio, and game balance 2026-07-25 19:51:25 -06:00
ta-rocket-2.mp3 feat(total-annihilation): polish visuals, audio, and game balance 2026-07-25 19:51:25 -06:00
ta-unit-loss.mp3 feat(total-annihilation): polish visuals, audio, and game balance 2026-07-25 19:51:25 -06:00
ta-vehicle-loss.mp3 feat(total-annihilation): polish visuals, audio, and game balance 2026-07-25 19:51:25 -06:00
ui-activate.mp3 Major Port 2026-06-28 19:27:29 -06:00
ui-attach.mp3 Major Port 2026-06-28 19:27:29 -06:00
ui-chime.mp3 Major Port 2026-06-28 19:27:29 -06:00
ui-flip.mp3 Major Port 2026-06-28 19:27:29 -06:00
ui-pick.mp3 Major Port 2026-06-28 19:27:29 -06:00
ui-place.mp3 Major Port 2026-06-28 19:27:29 -06:00
victory-short.mp3 Major Port 2026-06-28 19:27:29 -06:00
water-dry.mp3 Major Port 2026-06-28 19:27:29 -06:00
water-raise.mp3 Major Port 2026-06-28 19:27:29 -06:00
water-sink.mp3 Major Port 2026-06-28 19:27:29 -06:00
water-splash.mp3 Major Port 2026-06-28 19:27:29 -06:00
woosh.mp3 Major Port 2026-06-28 19:27:29 -06:00
zuma-explode.mp3 Add tunnels to Zuma: editor, engine, art, and audio 2026-07-28 17:20:11 -06:00
zuma-hit.mp3 Add tunnels to Zuma: editor, engine, art, and audio 2026-07-28 17:20:11 -06:00
zuma-shoot.mp3 Add tunnels to Zuma: editor, engine, art, and audio 2026-07-28 17:20:11 -06:00
zuma-start.mp3 Add tunnels to Zuma: editor, engine, art, and audio 2026-07-28 17:20:11 -06:00
zuma-win.mp3 Add tunnels to Zuma: editor, engine, art, and audio 2026-07-28 17:20:11 -06:00