An infinite runner spaceship game built with Phaser 3 and Vite.
- 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
- Clone the repository:
git clone https://github.com/michaelmazilu/night-glide.git
cd night-glide- Install dependencies:
npm install- Start the development server:
npm run dev- Open your browser and navigate to
http://localhost:5173
- Use ↑ and ↓ arrow keys to move the spaceship up and down
- Avoid obstacles to survive longer
- Score increases over time
- Phaser 3
- Vite
- JavaScript
- HTML5
- CSS3