XQuest JS is a free and open-source HTML5 Space Shooter game.
Play in your browser, learn from the code, and help make it awesome!
Visit scottrippey.github.io/xquestjs and play right in your browser.
- Space shooter gameplay with momentum-based movement
- Multiple enemy types and powerups
- Touch, mouse, and keyboard controls
- Bonus levels and achievements
- Open-source and easily hackable!
↕️ Move your player around the field, but don't touch the walls- ⛔️ Shoot at enemies, but don't touch them either
- ⭐️ Gather all the stars to open the gate
- 💫 Look for "Power Stars" for special abilities
- 💣 Release a bomb if overwhelmed
- 💻 To get a high score, learn to program and help me develop that feature.
- The player keeps its momentum, so be careful around walls
- Your player shoots in the direction it's moving
- Power Stars are hard to catch but worth it
🖱️ Mouse
- Move the mouse to accelerate
- Left-click to shoot
- Right-click to release a bomb
- Leaving the window auto-pauses the game
👆 Touch
- 👍 Drag your 1st finger to accelerate
- 👆 Tap a 2nd finger to shoot
- ✌️ Tap a 2nd and 3rd finger to release a bomb
⌨️ Keyboard
- Arrow keys accelerate
- Space shoots
- Enter releases a bomb
- Touch input (done)
- HUD: Animated Powerups, Score
- Scoring: Time Bonus, Extra Life, Increase Powerup spawns
- Bullets: Destroyed with enemies (done), Dequeued/timeout (done)
- Land Mines
- Bonus Levels:
- Shooting Spree: destroy as many enemies as possible
- Survival: don't die
- Ambush: kill all enemies
- Enemies: Slug, Locust, Mantis (done); Moth, Spider, Roach, Bee, Wasp, Hornet, Beetle, Stink Beetle, Fire Beetle
- Powerups: Rapid fire, Auto-aim, Invincible, Triple-shot, Bombs (done), and more
- Achievements: "Too much caffeine", "In over my head", "Sharp Shooter", etc.
- Google Analytics
- Save States, Rewind Feature
- Arcade mode, puzzle mode
- Bosses
- Scale for performance
- Windows 8/Xbox One App
This project is all native HTML and JavaScript.
No build steps are necessary; you can simply open index.html
in your browser.
However, for a better developer workflow, follow these instructions:
- Clone the repo
- Run
npm install
to install dependencies - Run
npm run dev
to start a live-reloading server and open the page - Start hacking!
For more info, see the GitHub repo.
This game was inspired by the classic game XQuest, written by Mark "Atomjack" Mackey.
Apparently, it was a remake of a game called Crystal Quest for Mac.
Either way, it's an addictive, fun game!