I'll build a full cosmetics system with 20 unlockable skins, per-map custom themes with unique hazards, and mode-specific rules.
Now the engine rewrite with skin rendering, per-map hazards, mode rules, minimap, kill feed, and random events:
Now the new App shell with the skin gallery, XP progression, map/mode pickers, kill feed, and event toasts:
Build clean at 93 KB gzipped. Let me update the design doc:
Everything builds cleanly at 93 KB gzipped. Here's what's new:
🎨 20 Cosmetic Skins (all earnable, none purchasable)
Each skin is procedurally drawn in canvas code with a unique body pattern, particle trail, glow strength, and name-tag glyph — and they render live in both the game and the locker preview grid.
- Common (4): Pulse Core, Halo Drift, Tigerbyte, Checkmate
- Rare (5): Bubblegum, Starlord, Cinder, Glacier, Circuit Rat
- Epic (6): Cosmonaut, The Watcher (blinks at you), Neon Lotus, Cogwork, Tsunami, Obsidian Edge
- Legendary (3): Duality, Hexforge, Vortex
- Mythic (2): Sovereign, Nullbyte (self-corrupting glitch texture)
20 distinct patterns and 12 trail types (sparks, flame, frost, rainbow, voidmist, lightning, petals, pixels…). Unlocked purely with lifetime XP, with a level 1–100 curve and a "NEW SKIN UNLOCKED" celebration on the results screen.
🗺️ 10 Maps — every one has its own complete custom theme
Neon Grid, Lava Pit, Ice Rink, Cosmic Void, Jungle Glow, Solar Flare, Tempest Deck, Toxic Works, Sakura Circuit, Event Horizon. Each defines its own palette, background gradient, grid, ring colours, pellet style, ambient drift, HUD accent, music mood — and a working hazard: burning lava, grip-killing ice, snaring vines, gravity wells, erupting acid geysers, wind gusts, blossom mines, and a mass-devouring black hole.
🕹️ 6 Modes with real, distinct rule-sets
FFA, Team Clash (friendly fire off, team score bar), Battle Royale (collapsing ring + zone damage + win detection), King of the Hill (contested-zone scoring), Survival (escalating waves), and Chaos Rush (1.6× pellets, 45% cooldowns). Each mode has its own accent colour and auto-selects a signature map — or toggle AUTO off for 60 map × mode combinations.
✨ New Features
- Random events every 20–32s: Food Frenzy, Meteor Shower (telegraphed impact rings), Shrink Ray, Rapid Dash
- Volatile food — huge reward that explodes if you're too small
- Revenge bonus — 1.75× bounty on whoever last killed you
- 4 power-ups: Shield, Speed, Magnet, Size Bomb (manual detonation on Q / 💣 button)
- Live kill feed, event toast banners, and a minimap with hazards and zone overlays
- Mouse-wheel zoom, dash-toward-cursor on click, XP/level bar, and a 5-toggle accessibility suite
Files built: src/game/skins.ts, src/game/theme.ts, src/game/engine.ts, src/App.tsx, README.md