Skip to content

michaelmazilu/night-glide

Repository files navigation

Night Glide

An infinite runner spaceship game built with Phaser 3 and Vite.

Features

  • Responsive canvas that automatically fits the browser window
  • Smooth scrolling starfield background
  • Player spaceship with keyboard controls
  • Obstacle spawning and collision detection
  • Score tracking system
  • Modern UI with Major Mono Display font

Setup

  1. Clone the repository:
git clone https://github.com/michaelmazilu/night-glide.git
cd night-glide
  1. Install dependencies:
npm install
  1. Start the development server:
npm run dev
  1. Open your browser and navigate to http://localhost:5173

Controls

  • Use ↑ and ↓ arrow keys to move the spaceship up and down
  • Avoid obstacles to survive longer
  • Score increases over time

Technologies Used

  • Phaser 3
  • Vite
  • JavaScript
  • HTML5
  • CSS3

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published