Mad Trucker 2

Seele01-Flash
By
Mad Trucker 2 is an intense action-packed truck racing game where you drive massive rigs, knock cars off the road, and keep trucking through challenging highways. Fuel up on junk food and diesel while blasting rockets at obstacles.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Mad Trucker 2". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: 3D Top-Down Arcade style with a slight "Low-Poly" or "Voxel" aesthetic to ensure high performance on mobile devices. The camera should be an **OrthographicCamera** positioned directly above the road (birds-eye view), locked to the player's forward movement. * **Hero Asset**: A large, intimidating Red Semi-Truck (The Rig). It should have a distinct "Cab" and separate bounding box. It needs a particle emitter at the rear for exhaust smoke. * **Traffic Assets**: Low-poly civilian cars (sedans, pickups) in various colors (white, blue, yellow) and police cars. * **Environment**: An infinite scrolling asphalt highway (3-4 lanes wide). The sides should feature green grass textures with occasional passing low-poly trees or rocks to indicate speed. Use a rolling texture technique or object pooling for the road segments to manage memory. * **Items**: * **Fuel Can**: Red/Yellow Jerry can model. * **Fast Food**: Burger or Pizza box model (for health/repair). * **Power-up**: A Rocket icon. * **Performance**: Use `InstancedMesh` for repeating environmental objects (trees, lane markers). Limit real-time shadows; use baked shadows on textures where possible. ### 2. Audio Requirements * **BGM**: A looping, high-energy **Hard Rock / Heavy Metal** track with driving guitar riffs to match the aggressive gameplay. * **SFX**: * **Engine**: A constant, deep diesel engine rumble that pitch-shifts slightly based on speed. * **Impact**: Loud metal-crunching sounds when ramming cars. * **Weapon**: A "Whoosh" followed by an explosion sound for the rocket launcher. * **Pickups**: A "Gulp/Crunch" sound for food (repair) and a "Liquid pouring" sound for fuel. * **Alarm**: A low-fuel or low-health warning beep. ### 3. Gameplay Loop * **Core Mechanics**: The truck moves forward automatically with increasing speed. The player must survive as long as possible. * **Resources Management (The "Mad" aspect)**: * **Fuel**: Depletes constantly. If it hits 0, Game Over. Player must collect "Diesel" pickups. * **Health/Integrity**: Depletes when hitting static obstacles or taking damage from police. Player must collect "Junk Food" to repair the truck. * **Combat & Physics**: * **Ramming**: The truck has high mass. Hitting smaller cars from behind or the side should apply a physics impulse, sending them spinning off the road (Arcade physics). * **Rockets**: Tapping the shoot button fires a projectile straight forward to clear traffic jams or destroy heavy obstacles. * **Progression**: Distance traveled = Score. Traffic density increases over time. ### 4. Mobile Controls & Interaction * **Orientation**: **Portrait Mode** (Vertical) is preferred for one-handed play, maximizing the view of the road ahead. * **Steering Control**: Implement a **1:1 Horizontal Slide/Drag** mechanic anywhere on the bottom half of the screen. Sliding a finger left/right moves the truck across lanes. The truck should have slight inertia (not instant movement) to simulate the weight of a heavy rig. * **Action Button**: A large, translucent circular button (FAB style) in the bottom-right corner for **Firing Rockets**. * **UI/HUD**: * Top Left: Health Bar (Green/Red). * Top Right: Fuel Gauge (Yellow/Black). * Center Top: Current Score/Distance. * Rocket Counter: Displayed near the Fire button. * **Feedback**: Trigger `navigator.vibrate(50)` (Haptic feedback) on collisions and explosions for tactile immersion. Add "Screen Shake" effect on major impacts. 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 Trucker 2 is a high-octane action racing game that puts you behind the wheel of a powerful truck rig. This free browser-based game combines fast-paced driving with combat elements, creating an adrenaline-fueled experience where survival depends on your driving skills and strategic use of resources. The game has earned a solid 3.5/5 rating from players who love its unique blend of trucking simulation and arcade action.

Core Features

Explosive Truck Combat

Mad Trucker 2 delivers intense vehicular combat action where your truck becomes both transportation and weapon. Navigate busy highways while strategically ramming cars off the road and using rocket launchers to clear your path.

Resource Management System

The game features a unique dual-fuel system where you must maintain both your truck's diesel fuel and your driver's energy with junk food. This adds strategic depth as you balance speed, combat, and resource conservation.

Progressive Truck Upgrades

Repair and enhance your rig as you progress through the game. Upgrade your truck's durability, speed, and firepower to handle increasingly challenging road conditions and enemy vehicles.

Free Browser Gaming

Enjoy Mad Trucker 2 completely free without downloads or installations. The game runs smoothly in any modern web browser, making it accessible on both desktop and mobile devices.

Game Gameplay

Mad Trucker 2 challenges players to survive endless highway mayhem while managing limited resources. Your primary objective is to keep your truck moving forward, eliminating obstacles and competing vehicles that block your path.

Highway Survival Mechanics

Navigate through traffic-packed highways where every car represents both a threat and an opportunity. Ram smaller vehicles off the road to clear your path, but be strategic about which battles to pick to conserve fuel and health.

Combat and Weapons

Your truck comes equipped with rocket launchers for dealing with tougher obstacles. Use rockets sparingly as ammunition is limited, saving them for situations where ramming isn't effective.

Operation Guide

Mastering Mad Trucker 2's controls is essential for highway survival:

  • Arrow Keys : Control your truck's movement - accelerate, brake, and steer through traffic
  • Spacebar : Fire rockets at obstacles and enemy vehicles
  • Strategic Driving : Balance aggressive driving with resource conservation

Essential Survival Tips

  • Monitor your fuel gauge constantly and look for diesel refill opportunities
  • Keep your driver fed with junk food to maintain energy levels
  • Use rockets strategically against heavily armored vehicles
  • Ram lighter cars to save ammunition for bigger threats
  • Plan your route to maximize resource collection

Why Play This Game

Mad Trucker 2 offers a unique gaming experience that combines the thrill of truck driving with intense action combat. Unlike typical racing games, this title focuses on survival and resource management, creating engaging gameplay that keeps players coming back.

The game's accessibility through web browsers means you can jump into truck combat action anytime, anywhere. Whether you're looking for a quick gaming session or extended highway mayhem, Mad Trucker 2 delivers consistent entertainment with its blend of strategy and action.

Perfect for players who enjoy vehicle combat games, trucking simulations, or anyone seeking an adrenaline rush from high-speed highway action. The game's straightforward controls make it easy to learn while the resource management adds depth for experienced gamers.

Frequently Asked Questions (FAQ)