Skip to content

About

Space shooter game

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Maniac Fringe

GitHub Pages License: MIT Phaser

A retro space shooter inspired by the classic "Lunatic Fringe" Mac screensaver game.

Game Screenshot

About the Game

Maniac Fringe is a space shooter where you pilot a ship through an infinite wrap-around battlefield. Collect power-ups and survive against increasingly challenging enemy waves.

It is heavily inspired by a very old screensaver game for Mac called "Lunatic Fringe". This interpretation was originally written using Phaser2 in the early 2010s but not quite finished. It was recently found in an old backup, and refactored with modern ES6+, modular architecture, and Phaser3 features.

How to Play

Controls

  • Arrow Keys / WASD: Navigate and rotate
  • UP/W: Thrust forward
  • DOWN/S: Thrust backward
  • LEFT/A: Rotate left
  • RIGHT/D: Rotate right
  • SPACE: Fire weapons
  • ESC: Pause game / Return to menu

Objective

  1. Destroy enemy ships for points
  2. Survive as long as possible
  3. Return to your base for repairs when damaged
  4. Collect power-ups to gain temporary advantages
  5. Progress through increasingly difficult levels

Live Demo

Play in your browser: https://zarnivoop.github.io/maniac-fringe/

Development

Prerequisites

  • Bun (recommended) or Node.js
  • Modern web browser

Installation

# Clone the repository
git clone https://github.com/zarnivoop/maniac-fringe.git
cd maniac-fringe

# Install dependencies
bun install

# Start development server
bun run dev

Build for Production

# Create optimized build
bun run build

# Preview production build locally
bun run preview

Project Structure

maniac-fringe/
├── src/
│   ├── game/              # Core game logic
│   │   ├── scenes/        # Phaser scenes (Boot, MainMenu, Game, etc.)
│   │   ├── enemies/       # Enemy classes and behaviors
│   │   ├── systems/       # Game systems (Combat, Player, UI, etc.)
│   │   └── Utils.js       # Utility functions
│   ├── ui/               # UI components (gauges, buttons, etc.)
│   └── main.js           # Phaser game configuration
├── public/               # Static assets (images, audio, fonts)
├── index.html           # Main HTML file
└── vite.config.js       # Build configuration

About

Space shooter game

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages