GitHub - AsstdSrv/galaga-game: Browser-based Galaga-style arcade shooter · GitHub
Skip to content

About

Browser-based Galaga-style arcade shooter

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

GALAGA

A browser-based Galaga-style arcade shooter built with HTML5 Canvas and vanilla JavaScript.

Play

Open index.html in a modern browser, or serve the folder locally:

# Python
python3 -m http.server 8080

# Node
npx serve .

Then visit http://localhost:8080.

Modules require a local server (or certain browser settings). Opening the file via file:// may block ES modules.

Controls

Key Action
← → or A D Move
Space or Z Fire
P or Esc Pause
Enter Start / restart

Features

  • Classic formation flying with sway
  • Dive-bombing enemies (bees, butterflies, bosses)
  • Bosses take two hits
  • Stages that ramp difficulty
  • Score, high score (saved in localStorage), lives, extra life every 10,000 pts
  • Particle explosions, starfield, and Web Audio SFX

Project layout

index.html      # Shell + HUD
styles.css      # Arcade UI chrome
js/main.js      # Bootstrap
js/game.js      # Loop, waves, collisions
js/entities.js  # Player, enemies, bullets
js/stars.js     # Starfield
js/particles.js # Explosions
js/input.js     # Keyboard
js/audio.js     # Synthesized SFX

About

Browser-based Galaga-style arcade shooter

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages