fertig-classic-games/data
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
..
crosswords Major Port 2026-06-28 19:27:29 -06:00
wordlists Major Port 2026-06-28 19:27:29 -06:00
advancewars-artwork.json feat(advancewars): add HP text display to battle animations and procedural cursor 2026-07-19 19:04:14 -06:00
advancewars-campaign.json feat(advance-wars): add unit progression system with mission-based unlocks 2026-07-19 10:55:18 -06:00
advancewars-rules.json feat(advance-wars): add contextual battle and movement sound effects 2026-07-19 17:44:18 -06:00
adventure-music.json feat: add Advance Wars turn-based tactics game 2026-07-19 09:43:58 -06:00
arcadedark-music.json feat: add per-game soundtracks for multiple games 2026-07-18 17:21:32 -06:00
balatro-artwork.json Balatro All remaining Icons 2026-07-11 13:07:56 -06:00
blockfighter.json Major Port 2026-06-28 19:27:29 -06:00
bloxorz.json feat: overhaul Bloxorz rendering, mechanics, and level design; update Total Annihilation visuals 2026-07-25 14:50:23 -06:00
bookwork.json Major Port 2026-06-28 19:27:29 -06:00
card-backs.json Major Port 2026-06-28 19:27:29 -06:00
chinese-music.json feat: add Goo Tower game with physics engine, 12 levels, and editor 2026-07-26 10:22:25 -06:00
civilization-artwork.json feat: add Total Annihilation game with campaign, AI, and full engine 2026-07-24 20:57:40 -06:00
civilization-rules.json feat(civ): AI-initiated diplomacy with frustration escalation 2026-07-23 16:26:15 -06:00
colorado-defense-cities.json feat(peggle): overhaul 7 powers with enhanced mechanics, visuals, and audio 2026-07-13 17:50:24 -06:00
colored-playfields.json Major Port 2026-06-28 19:27:29 -06:00
dotlink.json Major Port 2026-06-28 19:27:29 -06:00
dungeonboss-artwork.json More adjustments 2026-07-04 17:48:34 -06:00
hacker-music.json feat: add per-game soundtracks for multiple games 2026-07-18 17:21:32 -06:00
jewelquest.json Major Port 2026-06-28 19:27:29 -06:00
jumble-riddles.json feat: add Jumble word puzzle game with 58 curated levels 2026-06-30 19:42:57 -06:00
jumble.json feat: add Jumble word puzzle game with 58 curated levels 2026-06-30 19:42:57 -06:00
katamino.json Major Port 2026-06-28 19:27:29 -06:00
music.json feat: add per-game soundtrack system and Nintendo music for Super Kart 2026-07-18 16:53:49 -06:00
nintendo-music.json feat(tetrisattack): add optional character voice reactions and adjust BGM volume 2026-07-22 21:06:03 -06:00
opponents.json feat: add Total Annihilation game with campaign, AI, and full engine 2026-07-24 20:57:40 -06:00
playfields.json feat: add default playfields for board games and new combat theme 2026-07-05 19:21:50 -06:00
puddingmonsters.json feat: pudding monsters waves 1-3, mahjong match FX, background art 2026-07-26 01:27:36 -06:00
rushhour.json Major Port 2026-06-28 19:27:29 -06:00
shift-artwork.json fix: remove leading slashes from asset paths in config and markdown 2026-06-28 21:00:15 -06:00
slots-artwork.json fix: remove leading slashes from asset paths in config and markdown 2026-06-28 21:00:15 -06:00
spireclimb-artwork.json fix: remove leading slashes from asset paths in config and markdown 2026-06-28 21:00:15 -06:00
star-control-ships.json refactor: improve Star Control ship rendering and ship picker UX 2026-07-15 11:45:08 -06:00
superkart-artwork.json feat: add per-game soundtrack system and Nintendo music for Super Kart 2026-07-18 16:53:49 -06:00
superkart-racers.json feat(superkart): add beach theme and AI rubber-banding 2026-07-17 23:45:46 -06:00
superkart-rules.json feat(superkart): add missed-checkpoint correction for shortcut detection 2026-07-22 13:00:12 -06:00
swdbg-artwork.json feat(swdbg): overhaul card data from physical set transcription 2026-07-08 22:07:48 -06:00
swdbg-cards.json feat(swdbg): overhaul card data from physical set transcription 2026-07-08 22:07:48 -06:00
tetrisattack-artwork.json feat: enhance Advance Wars replay HP display and terrain rendering, add Tetris Attack host backgrounds 2026-07-20 23:20:58 -06:00
tetrisattack-puzzles.json feat: add Tetris Attack (Panel de Pon) with endless, stage clear, and puzzle modes 2026-07-20 00:04:26 -06:00
tetrisattack.json feat(civilization): add japanese city theme and improve world generation 2026-07-22 23:48:41 -06:00
totalannihilation-artwork.json Terrain Sprites for Total Annihilation 2026-07-26 14:14:20 -06:00
totalannihilation-campaign.json feat(totalannihilation): add victory conditions, new defensive towers, and combat improvements 2026-07-25 08:23:11 -06:00
totalannihilation-rules.json feat(total-annihilation): add rocket trooper, constructor, and advanced vehicle plant 2026-07-25 19:52:26 -06:00
zuma-music.json Add tunnels to Zuma: editor, engine, art, and audio 2026-07-28 17:20:11 -06:00
zuma.json Add tunnels to Zuma: editor, engine, art, and audio 2026-07-28 17:20:11 -06:00