Now I'll build the game. Starting with the HTML shell (fonts + title) and the global stylesheet.
Now the world-building palette — sky zones that evolve as the tower climbs.
Now the synthesized sound kit — all SFX generated with Web Audio, no audio files needed.
Now the core engine — isometric canvas renderer, physics, particles, camera, autopilot attract mode, and full game logic.
Engine fixed. Now the HUD — score, combo, zone tracker, velocity meter.
Now the overlays — title menu, game-over stats panel, and pause.
Now the App shell that wires canvas, engine, input, and overlays together.
Fixing the duplicated pause logic in the keyboard handler.
Build succeeded. Let me apply a few polish refinements: remove a dead code hook, prevent ambient comet sounds during the menu attract mode, and add click-anywhere-to-restart on the game-over backdrop.
Final build to verify everything compiles cleanly.
Build clean. ZENITH is complete — a fully polished isometric ("2D-like 3D") tower stacking game.
What was built
The Game (Canvas 2.5D engine, custom isometric renderer)
- Slabs slide alternately along X/Z axes — tap, click, or SPACE to drop
- Precision cut physics: overhangs shear off as tumbling debris with rotation + gravity
- PERFECT drops snap into place with a white flash, shockwave ring, spark burst, and a rising pentatonic chime; streaks of 4+ grow your slab back
- Speed ramps with altitude; one-button input on pointer, keyboard, or touch
Stylized World-Building
- Six altitude zones with smoothly interpolated skies: ROOFTOPS → CLOUDLINE → TWILIGHT → STARFALL → DEEP ORBIT → THE VOID
- A setting sun that sinks as you climb, a cratered moon you rise past, twinkling starfield, aurora ribbons at extreme altitude
- Parallax city skylines with lit windows, drifting clouds you physically pierce, a glowing street-lit plaza with an iso grid at the base
- The tower itself cycles through the spectrum block-by-block, becoming a rainbow obelisk
Filled & Active UI
- Ticking odometer score, BEST chip, combo pill with flame tiers, vertical ZONE tracker with progress fill, live VELOCITY meter driven by rAF (zero re-renders), stat chips, pulsing control hint
- Animated zone-entry banners with shimmer typography and shooting-star comets
Stimulation
- Fully synthesized Web Audio SFX (no assets): thuds, slices, combo arpeggios, comet whooshes, game-over rumble
- Juice everywhere: spring-physics camera, trauma-based screen shake, motion-ghost trails, live overlap guide, squash-on-land animation
Polish on Everything
- Attract mode: an AI autopilot plays the game behind the title menu
- Game-over stats panel (height, best, perfects, max combo, zone reached) with NEW RECORD badge, click-anywhere restart
- Pause (P/Esc + button, auto-pauses when the tab hides), persistent best/games/mute via localStorage
- DPR-aware crisp rendering, vignette + film grain overlays, Lucide icons throughout, Google font trio (Unbounded / Space Grotesk / JetBrains Mono)
Files built: index.html, src/index.css, src/game/palette.ts, src/game/audio.ts, src/game/engine.ts, src/ui/HUD.tsx, src/ui/Overlays.tsx, src/App.tsx