Good feedback. I'll widen hitboxes to full-body, speed up charging, rebalance difficulty down, and add an ability + upgrade system. Starting with the engine's types, tuning constants, and new state.
Now removing the old duplicate declarations:
Now the runtime state, upgrade helpers, and stats push:
Now the wave/start/upgrade-pick/ability API block:
Now wiring the wave-clear into the upgrade phase, plus regen:
Now the core feel fixes: full-body hitbox, faster charge, upgrade-aware throwing and damage.
Now shield blocking poop, upgrade-scaled clouds/meltdown, and dose stacking:
Now the shield bubble visual, longer aim preview, and a lighter boss:
Now updating the UI with the upgrade screen, ability bar, and tuned copy.
Now the upgrade selection overlay and ability bar:
All four issues are fixed and the build is clean.
Hitboxes — no more headshots required
Collision was a single small circle around the head. It's now a full-body capsule running from above the head down to the feet, with a generous radius (40px × monkey scale, 52 for the boss). Any part of the monkey counts, and big bananas get an extra 22px of radius.
Charging is much faster
- Charge rate more than doubled (1.5 → 3.4/sec), so full power takes ~0.3s instead of ~0.7s.
- Base throw velocity raised (430 → 520) and a quick tap now fires at 0.45 power instead of 0.18, so casual clicks actually reach targets.
- Throw cooldown cut from 0.28s to 0.17s, and the trajectory preview is much longer/brighter.
Difficulty rebalanced down across the board
Damage multipliers dropped hard (Liquidator 1.0 → 0.7, Intern 0.6 → 0.4), monkeys throw noticeably less often and move slower, poop damage 9 → 7, cloud damage 6 → 3, enrage timer extended 42s → 58s, boss HP 16 → 14, and wave-clear healing raised to 15+.
Two new active abilities (keyboard + clickable bar with live cooldown fills)
- [Q] SHIELD — a pulsing cyan bubble for 5s that destroys incoming poop for bonus score and meltdown charge, and negates all damage. 13s cooldown.
- [E] OVERDRIVE — 7s of pink-sparking fury: every banana becomes a big splash banana, deals +1 mutation stage, and throw cooldown nearly halves. 20s cooldown.
- [SPACE] BANANA RAIN — the existing meltdown ultimate, now also a button that lights up at 100%.
Upgrade draft between every sector
A "SUPPLY DROP" screen offers 3 random cards from a pool of 10 stackable upgrades, with equipped perks shown as badges in the HUD:
💪 Potassium Enrichment (+20% velocity) · ☢️ Gamma Core (+1 mutation stage per hit) · 💨 Wide Fallout (+45% cloud size) · 🛡️ Lead Lining (−28% damage) · 💊 Field Medic (heal + per-sector regen) · 🔋 Reactor Tap (+70% meltdown gain) · 🍯 Sticky Peel (every impact leaves a mini fallout cloud) · ⚡ Autoloader (−45% throw delay) · ❄️ Coolant Loop (−30% ability cooldowns) · 🧲 Tumor Magnet (+40% hit radius).
Stacking Gamma Core + Overdrive lets one banana take a healthy monkey straight to CRITICAL, so runs snowball nicely by sector 5.
Files built: src/game/GameCanvas.tsx, src/App.tsx