Derby Crash - 3D Demolition Derby Game

Seele01-Flash
By
Derby Crash is an adrenaline-pumping 3D demolition derby game where players crash, smash, and destroy vehicles in epic arena battles. Experience realistic damage effects, perform stunning jumps, and be the last car standing!

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Derby Crash Mobile". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** 3D Low-poly but with realistic texturing (PBR materials) to simulate a gritty "Demolition Derby" aesthetic. Bright daylight lighting with hard shadows. * **The Arena:** A large, enclosed stadium or dirt bowl surrounded by concrete barriers and a backdrop of low-poly mountains (or a skybox). * **Terrain:** A textured ground plane mixing dirt and asphalt, featuring tire skid mark decals. * **Obstacles & Props:** * **Ramps:** Various inclines (wooden and concrete) placed strategically for stunt jumps. * **Portals:** Glowing, rotating torus shapes that act as teleporters to different sides of the arena. * **Debris:** Scattered tires and barrels (use InstancedMesh for performance). * **Vehicles:** * Player Car: A robust Muscle Car design (Yellow/Black stripes). * AI Enemies: 2-3 simple AI cars (SUV, Hatchback) that drive aggressively toward the player. * **Performance Optimization:** Limit vehicle polygon count to <2000 tris per car. Use baked lighting for static environment objects. Implement basic LOD (Level of Detail) for distant mountains. ### 2. Audio Requirements * **BGM:** High-energy, instrumental Hard Rock or Heavy Metal track to match the destruction theme (looping). * **Sound Effects (SFX):** * **Engine:** Dynamic pitch shifting based on vehicle speed (idle rumble to high-pitched revving). * **Collision:** "Metal crunch" and "Glass breaking" sounds triggered when colliding with walls or other cars (volume relative to impact velocity). * **Tire Skid:** Screeching sound when drifting or handbraking. * **Portal:** A sci-fi "warp" sound when entering a teleport zone. * **UI:** Mechanical clicks for button presses. ### 3. Gameplay Loop * **Core Mechanic:** The player drives within the arena with the goal of crashing into AI cars to deal damage while performing stunts on ramps. * **Physics Engine:** Integrate **Cannon.js** or **Ammo.js** for vehicle physics (suspension, acceleration, friction). * **Damage System:** * Cars have a Health Point (HP) system. * **Visual Damage:** Emit "Spark" particle systems at the point of impact. If HP drops below 50%, emit black smoke from the engine. At 0 HP, the car catches fire and stops. * **Portals:** Driving into a portal instantly moves the vehicle to a predefined spawn point (preserving velocity). * **Stunts:** Award "Style Points" for airtime duration after hitting a ramp. ### 4. Mobile Controls & Interaction * **Orientation:** Force **Landscape Mode** for optimal driving visibility. * **Touch Controls (UI Overlay):** * **Left Side:** A Virtual Joystick for steering (Left/Right). * **Right Side:** * Large "Gas" pedal button (bottom right). * Medium "Brake/Reverse" pedal button (left of Gas). * Small "Handbrake" button (for drifting). * **Utility Buttons:** * **"Unflip":** A dedicated button to reset the car's rotation (lift car Y+2 and set rotation 0,0,0) if it rolls over. * **"Slow-Mo":** A toggle button to set time scale to 0.5x for cinematic crashes. * **"Cam":** Button to cycle camera views (Third-person follow, Top-down). * **Haptic Feedback:** Trigger device vibration (navigator.vibrate) upon heavy collisions (~200ms duration). Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Derby Crash delivers the ultimate demolition derby experience in stunning 3D graphics. This high-octane car destruction game puts you behind the wheel of powerful vehicles in intense arena battles where only the strongest survives. Inspired by real demolition derby motorsports, the game challenges you to crash, smash, and outlast your opponents until you're the last driver with a functional vehicle.

The game features beautiful mountain landscapes as your destructive playground, complete with ramps for spectacular stunts and mysterious portals that teleport you across the arena. Whether you're a fan of driving games, destruction simulators, or competitive motorsports, Derby Crash offers endless entertainment without any cost.

Core Features

Realistic Vehicle Destruction

Experience cutting-edge damage physics that make every crash feel authentic. Watch as your car's body crumples, windows shatter, and parts fly off with each collision. The realistic damage system affects both visual appearance and vehicle performance, adding strategic depth to your destructive gameplay.

Multiple Vehicle Options

Choose from a diverse fleet of cars, each with unique characteristics and handling properties. From sturdy muscle cars to agile sports vehicles, every car offers a different demolition derby experience. Experiment with different vehicles to find your perfect destruction machine.

Dynamic Arena Elements

The game isn't just about car-to-car combat. Navigate through strategically placed ramps to perform gravity-defying stunts and gain tactical advantages over opponents. Discover portal systems that instantly transport you to different arena locations, perfect for surprise attacks or quick escapes.

Stunning Visual Experience

Immerse yourself in beautifully rendered 3D environments featuring mountainous landscapes and detailed arenas. The game supports fullscreen mode for maximum visual impact, letting you fully appreciate the spectacular crashes and environmental details.

Game Mechanics

Derby Crash combines traditional demolition derby rules with arcade-style gameplay elements. Your primary objective is survival - keep your vehicle operational while systematically disabling opponents' cars through strategic collisions. The game rewards both aggressive driving and tactical thinking.

The portal system adds a unique twist to conventional derby gameplay. These teleportation devices create opportunities for surprise attacks and allow skilled players to escape dangerous situations. Master the portal locations to gain significant advantages over your competition.

Operation Guide

Basic Controls: - WASD or Arrow Keys : Vehicle movement and steering - Space Bar : Handbrake for sharp turns and controlled slides - Enter : Flip your car back upright when overturned - C : Switch between different camera angles - T : Activate slow-motion mode for precise maneuvering

Pro Tips: - Use the handbrake to execute tight turns and avoid incoming collisions - Master the slow-motion feature for better timing during critical moments - Experiment with different camera angles to find your optimal viewing perspective - Learn portal locations to surprise opponents and control arena positioning

Why Play Derby Crash

Derby Crash stands out in the crowded field of online car games by delivering authentic demolition derby excitement with modern gaming features. The combination of realistic physics, strategic gameplay, and spectacular visual effects creates an engaging experience that keeps players coming back for more.

The game is completely free to play directly in your web browser, requiring no downloads or installations. This accessibility, combined with cross-platform compatibility, means you can enjoy demolition derby action anywhere, anytime. Whether you have five minutes or an hour, Derby Crash provides instant entertainment.

For fans of driving games, destruction simulators, or competitive gaming, Derby Crash offers the perfect blend of skill-based gameplay and pure destructive fun. Challenge yourself to master all vehicle types, learn every portal location, and develop winning strategies that make you the ultimate demolition derby champion.

Frequently Asked Questions (FAQ)