Earn to Die - Zombie Racing Game

Seele01-Flash
By
Earn to Die is an adrenaline-pumping zombie racing game where you drive through hordes of undead across post-apocalyptic America. Upgrade your vehicle, smash through zombies, and survive the ultimate road trip!

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Earn to Die (Post-Apocalyptic Zombie Hill Climb)". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** 2.5D Side-scrolling aesthetic. Use a "Gritty Comic" style palette with high contrast—sunset orange skies, dark silhouette mountains in the background (parallax scrolling), and dusty brown foreground terrain. * **Player Vehicle:** A rugged, rusty red truck (Low-poly) that looks heavy. It should feature visual upgrade attachments like a front bumper with spikes, a roof-mounted gun, and large off-road tires. * **Enemies (Zombies):** Green/Grey humanoid figures. They should be generated using `InstancedMesh` for performance, as there will be many on screen. They need simple ragdoll physics or physics-based knockback when hit. * **Terrain:** Procedurally generated hilly terrain (using Perlin noise) that becomes increasingly difficult/rugged the further the player travels. Includes breakable obstacles like wooden crates and explosive barrels. * **Optimization:** Use `BufferGeometry` for all models. Limit real-time lights; use a baked texture approach or a single DirectionalLight with soft shadows. ### 2. Audio Requirements * **BGM:** A heavy, driving Hard Rock / Heavy Metal track with distorted guitars and aggressive drums to match the intense action. * **Sound Effects (SFX):** * **Engine:** Deep, throaty V8 engine roar that changes pitch with speed. * **Impact:** "Squish" and "Splat" sounds when hitting zombies (crucial for the satisfaction loop), metal crunching when landing hard. * **UI:** Heavy metallic clanks for menu interactions and a "Cash Register" *cha-ching* sound when tallying results. ### 3. Gameplay Loop * **Core Mechanic:** Physics-based hill climbing. The player drives to the right, running over zombies. Hitting zombies slows the car down slightly (drag). * **Resource Management:** The car has a limited **Fuel** tank. The run ends when fuel runs out or the car flips over and cannot right itself. * **The Loop:** 1. **Drive:** Go as far as possible before fuel runs out. Smash zombies to earn cash. 2. **Result:** Display distance traveled and money earned. 3. **Garage (Upgrade):** Spend cash to upgrade: Fuel Tank (duration), Engine (acceleration), Tires (grip), Transmission (max speed), or Gun (auto-clears zombies). 4. **Repeat:** Go back to step 1 with the upgraded vehicle to reach new distances. * **Physics:** The car must have suspension physics (wheel colliders). It needs to feel heavy but bouncy on the hills. ### 4. Mobile Controls & Interaction * **Screen Orientation:** Landscape Mode (forced). * **UI Layout:** * **Right Thumb:** A large, circular "Accelerate" button and a smaller "Boost" button (nitro). * **Left Thumb:** Two arrows (Left/Right) to tilt the car in mid-air to control landing (prevent flipping). * **HUD:** Top center bar showing Fuel Level (critical info). Top right showing Cash earned in current run. * **Feedback:** * **Haptic:** Trigger short vibration pulses (using `navigator.vibrate`) when smashing through a horde of zombies or landing a big jump. * **Visual:** Camera shake effect (screen rumble) upon heavy impacts. Damage numbers popping up over smashed zombies. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Earn to Die

Earn to Die is a thrilling free-to-play zombie racing game that combines high-speed driving with post-apocalyptic survival action. With an impressive 4.5/5 star rating, this game challenges you to drive across a zombie-infested America, upgrading your vehicle to smash through hordes of undead creatures blocking your path.

Set in a world overrun by zombies, you'll embark on an epic road trip where survival depends on your driving skills and vehicle upgrades. The game features intense action as you plow through zombie crowds, earning money to improve your ride and increase your chances of reaching safety.

Core Features

Zombie-Smashing Action

Experience the ultimate zombie apocalypse driving simulator. Plow through massive hordes of undead creatures as you race across desolate highways. Each zombie you eliminate earns you valuable currency for upgrades.

Comprehensive Vehicle Upgrade System

Transform your basic ride into a zombie-destroying machine: - Engine Upgrades : Boost speed and acceleration to outrun zombie hordes - Armor Plating : Reinforce your vehicle to withstand zombie attacks - Weapon Systems : Add spikes, blades, and other zombie-crushing modifications - Fuel Capacity : Extend your range to travel further distances - Transmission : Improve handling and performance on rough terrain

Progressive Difficulty System

Start with basic vehicles and work your way up to military-grade machines. Each level presents new challenges, requiring strategic upgrades and improved driving skills to overcome increasingly difficult zombie encounters.

Post-Apocalyptic Environments

Traverse diverse landscapes across America, from abandoned highways to desolate cities. Each environment presents unique obstacles and zombie encounters that test your survival instincts.

Gameplay Mechanics

The core gameplay revolves around distance-based progression. Your goal is to drive as far as possible before running out of fuel or taking too much damage. Money earned from each run can be invested in vehicle upgrades, creating a satisfying progression loop that keeps players engaged.

Strategic Upgrade Choices

Decide how to spend your hard-earned cash: - Prioritize speed for quick escapes - Focus on durability for sustained zombie encounters - Balance all attributes for well-rounded performance

Operation Guide

Earn to Die features intuitive controls designed for easy pickup and play:

  • Mouse Controls : Click and drag to control vehicle movement
  • Keyboard Controls : Use arrow keys or WASD for precise driving
  • Acceleration : Hold down to maintain speed through zombie crowds
  • Balance : Adjust vehicle angle to maintain stability over obstacles

The game includes comprehensive in-game tutorials that guide new players through the upgrade system and advanced driving techniques.

Why Play Earn to Die

Perfect Blend of Action and Strategy

Earn to Die masterfully combines fast-paced zombie action with strategic vehicle management. Unlike pure racing games, every decision about upgrades impacts your survival chances, adding depth to the gameplay experience.

Highly Accessible Gaming

  • Completely Free : No payment required to access the full game
  • Browser-Based : Play instantly without downloads or installations
  • Cross-Platform : Works on desktop computers, tablets, and mobile devices
  • Family-Friendly : Despite zombie themes, maintains an all-ages content rating

Proven Player Satisfaction

With a 4.5-star rating from thousands of players, Earn to Die has established itself as one of the premier zombie racing games available online. The combination of addictive gameplay, satisfying progression, and polished presentation keeps players returning for "one more run."

Endless Replayability

The upgrade system and score-chasing mechanics provide tremendous replay value. Players constantly strive to travel further distances, earn more money, and unlock the ultimate zombie-crushing vehicle.

Game Categories and Appeal

Earn to Die appeals to fans of multiple gaming genres: - Racing Game Enthusiasts : High-speed driving with unique zombie obstacles - Action Game Players : Intense zombie-smashing combat sequences - Strategy Gamers : Deep upgrade system requiring tactical decision-making - Casual Gamers : Easy-to-learn controls with gradually increasing complexity

Whether you're looking for a quick gaming session or hours of zombie-crushing entertainment, Earn to Die delivers an unforgettable post-apocalyptic driving experience that combines the best elements of racing, action, and strategy gaming.

Frequently Asked Questions (FAQ)