A Tron-inspired Light Cycle game built as a Progressive Web App using Svelte and PixiJS. Race through the grid, create light walls, and try to outmaneuver your opponent!
Play Now 🎮
- 🎮 Single-player mode with increasing difficulty
- 👥 Local multiplayer mode (keyboard controls)
- 📱 Mobile-friendly with touch controls
- 🎵 Retro-style sound effects and background music
- ⚡ Smooth animations and particle effects
- 🎨 Customizable bike colors
- 🌓 Responsive design that works on all devices
- Player 1: Arrow keys
- Player 2: WASD keys (local multiplayer)
- ESC: Pause game
- Swipe in any direction to turn
- 🎯 SvelteKit - Web framework
- 🎨 PixiJS - 2D rendering engine
- 💅 TailwindCSS - Styling
- 🎭 shadcn-svelte - UI Components
- 🌈 Lucide Icons - Beautiful icons
- 🎵 Web Audio API - Sound effects
- 📱 Progressive Web App features
- 🔧 TypeScript - Type safety
Clone the repository
git clone https://github.com/thatplatypus/LightCycle.gitInstall dependencies
npm installStart development server
npm run devBuild for production
npm run buildContributions are welcome! Feel free to open issues or submit pull requests.
MIT License - feel free to use this code in your own projects!
-
Background Music
-
Sound Effects
- "Futuristic.aif" by InAvision (freesound) - License: Creative Commons 0
- "derezz_sounds.wav" by Syna-Max (freesound) - License: Attribution NonCommercial 4.0
- "Sci-Fi Engine - Light Cycle.wav" by fedexico (freesound) - License: Attribution 3.0
- "Mono tron bike engine.wav" by Hiccupvirus (freesound) - License: Attribution 3.0
- Inspired by the Light Cycles from the Tron franchise