Demolition Derby 2

Seele01-Flash
By
Demolition Derby 2 delivers heart-pounding vehicular combat where survival depends on your ability to smash and outlast opponents. With 50+ unique cars and intense 3D action, it's the ultimate destruction derby experience.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Demolition Derby 2". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Low-poly 3D Arcade style with vibrant textures. The aesthetic should be gritty but colorful (e.g., bright racing liveries covered in dirt/rust). * **Car Models:** Implement a base class for vehicles with minimal geometry (under 1500 tris per car) to ensure high FPS on mobile. Create distinct visual variants: a compact hatchback (agile), a muscle car (balanced), and a heavy truck (slow but high impact force). * **Damage System:** This is critical. Implement a mesh deformation logic or swap-out models for damaged states (e.g., crumpled hoods, detached bumpers). Use simple shape keys or vertex displacement based on collision impact vectors. * **Environment:** A circular "Arena" or "Stadium" setting enclosed by concrete barriers and chain-link fences. The ground should be a mix of tarmac and dirt textures. * **VFX:** Use `THREE.Points` for high-performance particle systems: gray smoke for engine damage/drifting, orange sparks for metal-on-metal collisions, and fire effects for critical damage. * **Optimization:** Use a single directional light with shadow mapping (optimized map size) and ambient lighting. Merge static environmental meshes to reduce draw calls. ### 2. Audio Requirements * **BGM:** High-energy, adrenaline-fueled Hard Rock or Heavy Metal track to match the chaotic gameplay. * **Sound Effects (SFX):** * **Engine:** Dynamic pitch shifting based on the car's speed. * **Collision:** Three distinct sounds varying by impact force: light "thud," medium "crunch," and heavy "metallic smash." * **Environment:** Tire screeching on tarmac, crowd cheering ambient noise. * **UI:** Mechanical "click" sounds for menu interaction. ### 3. Gameplay Loop * **Objective:** "Last Man Standing." The player enters an arena with 3-5 AI opponents. The goal is to wreck everyone else while surviving. * **Collision Mechanics:** Use a physics engine (like `Cannon.js` or `Ammo.js` integrated with Three.js). Damage is calculated based on Relative Velocity + Mass. Head-on collisions cause maximum damage; T-boning (hitting the side) deals high damage to the victim. * **Health System:** Each car has a Health Bar (HP). When HP reaches 0, the car smokes heavily, stops moving, and is marked as "Wrecked." * **AI Behavior:** AI cars should have basic pathfinding to target the nearest active player/enemy and accelerate towards them. They should reverse if stuck against a wall. * **Win/Loss:** * **Win:** Player is the last car moving. * **Loss:** Player's HP hits 0. ### 4. Mobile Controls & Interaction * **Screen Orientation:** Landscape Mode (Force horizontal). * **Control Scheme:** * **Left Side:** A Virtual Joystick or huge Left/Right arrow buttons for steering. * **Right Side:** Two large buttons: "Accelerate" (Green) and "Brake/Reverse" (Red). * **Action Button:** A smaller "Nitro/Boost" button near the accelerator for sudden speed bursts. * **Camera:** A "Chase Camera" that smoothly follows the player's car. It should have a slight lag/elasticity to convey speed and shake slightly during collisions to provide impact feedback. * **Feedback:** Since mobile lacks physical feedback, implement severe "Screen Shake" on impact. If the device supports it, trigger the Vibration API (`navigator.vibrate`) on heavy collisions. * **UI:** Keep UI elements (Health Bar, Speedometer, Pause) at the top corners, away from the touch control zones. Buttons must have a minimum touch target of 48px by 48px. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Demolition Derby 2 is an adrenaline-fueled 3D driving game that transforms your browser into a high-octane arena of vehicular mayhem. This intense car combat simulator puts you behind the wheel in brutal battles where only the strongest survive. With explosive crashes, strategic gameplay, and bone-crushing collisions, every match delivers edge-of-your-seat excitement that keeps players coming back for more destruction.

The game captures the raw intensity of real demolition derbies, where metal meets metal in spectacular fashion. Whether you're delivering devastating rear-end collisions or expertly dodging incoming attacks, every moment requires split-second decisions and tactical thinking.

Core Features

Demolition Derby 2 stands out with its comprehensive destruction experience:

  • Completely Free : Enjoy full access to all game modes without any payment required
  • 50+ Unique Vehicles : From compact cars to massive semi trucks and even tanks
  • Multiple Game Modes : Free drive, demolition derbies, races, and police chases
  • 6 Car Classes : Progress from Class 0 beginners to Class 5 professional destroyers
  • 60+ Arenas : Diverse racing tracks and demolition venues for endless variety
  • Cross-Platform : Seamlessly play on web browsers, mobile devices, and tablets

Advanced Car Progression System

Start with the humble Tiny Classic and work your way up through an extensive vehicle roster. Each car class offers unique advantages - from the nimble Compact Retro to the devastating Tank. Earn coins through successful destruction and strategic survival to unlock increasingly powerful machines.

Diverse Combat Scenarios

Beyond traditional demolition derbies, engage in high-speed races where combat is encouraged, evade persistent police chases, or explore freely in open-world driving mode. Each scenario demands different tactics and vehicle choices.

Gameplay Mechanics

Success in Demolition Derby 2 requires mastering both offensive and defensive strategies:

Offensive Tactics : Target opponents' weak points, time your attacks for maximum impact, and use the arena environment to your advantage. Rear-end collisions typically deal the most damage while preserving your own vehicle.

Defensive Strategies : Keep your engine compartment protected, use evasive maneuvers to avoid head-on collisions, and position yourself strategically to survive longer battles.

Vehicle Management : Balance aggression with self-preservation. Dealing more damage extends gameplay and increases coin rewards, but reckless driving leads to quick elimination.

Operation Guide

Master these intuitive controls for maximum destruction:

  • WASD Keys or Arrow Keys : Precise vehicle movement and steering control
  • Shift Key : Activate nitrous boost (requires NOS purchase)
  • C Key : Cycle through camera angles for optimal visibility
  • Mouse : Navigate menus and customize settings

The control scheme ensures smooth gameplay across all platforms, whether you're playing on desktop or mobile devices.

Why Play Demolition Derby 2

This game delivers unmatched vehicular combat entertainment for multiple reasons:

Instant Action : No downloads required - jump directly into explosive battles through your web browser. The game loads quickly and runs smoothly on virtually any modern device.

Progression Rewards : Every crash, every survival, and every victory contributes to your advancement. The coin system creates meaningful progression as you unlock increasingly powerful and exotic vehicles.

Endless Replayability : With 60+ arenas, multiple game modes, and dozens of vehicle combinations, no two battles feel identical. Random opponents and dynamic destruction ensure fresh experiences.

Stress Relief : Channel your competitive energy into spectacular digital destruction without real-world consequences. Perfect for unwinding after a challenging day.

Social Competition : Compare your survival skills and destruction records with players worldwide. Master different vehicle classes to prove your demolition derby supremacy.

Frequently Asked Questions (FAQ)