Skip to content

n02448428/NTB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

147 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neon Trailblazer

A modern, customizable light cycle game inspired by classic arcade games with evolving AI opponents and extensive visual effect options.

Description

Neon Trailblazer is a browser-based 3D game where players navigate a light cycle through a neon grid, leaving trails behind that become obstacles. The game features advanced AI opponents that learn and evolve as they play, getting more intelligent with each generation.

What sets Neon Trailblazer apart is its extensive visual customization system, allowing players to adjust everything from pixelation to glitch effects, bloom lighting, scanlines, and color shifts to create their perfect retro-futuristic aesthetic.

Features

Gameplay

  • Classic light cycle mechanics - leave trails that become obstacles
  • Collect powerups to extend your trail
  • Evolving AI that learns from mistakes and gets smarter over time
  • New AI opponents spawn every 10 seconds, creating escalating challenge
  • Mobile and desktop compatible with responsive controls

Visual Effects System

  • Comprehensive visual effects panel
  • Adjustable parameters with both sliders and numerical inputs
  • Seeded glitch effects for consistent, shareable visual styles
  • Pixelation, bloom, scanlines, color shifting, and more
  • Save and load custom visual presets
  • Built-in preset styles (Retro, Cyberpunk, Lo-Fi, Vaporwave, etc.)
  • Hash-based configuration sharing

Mobile Optimization

  • Touch controls for turning (tap left/right sides of screen)
  • Adaptive camera that adjusts based on device orientation
  • Mobile-friendly UI with easy-to-tap buttons
  • Splash screen with game title
  • Responsive design that works on all device sizes

How to Play

Controls

  • Desktop: Use LEFT and RIGHT arrow keys to turn, R to restart, P to pause, E to toggle effects panel
  • Mobile: Tap the left or right side of the screen to turn, use on-screen buttons for pause and effects

Objective

  • Survive as long as possible
  • Avoid colliding with walls, obstacles, your own trail, and enemy trails
  • Collect white orbs to extend your trail
  • Try different visual effect combinations for unique experiences

AI Opponents

  • Each AI has unique characteristics (risk tolerance, path-finding, etc.)
  • AIs learn from crashes and successful power-up collection
  • New, smarter AIs spawn every 10 seconds
  • Higher generation AIs are more aggressive and intelligent

Visual Effects

Key Effects

  • Master Intensity: Overall effect strength multiplier
  • Bloom: Controls glow around neon elements
  • Pixelation: Creates a low-resolution retro look
  • Glitch: Adds digital artifacts and distortion
  • Glitch Seed: Determines specific glitch pattern
  • Scanlines: Adds horizontal scan lines like CRT displays
  • Color Adjustments: Control hue, saturation, and color pulsing

Saving & Sharing Settings

  1. Adjust effects to your liking
  2. Copy the generated hash from the effects panel
  3. Share the hash with others
  4. Others can paste the hash and apply your exact settings

Installation

No installation required - just open the HTML file in any modern web browser:

  1. Download all HTML files (or combine all parts into a single HTML file)
  2. Open the HTML file in Chrome, Firefox, Safari, or Edge
  3. For best mobile experience, add to home screen on iOS or Android

Technical Details

  • Built with Three.js for 3D rendering
  • Uses Web Audio API for sound effects
  • All effects implemented via WebGL shaders
  • No external dependencies beyond Three.js
  • Self-contained in a single HTML file

Credits

Created by @dmitrymakelove

License

This game is released under the MIT License. Feel free to modify and distribute with attribution.


Happy trailblazing!

About

Weave through the neon cybergrid, leaving light trails in your wake. https://ntb-chi.vercel.app

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors