Trench Runner - First Person Endless Runner Shooter

Seele01-Flash
By
Trench Runner is an adrenaline-pumping first-person endless runner that combines high-speed navigation with intense shooting action. Race through futuristic trenches at 300 mph while blasting enemies and dodging obstacles in stunning 3D environments.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Trench Runner". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Minimalist Sci-Fi aesthetic (inspired by Star Wars trench runs). The environment consists of a procedurally generated, infinite trench. * **Color Palette**: High contrast. Walls and floors should be clean White/Light Grey (#F0F0F0) with subtle panel lines. Player ship should feature Neon Cyan (#00FFFF) engine trails. Enemies and obstacles should use Neon Red/Orange (#FF4500) for clear threat identification. * **Geometry**: * **Player**: A low-poly futuristic fighter jet (sleek, arrow-shaped). * **Trench**: Use `BoxGeometry` for walls and floor. The trench must curve slightly or use `FogExp2` (density 0.02, color Black) to hide the spawn horizon. * **Obstacles**: Geometric shapes (Cubes for walls, Spheres for turrets, flat planes for "Electro-walls"). * **Performance Optimization**: Use **Object Pooling** for obstacles, enemies, and projectiles to maintain 60 FPS on mobile devices. Do not create/destroy objects every frame. Use simple materials (`MeshLambertMaterial`) to reduce GPU load. ### 2. Audio Requirements * **BGM**: Fast-paced, high-energy **Synthwave / Retrowave** track (approx. 140 BPM) to induce a flow state. * **Sound Effects (SFX)**: * **Thrust**: A constant low-humming engine noise that rises in pitch when boosting. * **Laser Fire**: Retro arcade "Pew-Pew" sounds (high frequency). * **Explosion**: Crunchy, bit-crushed noise when enemies or the player crash. * **Power-up**: A positive, ascending chime sound. * **Slow Down**: A "tape-stop" effect or pitch-down sound when the Slow Down power-up is active. ### 3. Gameplay Loop * **Core Mechanic**: The player travels automatically forward (negative Z-axis) at a constantly increasing speed. The player must dodge obstacles and shoot enemies. * **Movement Limits**: The ship is confined within the trench walls (clamped X and Y values). Crashing into a wall or obstacle ends the run. * **Shooting & Enemies**: * Player fires "Quad Laser Cannons" forward. * Enemies include: Stationary Turrets (shoot back), Electro-walls (must be shot to pass or dodged), and Bosses (large HP sponges appearing every 1000m). * **Power-ups**: Spawn randomly in the trench: 1. **Shield**: Blue Orb. Protects against one hit. 2. **Slow Down**: Green Hourglass. Slows game time scale by 50% for 5 seconds. 3. **Wall Breaker**: Red Fist. Instantly destroys all obstacles in front for 3 seconds. * **Scoring**: Score increases by distance traveled + bonus points for destroying enemies. ### 4. Mobile Controls & Interaction * **Orientation**: **Landscape Mode** (essential for wide peripheral vision in a trench). * **Control Scheme**: * **Left Half of Screen**: **Virtual Joystick / Touch-Drag**. Moving the thumb moves the ship up/down/left/right. Movement should be 1:1 responsive (no momentum drift) for precise dodging. * **Right Half of Screen**: **Tap to Fire**. Holding down enables rapid-fire. * **UI Elements**: * Score display: Top center, large sans-serif font. * Pause Button: Top right (minimum 44x44px touch target). * Power-up Indicator: Visual icon on the side showing active duration. * **Feedback**: * **Camera Shake**: Mild camera shake on impact or explosion. * **Vibration**: Trigger `navigator.vibrate(50)` when shooting, and a longer vibration on crash. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Trench Runner is a revolutionary first-person endless runner that merges the excitement of high-speed racing with intense shooting mechanics. Set in a futuristic world of trench warfare, this game challenges players to navigate through procedurally generated environments at breakneck speeds of 300 miles per hour. With a stellar 4.4/5 rating, Trench Runner delivers an immersive sci-fi experience that keeps players coming back for more.

The game combines elements of first-person shooters, endless runners, and avoider games into one thrilling package. Every playthrough offers a unique experience thanks to the procedurally generated trench backgrounds and dynamic obstacle placement.

Core Features

High-Speed Futuristic Combat

Experience the thrill of trench warfare reimagined for the future. Armed with powerful quad laser cannons, you'll blast through auto-cannons, destroy bosses, and take down entire space stations while maintaining incredible speeds.

Stunning 3D Graphics

Immerse yourself in beautifully rendered 3D environments featuring sleek futuristic designs, dynamic lighting effects, and smooth animations that bring the sci-fi world to life.

Procedural Generation

No two runs are ever the same. The game's advanced procedural generation system creates unique trench layouts, ensuring fresh challenges and discoveries with every playthrough.

Strategic Power-Up System

Choose from three essential power-ups: - Shields : Protect against laser bombs, electro-walls, and turbo cannons - Slow Down : Temporarily reduce game speed for precise maneuvering - Wall Breaker : Automatically destroy visible obstacles to focus on combat

Intuitive Warning System

Stay alert with the mystical vibe system that provides early warnings about approaching dangers through flashing yield signs and environmental cues.

Gameplay Mechanics

Trench Runner challenges players to master both navigation and combat simultaneously. As you speed through the futuristic trenches, you'll encounter various obstacles including electro-walls, auto-cannons, and formidable bosses. The key to success lies in balancing aggressive shooting with strategic movement.

The procedural generation ensures that each run presents new challenges and layouts, preventing the gameplay from becoming predictable. Players must stay alert, react quickly to environmental warnings, and make split-second decisions about when to use their limited power-ups.

Operation Guide

Mastering Trench Runner's controls is essential for survival:

Movement Controls: - W, A, S, D keys or Arrow keys : Navigate your fighter up, down, left, or right - Smooth, responsive movement allows for precise navigation through tight spaces

Combat Controls: - Space Bar : Fire your devastating quad laser cannons - Continuous firing is possible, but strategic timing improves accuracy

Strategy Tips: - Watch for flashing yield signs that warn of incoming dangers - Use shields proactively before entering dangerous sections - Save the Wall Breaker power-up for boss encounters - The Slow Down feature is invaluable for navigating complex obstacle patterns

Why Play Trench Runner

Trench Runner stands out in the crowded endless runner genre by offering a unique first-person perspective combined with engaging combat mechanics. The game successfully merges multiple genres to create something truly special:

Perfect for Multiple Gaming Preferences: - First-person shooter fans will love the combat mechanics - Endless runner enthusiasts will appreciate the speed and reflexes required - Sci-fi lovers will be drawn to the futuristic setting and storyline - Avoider game players will enjoy the obstacle navigation challenges

Endless Replayability: With procedural generation, strategic power-up choices, and increasingly challenging boss encounters, Trench Runner offers virtually unlimited replay value. Each session feels fresh and exciting.

Accessible Yet Challenging: While easy to learn, the game offers deep strategic gameplay that rewards skill development and quick thinking. The difficulty scales naturally as players progress further into each run.

Whether you're looking for a quick gaming session or an extended adventure through futuristic battlefields, Trench Runner delivers an unforgettable experience that combines the best elements of multiple gaming genres into one cohesive, thrilling package.

Frequently Asked Questions (FAQ)