Mad Truckers - Truck Racing Game

Seele01-Flash
By
Mad Truckers is an action-packed truck racing game where you drive powerful semi-trucks through highways. Speed to your destination while knocking out cars for points in this thrilling trucking adventure.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Mad Truckers". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** A top-down, stylized 3D aesthetic (Low-poly). The camera should be an **Orthographic Camera** fixed directly above the road (bird's-eye view) to match the reference screenshot. * **The Player (Semi-Truck):** Construct a compound model consisting of a **Red Cab** and a **White/Green Trailer**. Crucially, implement simple **articulated movement**: the trailer should slightly lag behind and rotate relative to the cab when turning, simulating the heavy weight of a semi-truck. * **The Road:** A 4-lane asphalt highway with double yellow lines in the center and dashed white lines separating lanes. The road should move downwards to simulate high forward speed (infinite scrolling effect). * **Environment:** A desert setting on either side of the road (sand color #D2B48C). Use **InstancedMesh** for scattered scenery (small rocks, cacti, or dry bushes) passing by rapidly to enhance the sense of speed without dropping frame rates. * **Traffic:** Smaller, low-poly civilian cars (Sedans, Coupes) in various bright colors. * **Performance:** Use `MeshLambertMaterial` or `MeshToonMaterial` for efficient lighting. Shadows should be baked or minimal (e.g., simple blobs under cars) to save mobile battery. ### 2. Audio Requirements * **BGM:** A high-energy, driving **Heavy Rock or Southern Rock** track (looping) to induce adrenaline. * **SFX:** * **Engine:** A constant, deep diesel engine rumble. * **Collisions:** A satisfying "Metal Crunch" and glass breaking sound when the truck smashes smaller cars. * **The Horn:** A loud, booming air-horn sound (referenced as "Beep!" in the description). * **Tires:** Screeching sounds when swerving quickly. ### 3. Gameplay Loop * **Core Concept:** "Predatory Racing." Unlike normal racing games where you avoid cars, here you are encouraged to hit them. * **Objective:** Drive as far as possible while maintaining speed. * **Scoring:** * Passive score accumulation for distance traveled. * **Big Bonus Points** for "Knocking Out" smaller cars (colliding with them). When hit, smaller cars should spin out or be knocked off the road with particle effects (smoke/sparks). * **Failure State:** The game ends or health is lost if the truck hits **static obstacles** (roadblocks, concrete dividers, or oil slicks) or drives completely off the road into the dirt. * **Winning Logic:** Endless runner style—beat the high score. ### 4. Mobile Controls & Interaction * **Screen Orientation:** **Portrait Mode** (Vertical) to maximize the view of the road ahead. * **Steering:** **1:1 Touch & Drag**. The truck's horizontal position follows the player's finger on the x-axis. It should feel heavy but responsive. * **Horn Button:** A dedicated, semi-transparent circular button in the bottom-right corner (min 64x64px) to trigger the Air Horn sound. * **Feedback:** * **Visual:** Screen shake (camera shake) impact when hitting a car. * **Haptic:** Trigger `navigator.vibrate(50)` when smashing a car and `navigator.vibrate(200)` when crashing/losing. * **UI:** Minimal HUD showing "Score" and "Health" at the top, using large, readable fonts contrasting against the road. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Mad Truckers is an exciting truck racing game that puts you behind the wheel of massive semi-trucks. With its simple yet addictive gameplay, this browser-based racing game challenges you to speed through highways while strategically knocking out smaller vehicles for maximum points. The game combines the thrill of high-speed racing with the unique experience of controlling heavy-duty trucks.

Core Features

Powerful Semi-Truck Action

Experience the raw power of driving semi-trucks as you dominate the highway. These massive vehicles give you an advantage over regular cars, allowing you to push through traffic and clear your path to victory.

Simple Mouse Controls

The game features intuitive mouse-based controls that make it accessible to players of all skill levels. Simply use your mouse to steer your truck and navigate through traffic.

Highway Racing Thrills

Race against time as you speed toward your destination. The highway setting provides an authentic trucking experience with realistic traffic patterns and road conditions.

Scoring System

Earn points by strategically knocking out cars during your journey. The more vehicles you eliminate, the higher your score climbs, adding a competitive element to each run.

Free Browser Gaming

Enjoy this complete trucking experience directly in your web browser without any downloads or installations required. Play instantly on any device with internet access.

Gameplay Mechanics

In Mad Truckers, your primary objective is to reach your destination as quickly as possible while maximizing your score through strategic vehicle collisions. The semi-truck's size and weight give you a significant advantage over smaller cars, allowing you to clear traffic effectively.

The highway environment presents various challenges including different types of vehicles, traffic density, and time pressure. Success requires balancing speed with tactical positioning to achieve the best possible score.

Operation Guide

Mouse Movement : Use your mouse to control the direction of your semi-truck. Move the mouse left or right to steer your vehicle accordingly.

Navigation Strategy : Position your truck strategically to knock out maximum cars while maintaining speed toward your destination.

Scoring Tips : Target clusters of vehicles for higher point combinations, but always keep your destination goal in mind.

Why Play Mad Truckers

This game offers a unique perspective on racing games by focusing on the power and presence of semi-trucks rather than traditional sports cars. It's perfect for players who enjoy:

  • Casual Gaming : Quick sessions with simple controls make it ideal for short breaks
  • Trucking Simulation : Experience driving large commercial vehicles without complexity
  • Competitive Scoring : Challenge yourself to beat your high scores
  • Stress Relief : The satisfying action of clearing traffic provides great stress relief
  • Accessibility : No download required, play instantly in any modern browser

The combination of easy-to-learn controls and engaging gameplay makes Mad Truckers an excellent choice for both casual gamers and racing enthusiasts looking for something different.

Frequently Asked Questions (FAQ)