Two modes, one Warden:
- 🏟️ Arena — survive 8 escalating waves of relentless hordes across a big, camera-following arena, then face the Warden Colossus boss. Every kill drops a gem; scoop them up to level up mid-fight and pick your upgrades.
- 🌴 Operation Greenfang — a 2.5D jungle assault. Push through the foliage and clear the sector, calling in artillery and air strikes (paint a target, brace, watch the treeline erupt).
🟢 Pure chaos. Shoot, dash, bomb, collect, repeat. 🟢
- 🌊 8 waves + boss finale — up to ~80 enemies on screen at once
- 🧟 8 enemy types — grunt, swarmer, runner, brute, tank, plus pixel skeleton, spider & demon
- 💎 Gems = XP — collect (with magnet + end-of-wave vacuum) to level up and choose 1 of 3 upgrades
- 🔧 16 upgrades — multishot, crit, piercing, lifesteal, regen, gem magnet, bomb mods… real build variety
- 💥 Abilities — dash (with i-frames) and a radial bomb, on cooldowns
- 🩸 Boss fight — the Warden Colossus, with a health bar and minion summons
- 🌴 Second mode (Greenfang) — 2.5D jungle with depth-sorted canopies + call-in artillery & air strikes (Q to switch, right-click to call)
- 🔊 Sound, screen shake, particles, hearts & coins
| Input | Action |
|---|---|
W A S D |
Move |
| 🖱️ Mouse | Aim |
| 🖱️ Left click | Shoot |
Space |
Dash |
| 🖱️ Right click | Bomb (arena) · call strike (Greenfang) |
Q |
Switch armed strike (Greenfang) |
Esc |
Pause |
1 2 3 |
Pick upgrade on level-up |
Phaser 3 (Arcade Physics + WebGL) · TypeScript (strict) · Vite · high-DPI rendering.
npm install
npm run dev # ▶ http://localhost:5173| Script | Does |
|---|---|
npm run dev |
Dev server with hot reload |
npm run build |
Type-check + production build → dist/ |
npm run preview |
Serve the production build |
npm run check |
Type-check only |
Requires Node.js 20+.
It's a fully static site (dist/) — host it anywhere.
- Vercel — preset
Vite, buildnpm run build, outputdist - Netlify — build
npm run build, publishdist
src/
main.ts # Phaser bootstrap + scene list
config/ # constants, palette, player stats, enemies, waves, upgrades
scenes/ # Boot · Preload · MainMenu · Game · Upgrade · Pause · GameOver · Victory
entities/ # Player · Bullet · Enemy · Pickup · Gem
systems/ # Weapon · EnemySpawn · Wave · Upgrade · Effects · Sound
ui/ # Hud · Button · Panel · UpgradeCard
public/assets/ # sprites + audio
All gameplay assets are CC0 / public domain — credit given gladly:
- 🧟 Enemies & monsters — Kenney Toon Characters & Tiny Dungeon
- 🔊 Sound effects — Kenney Sci-Fi / Interface / Impact Sounds
- 🎖️ Warden character art — generated by the author with Recraft
Code: MIT © Raj Gurung — assets CC0 as noted above.
Issues & PRs welcome! Run npm run check and npm run build before submitting, and match the surrounding code style.
