Defy physics. Obliterate enemies. Survive the neon chaos.
ANTIGRAVITY is a high-octane, top-down action RPG built with Vanilla JavaScript. Master the Gravity Dash to traverse dangerous terrain and destroy everything in your path.
| Action | Key | Description |
|---|---|---|
| Move | WASD / Arrows |
Navigate the map |
| Dash / Attack | SPACE |
Dash through enemies to kill them! |
| Start / Restart | ENTER |
Start game or restart after death |
Navigate through 3 procedurally generated levels, defeat the Boss, and survive.
- Gravity Dash: Your main weapon. You are invulnerable while dashing.
- 🔴 Normal Enemy: Basic chasers. Dash through them.
- 🟠 Fast Enemy: Quick and deadly. Keep moving!
- 🟣 Tank Enemy: High HP. Requires multiple dash hits or a strong impact.
- 💀 THE BOSS: Waits on Level 3. Shoots deadly projectiles. Dash INTO the boss to deal damage.
- 🟢 XP Orbs: Collect to Level Up and increase Max HP.
- ⚡ Speed Bolt: Temporarily boosts your movement speed.
- 🛡️ Shield: Grants temporary invulnerability.
- 🟡 Goal Zone: Find the glowing yellow zone to advance to the next level.
- Engine: Custom Vanilla JS Game Engine (No libraries!)
- Rendering: HTML5 Canvas API
- Audio: Web Audio API (Real-time synthesized sound effects)
- World: Cellular Automata for organic map generation
- Clone the repository.
- Open
index.htmlin your browser. - That's it! No build steps required.
