Skip to content

Repository files navigation

Alienix 👾🕹️

A twin-stick arena survivor — pilot a lone ship, survive endless alien swarms, level up and pick upgrades, and climb the online leaderboard.

Play the demoVanilla JSLicense: MIT

Alienix gameplay — a ship in a neon arena surrounded by colorful alien enemies and XP gems

What is it?

The original Alienix was a simple top-down space shooter. This is a ground-up reimagining as a twin-stick arena survivor (think Geometry Wars / Vampire Survivors): you're stuck in an arena, aliens close in from every edge, and you survive as long as you can while your ship grows stronger.

  • 🚀 Move with WASD / arrow keys (or drag on touch).
  • 🎯 Your ship auto-fires — aim with the mouse, or it auto-targets the nearest alien.
  • 💎 Kills drop XP gems. Collect them to level up and choose an upgrade.
  • 🌊 Every 30 seconds a new wave ramps up; watch for elites and bosses.
  • 🏆 Survive for a high score and enter your initials on the leaderboard.

Enemies

AlienBehavior
🟢 GruntSlow chaser
🔺 DartFast, weaves toward you
👁️ EyeKeeps its distance and shoots
🟣 HexTanky, takes many hits
🔵 SplitterSplits into two on death
💀 BossHuge, multi-hit, fires spreads

Upgrades

Level up to pick from: Overclock (fire rate), Sharp Rounds (damage), Split Shot (+projectile), Piercing, Thrusters (move speed), Reinforce (+max health), Magnet (pickup range), Railgun (shot speed) and Nanobots (health regen). Stack them into your own build.

Controls

ActionInput
MoveWASD · Arrow keys · Touch drag
AimMouse (else auto-aim nearest)
FireAutomatic
PauseP or Esc

High scores

High scores go to a shared Cloudflare leaderboard — a Worker + D1 (retroix-leaderboard) shared by all of Dan's Retroix games and namespaced by gameId, so this game's board is its own. It works out of the box (no account, no setup) and validates + caps scores server-side. Blank apiUrl in js/config.js to fall back to a local (per-browser) board.

Any client-side leaderboard can be spoofed by a determined player — it's for fun, not competition.

Play locally

It's a static site — no build step:

git clone https://github.com/DanMat/Alienix.git
cd Alienix
python3 -m http.server 8000 # then visit http://localhost:8000

How it works

FileResponsibility
js/game.jsCanvas engine: movement, aiming, enemy AI, XP/level-up, waves, bosses. All art is drawn procedurally — no image assets.
js/config.jsLeaderboard API URL and game id.

Credits

Reimagined in vanilla JavaScript from the original 2011 jQuery shooter.

License

MIT © DanMat

About

👾 A twin-stick arena survivor — survive endless alien swarms, level up and pick upgrades, climb the online leaderboard. Dependency-free vanilla JavaScript.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages