Galactic Invaders
About
A 2D retro-style space shooter where you protect your city from incoming waves of aliens. Shoot them down, earn temporary rapid-fire during bonus moments, and unlock nukes as your score increases. The goal is straightforward: stay alive and keep the city safe.
How to Play
- Use ←, ↑, →, ↓ or [WASD] to move your spaceship
- Press [Space] to shoot
- Press [Q] to activate the nuke (when available)
- Press [M] to toggle sound on/off
- Destroy aliens to earn points
- Avoid getting hit by aliens.
- Stop the aliens from destroying your city.
- Try to achieve the highest score possible!
Features
- Smooth player movement with keyboard controls
- Dynamic shooting mechanics
- Progressive difficulty with increasing alien waves
- Score tracking and lives system
- Sound effects and visual feedback
- Special nuke power-up to clear the screen
- Scrolling starfield background for immersive space atmosphere
Controls
- ←, ↑, →, ↓ or [WASD] : Move
- [Space] : Shoot
- [Q] : Activate nuke (when available)
- [M] : Toggle sound on/off
Why I Created It
I created this game as an experiment in learning Vibe Coding techniques and exploring AI-assisted development tools. I have zero game dev experience, so I figured, if I can, then anyone else can. I did. Now you can too!
Technology Stack
- PixiJS for 2D rendering (via CDN)
- HTML5 Audio for sound effects (SFX from FreeSound.org)
- JavaScript (ES6+)
- CSS3 for styling
Tools Used
- Cursor (using various models)
- ChatGPT
- Git / GitHub