City Car Driving: Stunt Master

Seele01-Flash
By
City Car Driving: Stunt Master is an exhilarating 3D car simulation game that combines realistic city driving with extreme stunt challenges. Drive amazing supercars through urban environments, perform spectacular stunts, and unlock faster vehicles.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**City Car Driving: Stunt Master - Mobile Edition**". Please read the following detailed game design requirements first, and then generate the code accordingly. Note that since this is a complex physics-based game, you should utilize a physics engine compatible with Three.js (like **Cannon.js** or **Ammo.js**) for the vehicle dynamics. ### 1. Assets & Environment * **Visual Style:** "Optimized Urban Realism." Use low-poly meshes with baked lighting textures to simulate a sunny afternoon city environment (similar to the screenshot's warm lighting). * **Player Vehicle:** A sleek, red sports sedan (resembling a Mitsubishi Lancer Evolution) with a reflective metallic material (StandardMaterial). It must have separate meshes for wheels to allow rotation and suspension movement. * **Environment:** A modular city grid containing: * Asphalt roads with yellow lane markers. * Sidewalks and simple blocky building facades for the background. * **Stunt Elements:** Distinctive ramps, "Loop-de-loops," and half-pipes placed at intersections. These should have a contrasting color (e.g., striped caution textures) so they are visible on small screens. * **Performance:** Implement object pooling for traffic cars (if any). Use a simple shadow map (only the player car casts dynamic shadows). Limit draw calls by merging static city geometry. ### 2. Audio Requirements * **BGM:** A high-energy, looping "Urban Drum & Bass" or generic "Garage Rock" track to induce adrenaline. * **SFX:** * **Engine:** A synthesis loop where pitch increases based on vehicle velocity. * **Drift:** A high-pitched screeching sound triggered when the slip angle exceeds a certain threshold. * **Impact:** Metallic crunch sounds for collisions. * **Success:** A "Ding" or "Cash Register" sound when a stunt or drift combo is completed. ### 3. Gameplay Loop * **Core Mechanics:** The player drives freely in an open city arena. * **Scoring System:** * **Drifting:** Calculate the angle between the car's facing direction and velocity vector. Accumulate points while this angle is maintained above 15 degrees. * **Airtime:** Detect when all four wheels leave the ground (raycast check). Accumulate points for duration in the air. * **Physics:** Realistic arcade physics. The car should feel weighty but grippy. Handbraking should cause the rear to slide out easily. * **Goal:** Reach a target score (e.g., 5000 points) within a time limit, or an endless "Free Roam" mode where the score just accumulates. ### 4. Mobile Controls & Interaction * **Layout:** A landscape-oriented UI overlay (HTML/CSS on top of the Canvas). * **Steering (Left Hand):** A virtual analog joystick or two large buttons (Left/Right arrow icons) on the bottom-left. * **Pedals (Right Hand):** * **Gas:** Large vertical rectangular button (bottom-right). * **Brake/Reverse:** Smaller vertical button next to Gas. * **Handbrake:** A circular button labeled "Drift" placed ergonomically above the Gas pedal for thumb access. * **Nitrous (NOS):** A smaller button labeled "N2O" that provides a temporary velocity impulse. * **Feedback:** * **Visual:** Camera should have a slight "lag" (Lerp) to follow the car, and Field of View (FOV) should widen slightly when using Nitrous. * **UI:** A floating score counter that pops up in the center-top of the screen when drifting. * **Vibration:** Trigger `navigator.vibrate(50)` on collisions or upon landing a big jump. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

City Car Driving: Stunt Master is a thrilling 3D car simulation game that puts you behind the wheel of incredible supercars in a sprawling urban environment. This free-to-play browser game delivers an authentic driving experience combined with heart-pounding stunt action that will keep you engaged for hours.

Set in a detailed city environment, the game offers complete freedom to explore while challenging you to master increasingly difficult stunts and maneuvers. Whether you're a casual driving enthusiast or an adrenaline-seeking stunt performer, this game provides the perfect balance of realistic physics and arcade-style excitement.

Core Features

Realistic 3D City Environment

Explore a massive, detailed cityscape filled with realistic traffic, dynamic weather, and stunning visual effects. The game's 3D graphics engine delivers smooth performance across all devices while maintaining impressive visual fidelity.

Extensive Car Collection

Start with basic vehicles and work your way up to exotic supercars. Each vehicle features unique handling characteristics, speed capabilities, and visual customization options. Earn points through successful stunts to unlock faster, more powerful cars.

Dynamic Stunt System

The city is your playground, featuring: - Massive jumps strategically placed throughout the urban landscape - Loop-the-loops for gravity-defying aerial maneuvers - Drift zones perfect for showcasing your sliding skills - Obstacle courses that test your precision driving abilities

Dual Play Modes

  • Stunt Mode : Focus on performing tricks, earning points, and unlocking new content
  • Free Roam : Simply enjoy cruising through the city at your own pace

Advanced Physics Engine

Experience realistic car physics that respond authentically to your driving inputs. The game simulates weight transfer, tire grip, and aerodynamics for an immersive driving experience.

Gameplay Mechanics

Point-Based Progression

Every successful stunt, drift, and trick increases your points meter. These points serve as currency for unlocking new vehicles and customization options. The more daring your stunts, the higher your point rewards.

Traffic and Police Evasion

Navigate through realistic city traffic while avoiding law enforcement. Getting caught by police or causing too many accidents will impact your performance score.

Multiple Camera Angles

Switch between different camera perspectives to find your preferred driving view. Options include first-person cockpit view, third-person chase camera, and cinematic angles for capturing your best stunts.

Operation Guide

Mastering the controls is essential for becoming a stunt driving expert:

  • WASD Keys or Arrow Keys : Primary vehicle control for acceleration, braking, and steering
  • Space Bar : Hand brake for sharp turns and drift initiation
  • Q/E Keys : Left and right turn signals for realistic driving
  • L Key : Toggle headlights for night driving or tunnel navigation
  • I Key : Engine start/stop functionality
  • F Key : Nitrous boost for extra speed during jumps and straightaways
  • C Key : Cycle through different camera views
  • Escape Key : Pause menu access

Pro Driving Tips

  • Use the hand brake strategically to initiate controlled drifts
  • Build up speed before attempting major jumps
  • Master the timing of nitrous boosts for maximum effect
  • Practice in free roam mode before attempting scored stunt runs

Why Play This Game

City Car Driving: Stunt Master stands out in the crowded field of online car games for several compelling reasons:

Completely Free Experience

Enjoy the full game without any payment requirements. All cars can be unlocked through gameplay, and there are no premium barriers blocking content access.

Cross-Platform Compatibility

Play seamlessly on desktop computers, laptops, tablets, and mobile devices. The game runs directly in your web browser without requiring downloads or installations.

Realistic Yet Accessible

The game strikes the perfect balance between simulation-level realism and arcade accessibility. New players can jump in immediately, while experienced drivers will appreciate the nuanced physics system.

Endless Replayability

With multiple cars to unlock, countless stunt combinations to master, and a vast city to explore, the game offers virtually unlimited entertainment value.

Regular Content Updates

The game receives ongoing improvements and new features, ensuring fresh content and enhanced performance over time.

Frequently Asked Questions (FAQ)