AponAhmed / Copter-Game

A simple Game by VanillaJS and Html Canvas

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Space Fighter Game

Welcome to the Space Fighter Game! This is an exciting space-themed game where you control a powerful copter to defend against incoming enemies. Fight through multiple levels, deploy defenses, and survive as long as you can.

Demo

https://codepen.io/apon22/full/dyVydjM

Screenshot

alt text

Gameplay

  • Use your mouse to control the copter's movement.
  • Click to deploy the main defense system.
  • Press 'S' to activate the shield (if available).
  • Press 'M' to launch a missile from your defense system.

Game Levels

Level 1 - Copter Initiation

  • Enemy Speed: 2
  • Enemies Per Frame: 50
  • Copter Type: Copter 1
  • Background: Space Background 1
  • Main Defense Speed: 5

Level 2 - Accelerated Threats

  • Enemy Speed: 7
  • Enemies Per Frame: 30
  • Copter Type: Copter 2
  • Background: Space Background 2
  • Main Defense Speed: 7

Level 3 - Intense Space Battle

  • Enemy Speed: 12
  • Enemies Per Frame: 10
  • Copter Type: Copter 3
  • Background: Space Background 3
  • Main Defense Speed: 10

Controls

  • Mouse Move: Control copter movement
  • Click: Deploy main defense
  • S Key: Activate shield (if available)
  • M Key: Launch a missile

Defenses

Main Defense

  • Damage Capability: 5
  • Image: main.png
  • Sound: def1.wav

Missile

  • Damage Capability: 20
  • Image: missile.png

Player Info

Monitor your copter's life and score on the screen. The life bar changes color based on your copter's health.

Special Features

  • Shield System: Activate the shield to temporarily protect your copter.
  • Missile Attack: Launch powerful missiles to eliminate enemies.

Getting Started

  1. Clone the repository:

    git clone https://github.com/your-username/space-fighter-game.git

About

A simple Game by VanillaJS and Html Canvas


Languages

Language:JavaScript 94.4%Language:HTML 3.6%Language:CSS 2.0%