Gun Racing - Armed Combat Racing Game

Seele01-Flash
By
Gun Racing combines high-speed racing with explosive combat action. Race against online players while using powerful weapons to destroy the competition and dominate intense 3D tracks.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Gun Racing". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Low-poly, vibrant "Hyper-casual" arcade aesthetic. Use a high-saturation color palette (Neon Yellow for player, Cyan for enemies, Bright Green for grass, Red/White for track curbs). * **Models**: * **Cars**: Blocky sports car chassis. Key feature: Visible weapon attachments. The player car must have side-mounted missile pods (cuboids) and a rear-mounted exhaust. * **Track**: Modular road segments (straight, turn, ramp). Must include Red/White striped curbs for lane definition. * **Obstacles**: Orange traffic cones, grey concrete blocks, and large rotating "windmill" blades as dynamic hazards. * **Projectiles**: Simple glowing spheres for bullets, elongated capsules for missiles. * **VFX**: * **Explosions**: Particle systems using simple expanding planes with orange/red colors. * **Trails**: Ribbon trails behind missiles and tire skid marks on sharp turns. * **Mobile Optimization**: Use `BufferGeometry` for all meshes. Reuse materials. Limit real-time shadows to the player car only (blob shadow or single directional light shadow). Use a simple fog (`scene.fog`) to hide draw distance limits. ### 2. Audio Requirements * **BGM**: High-tempo, adrenaline-pumping electronic/rock hybrid track (looped). * **SFX**: * **Engine**: Continuous looping hum, pitch-shifted based on vehicle speed. * **Combat**: "Whoosh" for missile launch, "Pew-pew" for machine guns, and a crunchy "Boom" for explosions/collisions. * **UI**: High-pitched "Click" for button presses, a rising tone for Nitro activation. * **Feedback**: A low-frequency thud sound when hitting the ground after a jump. ### 3. Gameplay Loop * **Core Mechanic**: An endless or level-based racer where the car auto-accelerates. The player must steer to stay on track and aim weapons. * **Combat System**: * **Auto-Fire**: Primary machine guns fire automatically when an enemy is within a forward raycast cone. * **Active Skills**: Player manually triggers "Missiles" and "Nitro". * **Health**: Both player and enemies have HP bars floating above cars. Reaching 0 HP causes an explosion and slows the car down. * **Hazards**: Falling off the track (instant reset/game over) or hitting static obstacles (slow down/damage). * **Victory/Defeat**: * **Win**: Cross the finish line before the timer runs out or place 1st against AI bots. * **Lose**: Run out of Time, HP drops to 0, or fall into a "bottomless pit". ### 4. Mobile Controls & Interaction * **Screen Orientation**: **Landscape** (Forces wider view for track anticipation). * **Steering**: * **Option A (Invisible Split Screen)**: Tap/Hold Left side of screen to turn Left, Right side to turn Right. * **Option B (Virtual Joystick)**: A floating joystick on the bottom-left. * *Instruction*: Use **Option A** for simpler arcade feel. * **Action Buttons (UI)**: * **Nitro Button**: Large circular button on the bottom-right (Red icon). * **Missile/Weapon Button**: Smaller button adjacent to Nitro (Green icon). * *Size*: Ensure touch targets are at least 48px to prevent miss-clicks. * **Haptic & Visual Feedback**: * Trigger `navigator.vibrate(50)` on collisions or explosions. * **Camera Shake**: Implement a specialized camera function that shakes the screen (adjusts x/y slightly) when the player hits an obstacle or uses Nitro. * **FOV Warp**: Slightly increase Field of View (FOV) when Nitro is active to simulate speed. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Gun Racing

Gun Racing is an adrenaline-pumping 3D combat racing game that merges high-speed driving with explosive firepower. This free-to-play online game challenges players to race through dangerous tracks while battling rivals using an arsenal of devastating weapons. With its physics-based gameplay and intense multiplayer action, Gun Racing delivers an unforgettable racing experience where speed and strategy determine victory.

Core Features

Weapon-Based Combat Racing

Unlike traditional racing games, Gun Racing arms every vehicle with powerful weapons designed to eliminate the competition. Use dual weapon systems to unleash devastating attacks while maintaining top speed through challenging courses.

Advanced Vehicle Customization

Upgrade your racing machine with enhanced speed, acceleration, and control systems. Each upgrade requires strategic resource management, making every successful race crucial for progression. Fine-tune your vehicle between races with essential maintenance including oil changes, refueling, and wheel inspections.

Physics-Based 3D Environment

Experience realistic physics as you navigate through diverse landscapes featuring towering windmills, falling debris, narrow pathways, and treacherous obstacles. From dizzying heights where one mistake means certain doom to winding desert tracks with tight corners, every environment tests your driving prowess.

Multiplayer Competition

Face off against online players in real-time battles where collision damage and weapon attacks create dynamic, unpredictable races. Strategic positioning and timing become as important as raw speed.

Reward Collection System

Discover gift items and rewards scattered throughout each track. The more you collect, the more upgrade options become available, creating a satisfying progression loop that keeps players engaged.

Gameplay Mechanics

Racing Objectives

Complete each track within the time limit while outmaneuvering opponents who can damage your vehicle through ramming attacks or weapon fire. Navigate massive obstacles including spiked columns, blockaded tunnels, and slippery road surfaces that challenge even experienced drivers.

Weapon Systems

Master dual weapon configurations with upgradeable damage output and reload speeds. Strategic weapon deployment can mean the difference between victory and elimination in intense tournament competitions.

Track Variety

Conquer diverse environments ranging from high-altitude courses where precision is paramount to desert landscapes with challenging terrain. Each track type demands different strategies and vehicle setups for optimal performance.

Controls and Operation

Gun Racing features intuitive controls optimized for both keyboard and gamepad users:

  • W/Up Arrow : Accelerate forward
  • S/Down Arrow : Reverse/Brake
  • A/Left Arrow : Turn left
  • D/Right Arrow : Turn right
  • Space : Activate Nitro boost
  • F : Fire primary weapon
  • G : Fire secondary weapon
  • Q : Deploy protective shield
  • E : Activate damage amplifier

Why Play Gun Racing

Gun Racing stands out in the crowded racing genre by successfully combining high-speed competition with strategic combat elements. The game offers:

  • Complete Free Access : No payment required to access full gameplay features
  • Browser-Based Play : No downloads or installations needed
  • Cross-Platform Support : Works seamlessly on desktop and mobile devices
  • Skill-Based Progression : Practice modes including Skill Test Progress help players master challenging tracks
  • Continuous Updates : Regular content additions keep the experience fresh

Whether you're a racing enthusiast looking for something different or an action game fan seeking high-speed thrills, Gun Racing delivers an explosive gaming experience that keeps players coming back for more intense battles and epic victories.

Frequently Asked Questions (FAQ)