Tunnel Rush - Fast-Paced 3D Tunnel Racing Game

Seele01-Flash
By
Tunnel Rush is an exhilarating 3D tunnel racing game that tests your reflexes and reaction speed. Navigate through colorful, spinning tunnels while dodging barriers and obstacles in this ultimate skill-based gaming experience.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Tunnel Rush**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: High-contrast, abstract 3D arcade style. The world consists of an endless octagonal tunnel. * **Tunnel Geometry**: The tunnel walls should be generated using `ExtrudeGeometry` or `TubeGeometry`, segmented into rings. Apply a "kaleidoscope" texture pattern—alternating bright geometric shapes (triangles/quads) in primary colors (Red, Green, Blue, Cyan). The tunnel should gently curve and twist in 3D space. * **Obstacles**: Create simple geometric primitives (cubes, rectangular prisms, rotating triangles) in a contrasting bright color (e.g., Neon Magenta or Bright Yellow). They should be positioned at various angles within the tunnel. * **Mobile Optimization**: * Use **InstancedMesh** for tunnel segments and repeating obstacles to minimize draw calls. * Implement **Fog (fogExp2)** at the far end of the tunnel to hide geometry generation and create a sense of depth. * Keep the poly count low (Low-poly aesthetics). ### 2. Audio Requirements * **BGM**: A fast-paced, high-energy Synthwave or Techno track (140+ BPM) that loops seamlessly to induce a "flow state." * **SFX**: * **Movement**: A subtle "whoosh" wind noise that increases in pitch as the player's speed increases. * **Near Miss**: A sharp "swish" sound when passing an obstacle closely. * **Impact/Game Over**: A digital "crash" or glitch sound effect followed by a pitch-down effect. * **UI**: Crisp, high-pitched beeps for button presses. ### 3. Gameplay Loop * **Core Mechanic**: The player (represented by the first-person camera view) moves automatically forward through the tunnel at increasing speed. The tunnel itself rotates around the camera based on input (simulating the player running along the walls). * **Obstacle Logic**: Obstacles can be static, rotating in place, or moving sideways. The player must rotate the tunnel to find the gap. * **Progression**: The game speed increases linearly every 10 seconds. The color palette of the tunnel changes every 500 meters (Level Up) to prevent visual fatigue. * **Win/Loss**: The game is an endless runner. The game ends immediately upon collision with any red/magenta obstacle. The score is based on distance traveled. ### 4. Mobile Controls & Interaction * **Input Scheme**: Split-screen touch controls. * **Touch & Hold Left Screen**: Rotate the tunnel continuously to the **Left**. * **Touch & Hold Right Screen**: Rotate the tunnel continuously to the **Right**. * **Responsiveness**: The rotation must be snappy with a slight lerp (smooth damping) to prevent motion sickness, but fast enough to dodge late hazards. * **Orientation**: Force **Landscape Mode** logic (camera FOV adapted for wide aspect ratios). * **UI/UX**: * **HUD**: Display current Score (Distance) in the top-center (large, legible font). * **Start Screen**: A "Tap to Start" overlay. * **Game Over**: A "Restart" button with a large hit area (min 44x44px) for easy tapping. * **Haptic Feedback**: Trigger a short vibration (using `navigator.vibrate`) upon crashing. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Tunnel Rush is the ultimate 3D single-player tunnel racing experience that puts your reflexes to the test. This fast-paced skill game drops you into a whirling kaleidoscope of colorful hazards and mesmerizing 3D tunnels. With its vibrant geometric design and challenging obstacle courses, Tunnel Rush has become one of the most popular online arcade games for players seeking an adrenaline-pumping challenge.

The game features stunning visual effects with bright, contrasting colors including vivid greens, blues, reds, and purples that create an immersive tunnel environment. Each level presents a unique combination of moving barriers, rotating obstacles, and geometric patterns that require split-second decision-making and precise timing to navigate successfully.

Core Features

Intense 3D Tunnel Racing Action

Experience heart-pounding gameplay as you blaze through endless caves and tunnels at incredible speeds. Each Tunnel Rush level presents a new kaleidoscope of hazards designed to challenge even the most skilled players.

Dual Game Modes

  • Single Player Mode : Perfect your skills in solo challenges, pushing your reaction speed to the limit
  • Two-Player Mode : Race side-by-side with friends on the same screen to see who can survive the longest in the tunnel race

Stunning Visual Design

The game features eye-catching 3D graphics with geometric patterns and vibrant color schemes that create an immersive gaming environment. The tunnel walls are adorned with colorful triangular and rectangular patterns that shift and move as you progress.

Progressive Difficulty

As you advance through the game, the speed increases and obstacles become more complex, ensuring that even experienced players face new challenges with each session.

Gameplay Mechanics

Tunnel Rush combines simple controls with complex challenges. Players must navigate through an endless 3D tunnel filled with various obstacles including:

  • Static Barriers : Fixed geometric shapes that block your path
  • Moving Obstacles : Dynamic barriers that shift position, requiring predictive movement
  • Rotating Elements : Spinning geometric forms that create timing-based challenges
  • Color-Coded Hazards : Different colored obstacles that may have unique properties

Operation Guide

Basic Controls

The game uses intuitive keyboard controls that are easy to learn but challenging to master:

  • Arrow Keys (Left/Right) or A/D Keys : Move your character left and right to dodge obstacles
  • Spacebar : Pause the game or restart when needed

Gameplay Tips

  • Anticipate Hazards : Look ahead and prepare for obstacles before they reach you
  • Track Moving Barriers : Some obstacles move, so position yourself where they're going to be, not where they are
  • Stay Calm : Despite the fast appearance, you have enough time to react to each obstacle with proper focus
  • Practice Timing : Develop rhythm and timing to navigate through complex obstacle patterns

Why Play Tunnel Rush

Perfect for Quick Gaming Sessions

Tunnel Rush is ideal for players who want an intense gaming experience in short bursts. Each session can last from a few seconds for beginners to several minutes for skilled players, making it perfect for quick entertainment breaks.

Skill Development

The game excellently trains: - Reaction Speed : Improves your ability to respond quickly to visual stimuli - Hand-Eye Coordination : Enhances coordination between visual processing and motor response - Focus and Concentration : Develops sustained attention under pressure - Predictive Skills : Teaches anticipation and forward planning

Social Gaming Experience

With the addition of two-player mode, Tunnel Rush becomes an excellent party game. Challenge friends and family to see who can achieve the highest score or survive the longest in the colorful tunnel maze.

Accessibility and Convenience

As a browser-based game, Tunnel Rush offers: - No Download Required : Play instantly in any modern web browser - Cross-Platform Compatibility : Works on computers, tablets, and mobile devices - Free to Play : Complete gaming experience with no hidden costs or premium content - Quick Loading : Fast startup times get you into the action immediately

Endless Replayability

With procedurally generated obstacles and increasing difficulty levels, no two gaming sessions are exactly alike. The combination of speed, colorful visuals, and challenging obstacles creates an addictive gameplay loop that keeps players coming back for more.

Whether you're looking to test your reflexes, compete with friends, or simply enjoy a visually stunning arcade experience, Tunnel Rush delivers an unforgettable 3D tunnel racing adventure that will push your gaming skills to their absolute limit.

Frequently Asked Questions (FAQ)