Skip to content

troyscott/fighter-pilot

Repository files navigation

Fighter Pilot

A 2D vertical shooter game built with Phaser 3.

Screenshots

Coming soon

Getting Started

Prerequisites

  • Node.js (v18 or higher recommended)
  • npm

Installation

  1. Clone the repository
   git clone https://github.com/yourusername/fighter-pilot.git
   cd fighter-pilot
  1. Install dependencies
   npm install
  1. Start the development server
   npm run dev
  1. Open your browser to http://localhost:3000

Build for Production

npm run build

Output will be in the dist/ folder.

How to Play

  • Arrow Keys - Move left/right
  • Spacebar - Shoot

Destroy enemies to score points. Avoid getting hit!

Project Structure

fighter-pilot/
├── src/
│   ├── main.js              # Game initialization
│   ├── config/
│   │   └── gameConfig.js    # Game constants
│   ├── entities/
│   │   ├── Player.js        # Player ship
│   │   └── EnemyManager.js  # Enemy spawning
│   ├── scenes/
│   │   ├── MenuScene.js     # Start screen
│   │   └── GameScene.js     # Main gameplay
│   └── assets/
│       ├── images/
│       └── audio/
├── index.html
├── package.json
└── vite.config.js

Tech Stack

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Phaser 3 2d Game

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published