Earn to Die 2012 - Zombie Racing Game

Seele01-Flash
By
Earn to Die 2012 is an action-packed zombie racing game where you drive through the undead apocalypse. Upgrade your vehicle, smash through zombie hordes, and race across the wasteland to survival.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Earn to Die: WebGL Wasteland**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: 2.5D Side-Scrolling perspective using a Low-Poly, Cel-Shaded art style to mimic the original game's comic book aesthetic while ensuring high performance on mobile devices. * **Lighting & Atmosphere**: A warm, post-apocalyptic sunset ambiance. Use an orange/red gradient Fog and HemisphereLight to match the screenshot's mood. Shadows should be sharp (hard shadows) for a gritty look. * **The Vehicle**: A rusty, modified red heavy truck. It must be composed of a chassis and separate wheel meshes to simulate suspension movement visually. Add a "spiked bumper" attachment to the front. * **The Terrain**: Infinite scrolling desert terrain with physics-based obstacles: jagged hills, wooden crates to smash, and ramps for jumping. * **The Zombies**: Low-poly green humanoid figures with simple walk animations. Upon impact, they should ragdoll or shatter into geometric "gore" chunks (red cubes) using a particle system. * **Performance**: Use `InstancedMesh` for repeating environment objects (rocks, cacti) and zombies. Limit texture sizes to 512x512. ### 2. Audio Requirements * **BGM**: A looping, high-energy Heavy Rock/Metal track with distorted guitars and driving drums to pump up the player's adrenaline. * **Sound Effects (SFX)**: * **Engine**: A deep rumble that increases in pitch as the vehicle accelerates. * **Impact**: A wet "squish" sound mixed with a crunchy impact sound when hitting zombies. * **Environment**: Wood splintering sounds when smashing crates; metal scraping sounds upon hard landings. * **UI**: A metallic "clank" for menu selection and a "cash register" 'cha-ching' sound when earning money at the end of a run. ### 3. Gameplay Loop * **Core Mechanism**: A physics-based "distance runner." The player drives from left to right, managing fuel and vehicle stability. * **The Run**: The player presses "Gas" to accelerate. The vehicle consumes fuel over time. Hitting zombies slows the car slightly but grants money. * **Physics & Balance**: The car must traverse uneven terrain. The player must use tilt controls to land flat after jumps. If the car flips upside down, the run ends instantly. * **Upgrade Loop**: * At the end of a run (Out of fuel or flipped), a summary screen shows "Distance Traveled" and "Zombies Killed." * Money is awarded based on these stats. * **Shop Scene**: Between runs, allow players to spend money to upgrade: Fuel Tank (duration), Engine (speed), Tires (grip), or Thruster (boost). * **Progression**: The goal is to reach a fixed distance (e.g., 3000m) to unlock the next level/helicopter. ### 4. Mobile Controls & Interaction * **Screen Orientation**: Landscape Mode (Force landscape logic in CSS/JS). * **Touch Controls**: * **Bottom Right**: A large, circular "Gas" button (Hold to drive). A smaller "Boost" button above it (Active only when upgrade purchased). * **Bottom Left**: Two arrow buttons (Left/Right) to control the car's pitch/rotation while in the air (Tilting). * **UI/UX**: * **HUD**: A fuel gauge bar at the top center (turning red when low) and a speedometer. * **Feedback**: Trigger `navigator.vibrate(50)` on mobile devices when smashing through a zombie or landing a jump. * **Touch Targets**: Ensure all UI buttons are at least 48x48 pixels with distinct pressed states (scaling down or changing color). Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Earn to Die 2012 is a thrilling zombie racing game that combines high-speed driving with undead mayhem. With an impressive 4.3/5 rating from players, this free online game puts you behind the wheel during a zombie apocalypse. Your mission is simple: drive through hordes of zombies, upgrade your vehicle, and race toward safety across the post-apocalyptic wasteland.

Core Features

Zombie Apocalypse Racing

Experience the ultimate zombie survival driving experience as you ram through crowds of undead wanderers. The game features intense action where every zombie you hit adds to the carnage and excitement.

Vehicle Upgrade System

Start with a basic car and gradually upgrade to powerful monster trucks and armored vehicles. Improve your engine, transmission, wheels, and weaponry to become the ultimate zombie-crushing machine.

Multiple Vehicles Available

Unlock and drive various vehicles including: - Basic cars for starting your journey - Heavy trucks for maximum zombie destruction - Armored vehicles for enhanced survival - Monster trucks for ultimate power

Free Browser Gaming

Enjoy this complete zombie racing experience absolutely free. No downloads required - simply play directly in your web browser on any device.

Gameplay Experience

Strategic Progression

Each run earns you money based on distance traveled and zombies eliminated. Use these earnings wisely to upgrade your vehicle's components, ensuring you can travel further with each attempt.

Western Wasteland Setting

Race through diverse post-apocalyptic landscapes inspired by the western United States. Navigate through abandoned cities, desolate highways, and zombie-infested territories.

Easy Controls, Challenging Mastery

While the game is tagged as "Easy" to learn, mastering the optimal upgrade path and driving techniques provides engaging long-term gameplay for racing and zombie game enthusiasts.

Operation Guide

The game features intuitive controls designed for both beginners and experienced players:

  • Arrow Keys or WASD : Control vehicle acceleration, braking, and balance
  • Spacebar : Boost (when available)
  • Mouse : Navigate menus and select upgrades

Your objective is to drive as far as possible while crushing zombies and avoiding obstacles. Each successful run provides currency for vehicle improvements, creating an addictive progression loop.

Why Play Earn to Die 2012

This game perfectly combines the excitement of racing with zombie action themes. The satisfying vehicle upgrade system keeps you engaged as you work toward building the ultimate zombie-crushing machine. With its free-to-play model, cross-platform browser compatibility, and proven track record (rated 4.3/5 by thousands of players), Earn to Die 2012 offers excellent entertainment value for fans of racing games, zombie games, or action-packed browser gaming.

Frequently Asked Questions (FAQ)