Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Vector Void

Vector Void is a classic-style 2D vector space shooter game implemented entirely in a single HTML file using JavaScript and Canvas API. Navigate your ship through hostile space, destroy enemies and meteors, collect rescue packs, and aim for the highest score!

Features

  • Classic Vector Graphics: Enjoy a retro aesthetic with sharp, clean vector lines.
  • Dynamic Starfield: A scrolling starfield provides a sense of movement and depth.
  • Responsive Controls: Smooth ship movement and aiming.
  • Enemies: Face off against enemy ships that track and shoot at you.
  • Meteors: Dodge or destroy incoming meteors.
  • Power-ups: Collect rescue packs to restore your ship's hull integrity.
  • Super Blast: A powerful area-of-effect ability to clear the screen of threats, with a recharge cooldown.
  • Simple SFX: Basic sound effects for actions like shooting, hitting, and explosions.
  • Score Tracking: Keep an eye on your score as you progress.
  • Hull Integrity: Monitor your ship's health; take too many hits and it's game over!

How to Play

The objective is to survive as long as possible, destroy enemies and meteors, and achieve a high score.

Controls

  • A / D: Turn left / right
  • SPACE: Accelerate
  • K: Fire laser
  • L: Activate Super Blast (requires recharge)
  • ENTER: Start game from menu or restart after game over

Game Mechanics

  • Hull: Your ship can withstand 10 hits before being destroyed.
  • Scoring:
    • Destroying an enemy ship: 100 points
    • Destroying a meteor: 50 points
  • Rescue Packs: Occasionally appear and restore 3 hull points when collected.
  • Super Blast: A powerful attack that destroys all enemies, meteors, and enemy bullets within a large radius around your ship. It has a 30 second recharge time.

Setup and Running

This game is a single HTML file. To play, simply open vector-space-shooter.html in any modern web browser.

About

Vector Void is a classic-style 2D vector space shooter game implemented entirely in a single HTML file using JavaScript and Canvas API. Navigate your ship through hostile space, destroy enemies and meteors, collect rescue packs, and aim for the highest score!

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages