A space shooter game with Base blockchain theme, featuring multiple enemy types, shop system, and progression mechanics.
-
Player Spaceship: Auto-shooting green lasers, drag to move (mobile + desktop)
-
4 Enemy Types:
- Hexagon Enemies: Numbers show hits needed, drop gold
- Base Cubes: Blue cubic obstacles with Base logo, drop lightning bolts
- Enemy Spaceships: Red/orange ships that shoot back, drop gold and diamonds
- Boss Enemies: Huge motherships every 10 stages with massive rewards
-
Shop System:
- Spaceships: 8 different ships with unique stats
- Weapons: Fire rate, damage, multi-shot upgrades
- Power-ups: Shields, bombs, score multipliers
- Upgrades: HP, regeneration, movement speed
-
Progression:
- Score system with multipliers
- Stage progression (increases difficulty)
- Level system with XP
- 3 currencies: Gold 🪙, Lightning ⚡, Diamonds 💎
- Open
index.htmlin a web browser - Drag left/right to move your spaceship
- Your ship auto-shoots green lasers upward
- Destroy enemies to earn rewards
- Collect coins, lightning bolts, and diamonds
- Visit the shop to upgrade your ship and weapons
- Survive as long as possible and reach higher stages!
- Mouse/Touch: Drag to move left/right
- Keyboard: Arrow keys or WASD to move
- ESC: Pause game
- Shop Button: Bottom-left corner to open shop
- Built with Phaser.js 3 game engine
- Responsive design (mobile + desktop)
- LocalStorage for saving progress
- No external assets required (all graphics generated programmatically)
base-invaders/
├── index.html # Main HTML file
├── style.css # Styling
├── game.js # Core game loop
├── player.js # Player ship logic
├── enemies.js # All enemy types
├── shop.js # Shop system
├── ui.js # HUD and menus
└── assets/ # Folder for future images
- Sound effects and background music
- More enemy types and patterns
- Achievement system
- Leaderboard
- More power-ups and upgrades
Enjoy the game!