Auto Drive - Combat Racing Game

Seele01-Flash
By
Auto Drive combines high-speed racing with intense vehicle combat. Race against opponents while using weapons to gain the advantage, earn money to upgrade your car, and dominate the track in single-player or multiplayer modes.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Auto Drive - Mobile Combat Racing". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Use a **Low-Poly / Flat-Shaded** aesthetic similar to the reference image. The world should feel chunky and colorful, optimized for mobile WebGL performance. * **Car Models**: Create blocky, distinct vehicle types (e.g., a Pink Van, Red Sports Car, Yellow Hatchback) using simple `BoxGeometry` combinations. Each car must have a visible weapon attachment point. * **Track Design**: Generate a winding mountain road with gray asphalt, white dashed lane markers, and brown rocky terrain on the sides. Include guardrails (low walls) to keep cars on track. * **Performance**: Use simple `MeshLambertMaterial` or `MeshToonMaterial` to reduce lighting calculation costs. Limit the scene to one primary DirectionalLight (Sun) and ambient light. Use object pooling for projectiles and particle effects (smoke/explosions). ### 2. Audio Requirements * **BGM**: An energetic, looping **Arcade Rock / Electro-beat** track to maintain high adrenaline. * **SFX**: * **Engine**: Continuous looping hum, pitch-shifting based on speed. * **Drift**: High-pitched screech when turning sharply. * **Combat**: "Whoosh" sound for missile launches, "Ka-pow" for impacts, and metallic crunches for car collisions. * **UI**: specific high-pitch "ping" for collecting power-ups or pressing buttons. ### 3. Gameplay Loop * **Core Objective**: Finish a 3-lap race in 1st place while surviving attacks from AI bots. * **Combat Mechanic**: Players are not just racing; they are fighting. * **Shooting**: Fire straight-line projectiles (rockets) to stun cars in front. * **Defense**: Drop obstacles (mines/oil) to hinder cars behind. * **Economy (Simplified)**: Earn "Cash" points for every successful hit on an enemy and for finishing position. * **AI Behavior**: 3 AI cars should follow the track pathfinding (using a waypoint system) and randomly fire weapons if the player is within range. ### 4. Mobile Controls & Interaction * **Screen Orientation**: Force **Landscape Mode** for a wide field of view. * **Steering (Left Thumb)**: Implement two large, semi-transparent arrow buttons (Left/Right) on the bottom-left of the screen for steering. *Alternatively, a virtual joystick.* * **Pedals (Logic)**: Implement **Auto-Acceleration** to simplify mobile play. Include a dedicated "Brake/Reverse" button near the steering controls. * **Combat (Right Thumb)**: Place 3 distinct action buttons on the bottom-right arranged in an arc (radius reachable by thumb): * Button A: Fire Missile (Primary Weapon). * Button B: Drop Mine (Secondary Weapon). * Button C: Nitro Boost. * **Feedback**: Screen shake effect (camera jitter) when the player is hit or crashes. Visual button press states (scale down/color change) for touch feedback. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Auto Drive is an action-packed 3D combat racing game that takes traditional racing to the next level by adding weapons and combat elements. This unique racing experience allows players to not only compete for first place but also engage in tactical vehicle combat to eliminate opponents and secure victory.

The game features stunning 3D graphics with detailed car models and dynamic racing environments. Whether you're racing through city streets or challenging tracks, every race becomes an exciting battle for survival and speed.

Core Features

Combat Racing System

Unlike traditional racing games, Auto Drive lets you equip your vehicle with various weapons to attack opponents during races. Strategic use of weapons combined with skillful driving creates an entirely new racing experience where anything can happen.

Multiple Game Modes

  • Online Multiplayer : Compete against players worldwide in real-time combat racing
  • Offline Championship : Progress through structured tournament modes
  • Casual Races : Quick races for instant action
  • Local Split-Screen : Play with friends on the same device in all game modes

Upgrade and Customization System

Win races to earn money that can be invested in: - Performance Upgrades : Improve speed, acceleration, and handling - Weapon Attachments : Equip different weapons for various tactical advantages - Vehicle Modifications : Enhance your car's combat capabilities

Cross-Platform Compatibility

Auto Drive runs smoothly on any modern web browser, making it accessible on: - Desktop computers (Windows, Mac, Linux) - Laptops and tablets - Mobile devices with browser support - No downloads or installations required

Gameplay Mechanics

Racing and Combat Balance

Success in Auto Drive requires mastering both racing skills and combat tactics. Players must: - Navigate tracks at high speeds while avoiding opponent attacks - Time weapon usage strategically to maximize impact - Balance aggressive combat with defensive positioning - Manage resources and upgrades between races

Weapon System

The game features multiple weapon types, each with unique characteristics: - Weapon 1 : Primary offensive tool with reliable damage - Weapon 2 : Secondary weapon with special properties - Weapon 3 : Advanced weapon for experienced players

Operation Guide

Single Player Controls

  • Arrow Up : Accelerate forward
  • Arrow Down : Brake or reverse
  • Arrow Left/Right : Steer left and right
  • J Key : Fire Weapon 1
  • K Key : Fire Weapon 2
  • L Key : Fire Weapon 3

Two-Player Local Mode

Player 1 uses arrow keys and J/K/L for weapons Player 2 uses WASD for movement and X/C/V for weapons: - W : Forward - S : Brake/backwards - A/D : Steer left/right - X/C/V : Weapons 1/2/3

Note: All controls can be customized in the game settings menu to suit your preferences.

Getting Started Tips

  1. Start with casual races to learn the controls and weapon mechanics
  2. Focus on winning races to earn upgrade money early
  3. Experiment with different weapon combinations
  4. Practice balancing speed and combat effectiveness
  5. Use local split-screen mode to practice against friends

Why Play Auto Drive

Unique Gaming Experience

Auto Drive offers something truly different in the racing genre. The combination of high-speed racing and tactical combat creates moments of intense excitement that traditional racing games cannot match.

Social and Competitive Elements

  • Challenge friends in local split-screen matches
  • Compete globally in online multiplayer
  • Progress through championship rankings
  • Develop your own racing and combat strategies

Accessibility and Convenience

  • Completely Free : No payment required to access full gameplay
  • No Installation : Play instantly in your browser
  • Regular Updates : Continuous improvements and new content
  • Cross-Device : Same experience across all supported platforms

Perfect for All Skill Levels

Whether you're new to racing games or a seasoned veteran, Auto Drive provides: - Easy-to-learn controls with depth for mastery - Multiple difficulty options through different game modes - Progression system that rewards both skill and persistence - Customizable controls for optimal comfort

Frequently Asked Questions (FAQ)