Skip to content

mynameisprem-pj/Space-Shooter-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TypingQuest - Brave 4_24_2026 1_11_18 PM # 🚀 NOVA BLAST — Space Shooter

A fast-paced, retro-futuristic HTML5 Canvas arcade shooter built with pure JavaScript.

Play directly in the browser — no frameworks, no dependencies.


🎮 Features

  • ⚡ Smooth real-time gameplay (60 FPS loop)

  • 🎯 Multiple enemy types (basic, fast, tank)

  • 💥 Power-ups system:

    • 🛡 Shield
    • ⚡ Rapid Fire
    • ✦ Tri-Shot
    • 💣 Bomb
  • 🔊 Procedural sound effects (Web Audio API)

  • 📱 Mobile + Desktop support

  • 🎮 Touch joystick + keyboard controls

  • 🌌 Dynamic starfield background

  • 🧠 Increasing difficulty (wave + level system)

  • 💾 Best score saved using localStorage


🕹️ Controls

Desktop

  • Move: W A S D or Arrow Keys
  • Shoot: Space (hold)

Mobile

  • Move: On-screen joystick
  • Shoot: Fire button

🧩 Tech Stack

  • HTML5 Canvas
  • Vanilla JavaScript (ES6+)
  • CSS3 (animations + responsive design)
  • Web Audio API

📂 Project Structure

.
├── index.html     # Main UI & layout
├── style.css      # Styling & animations
└── game.js        # Core game logic

🚀 Getting Started

Run locally

Just open:

index.html

Or use a local server:

npx serve .

⚙️ Performance Notes

  • Optimized for both mobile and desktop
  • Uses requestAnimationFrame for smooth rendering
  • Lightweight (no external libraries)

🛠️ Future Improvements

  • Leaderboard system
  • Progressive difficulty scaling
  • Game pause/resume
  • PWA support

⭐ Support

If you like this project:

  • Star the repo ⭐
  • Share it 🚀
  • Fork and improve 🔧

📜 License

This project is open-source and available under the MIT License.

About

A engaging space shooting game. It is responsive for all devices.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors