Zombie Car Racing

Seele01-Flash
By
Zombie Car Racing is an adrenaline-pumping monster truck game where you drive through zombie-infested wastelands. Crush undead hordes, upgrade your armored vehicle, and survive the apocalypse in this action-packed racing adventure.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Zombie Car Racing**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: 2.5D Side-Scrolling view. The art style should be "Post-Apocalyptic Dieselpunk"—rugged, rusty, and gritty but with vibrant arcade colors (orange rust, green toxic slime, grey concrete). * **Player Vehicle**: A stylized, physics-based Monster Truck/SUV similar to the provided reference image. Key features: * **Chassis**: Rusty metal texture, armored windows. * **Attachments**: A rotating buzzsaw on the front bumper (for melee) and a mounted machine gun on the roof (auto-tracking or fixed angle). * **Wheels**: Large off-road tires with visible suspension springs that compress dynamically based on terrain. * **Environment Generation**: * **Terrain**: Procedurally generated hilly terrain (spline-based) featuring steep ramps, loops, and rocky bumps. Ground texture should blend between mud, asphalt, and bone piles. * **Background (Parallax)**: 3 layers of depth—Foreground (ruined fences, barrels), Midground (destroyed city silhouettes, burning fires), Background (smoggy sky, distant mountains). * **Enemies**: Low-poly Zombies (Green/Grey skin). They should appear in hordes. Use `InstancedMesh` for performance optimization on mobile devices. * **Performance**: Use simple Phong materials or baked textures. Limit dynamic lights to the player's headlights and muzzle flashes. ### 2. Audio Requirements * **BGM**: High-energy, loopable Industrial Metal or Heavy Rock track (distorted guitars, heavy drums) to match the "high-octane" description. * **Sound Effects (SFX)**: * **Engine**: Deep rumble that increases in pitch with speed/acceleration. * **Combat**: Wet "squish" sounds when crushing zombies; rhythmic machine gun fire; metallic "clank" when hitting hard obstacles. * **UI/Feedback**: Cash register "cha-ching" sound for kills; "Whoosh" sound for Nitro activation; Alarm buzzer for low fuel/health. ### 3. Gameplay Loop * **Core Mechanics**: * **Physics-Based Driving**: Similar to *Hill Climb Racing*. The player must balance the car's rotation while airborne to land on wheels. Landing upside down damages the car or ends the run. * **Destruction**: * **Melee**: Touching a zombie with the front buzzsaw or wheels at high speed instantly kills them (ragdoll effect). * **Ranged**: The roof gun shoots projectiles forward. * **Resource Management**: A fuel gauge depletes over time. Fuel cans must be collected on the track to extend the run. * **Scoring**: Score is calculated based on **Distance Traveled** + **Zombies Killed** (converted to Cash). * **Game Over Conditions**: Running out of fuel, vehicle health reaching zero (from crashing/zombie attacks), or flipping over and getting stuck. ### 4. Mobile Controls & Interaction * **Screen Orientation**: Landscape Mode (Mandatory). * **Touch Controls (UI Layout)**: * **Bottom Right (Gas)**: Large pedal icon. Holding it accelerates and tilts the car *back* (wheelie) when airborne. * **Bottom Left (Brake/Reverse)**: Large pedal icon. Holding it slows/reverses and tilts the car *forward* when airborne. * **Upper Right (Nitro)**: Flame icon button. Provides a temporary speed boost. * **Upper Left (Shoot)**: Crosshair icon button. Fires the roof gun. * **Haptic & Visual Feedback**: * Trigger `navigator.vibrate` (short pulse) when hitting obstacles or killing zombies. * **Camera Shake**: Screen shake effect upon heavy impacts or explosions. * **Damage Numbers**: Pop-up floating text showing cash earned per kill. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Zombie Car Racing delivers heart-pounding action in a post-apocalyptic world overrun by the undead. This physics-based racing game combines high-speed driving with zombie-crushing mayhem, offering players an intense survival experience. Navigate through dangerous terrain including swamps, rocky hills, and ruined cities while mowing down hordes of zombies with your powerful monster truck.

Core Features

Apocalyptic Racing Experience

Experience the ultimate survival racing game where speed and destruction go hand in hand. The game features realistic physics that challenge your driving skills as you maintain balance and momentum across treacherous terrain. Every jump, crash, and zombie encounter feels authentic and thrilling.

Zombie Crushing Action

The core gameplay revolves around smashing zombies with pure vehicular force. Drive your armored monster truck directly into zombie hordes, earning points and cash for each undead enemy you eliminate. The satisfying physics-based destruction makes every encounter rewarding.

Vehicle Upgrade System

Customize and enhance your monster truck with comprehensive upgrade options:

  • Speed Boost : Increase acceleration and top speed for faster zombie elimination
  • Fuel Capacity : Extend your range to tackle longer apocalyptic journeys
  • Armor Enhancement : Reinforce your vehicle to withstand zombie attacks and obstacles
  • Weapon Systems : Upgrade your shooting capabilities for ranged zombie elimination
  • Suspension Tuning : Improve handling across rough post-apocalyptic terrain

Diverse Apocalyptic Environments

Race through multiple challenging environments including: - Zombie-infested swamps with treacherous mud and water hazards - Rocky mountainous terrain requiring precise balance and control - Ruined city landscapes filled with debris and undead surprises - Desert wastelands where fuel management becomes critical

Gameplay Mechanics

Zombie Car Racing isn't just about speed – it's about strategic survival . Players must balance aggressive zombie-crushing with careful resource management. Fuel consumption, vehicle damage, and upgrade priorities all factor into your success in this unforgiving post-apocalyptic world.

Operation Guide

Master these essential controls for zombie apocalypse survival:

  • W Key / Up Arrow : Accelerate through zombie hordes and terrain
  • A & D Keys / Left & Right Arrows : Tilt your vehicle for perfect landings and balance
  • Shift Key : Activate nitro boost for explosive speed bursts
  • Spacebar : Fire weapons at distant zombie targets

The game's intuitive control scheme allows players to focus on the action while maintaining precise vehicle control during intense zombie encounters.

Why Play This Game

Zombie Car Racing offers a unique blend of racing excitement and zombie action that appeals to fans of both genres. The game is completely free to play through your web browser, requiring no downloads or installations. With its engaging upgrade system, challenging physics, and satisfying zombie-crushing gameplay, it provides hours of entertainment for players seeking high-octane apocalyptic action.

Whether you're a racing game enthusiast or zombie action fan, this game delivers the perfect combination of speed, destruction, and survival strategy that will keep you coming back for more post-apocalyptic adventures.

Frequently Asked Questions (FAQ)