Get Free Synopsis PDF
We will prepare a detailed synopsis for your college submission. Includes problem statement, objectives, DFD, ER diagram, and more.
This project is a top-down 2D shooter game built with vanilla JavaScript and HTML5 Canvas, where the player controls a ship that shoots down waves of incoming enemies while dodging their attacks. The game features increasing enemy spawn rates, simple collision-based damage, and a scoring system tied to enemies defeated. It is designed as a practical exercise in handling multiple moving game objects and collision detection in a browser environment.
Problem Statement
Many beginner JavaScript learners want to build something more dynamic than a single-character game but find full 3D engines overwhelming for an introductory project. A 2D shooter with multiple simultaneously moving objects offers a manageable next step in complexity using only canvas and vanilla JavaScript.
Objectives
Implement player ship movement and shooting mechanics
Spawn enemy waves with varied movement patterns
Detect collisions between bullets, enemies, and the player
Track score based on enemies defeated
Increase difficulty progressively as the game continues
Modules
Player Control Module
Handles ship movement and bullet firing based on keyboard or mouse input.
Enemy Spawner
Generates enemy waves with varying movement speed and patterns at increasing frequency.
Collision Detection Engine
Checks for bullet-enemy and enemy-player collisions each frame using bounding box checks.
Scoring System
Awards points for each enemy destroyed and displays the running score on screen.
Difficulty Scaling Logic
Gradually increases enemy spawn rate and speed as the player survives longer.
Expected Output
A fully playable browser-based 2D shooter game with responsive controls, scaling enemy waves, collision-based combat, and a live score display.
Future Scope
The game could be extended with power-ups, boss enemies, and a persistent high-score table backed by a simple server.