Offroad Muddy Trucks

Seele01-Flash
By
Offroad Muddy Trucks delivers an adrenaline-pumping monster truck experience with challenging terrains and realistic 3D physics. Drive massive vehicles through muddy landscapes in single-player or challenge a friend in 2-player mode.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Offroad Muddy Trucks". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Arcade-style 3D simulation with bright, vibrant colors (high saturation). The skybox should be a clear, bright cyan blue to match the reference. * **Key Asset (Player Vehicle):** A stylized, red SUV-body Monster Truck (resembling a modified Lada Niva) with exaggerated, oversized off-road tires and visible suspension springs. The suspension needs to be dynamic (visual compression). * **Terrain Generation:** A procedurally generated or pre-defined hilly landscape using a heightmap. The terrain should mix grassy textures (green) with distinct "mud pits" (dark brown). * **Mobile Optimization:** Use low-poly models for the truck and environment. Use simple lighting (DirectionalLight + AmbientLight) and avoid expensive real-time shadows on the terrain if possible (use baked shadows or a simple blob shadow under the truck). Limit draw distance and use distance fog to maintain high FPS on mobile browsers. ### 2. Audio Requirements * **BGM (Background Music):** High-energy, looped heavy rock or electronic track with a driving beat to simulate an "adrenaline-pumping" atmosphere. * **Sound Effects (SFX):** * **Engine:** distinct low-rumble diesel idle, pitching up as velocity increases. * **Tires:** "Squishing" sounds when driving over brown mud areas, and crunching sounds on grass/dirt. * **Interaction:** A "Whoosh" sound for Nitro (NOS) activation. * **UI:** Metallic clicks for button presses. ### 3. Gameplay Loop * **Core Mechanics:** The player drives the monster truck across rough terrain to reach a destination or collect checkpoints within a time limit. * **Physics:** Implement a raycast vehicle controller or sphere-based physics logic. The truck must feel heavy but bouncy. * **Suspension:** The body should tilt and roll based on terrain and acceleration. * **Mud Mechanics:** When the vehicle enters "mud" texture areas, friction should decrease (drifting) and maximum speed should be reduced by 30%. * **Nitro:** Pressing the Nitro button provides a temporary speed boost and FOV (Field of View) widening effect. * **Win/Loss Condition:** * **Win:** Reach the finish line/collect all checkpoints. * **Loss:** Flip the truck over (if upside down for > 3 seconds) or run out of time. * **Car Switching:** Allow the user to cycle through 2-3 color variations of the truck dynamically. ### 4. Mobile Controls & Interaction * **Screen Orientation:** Forced **Landscape Mode** for optimal driving view. * **Touch Controls:** * **Left Hand:** Two large arrow buttons (Left/Right) or a virtual joystick for steering. * **Right Hand:** Two distinct pedals (Gas = tall rectangle, Brake/Reverse = wide rectangle). * **Action Buttons:** A circular "NOS" button near the gas pedal. A prominent "Reset/Flip Car" button (Icon: circular arrow) in the top right corner for when the player gets stuck. * **Car Switch:** A simple toggle button in the pause menu or top left UI. * **Camera:** A smooth "Chase Camera" that follows the truck with slight elasticity (lerp) to smooth out the bumpy terrain movement. It should not be rigidly attached. * **Feedback:** Visual camera shake when hitting the ground hard or using Nitro. (If using the Vibration API, trigger short haptic feedback on collisions). Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Offroad Muddy Trucks is an exciting 3D monster truck simulator that puts you behind the wheel of powerful off-road vehicles. Navigate through challenging muddy terrains, overcome obstacles, and experience realistic truck physics in this thrilling driving adventure. Whether you're conquering steep hills or powering through deep mud pits, every drive is an epic journey.

Core Features

Massive Monster Trucks

Choose from a variety of powerful monster trucks, each designed to tackle the toughest off-road challenges. These massive vehicles feature:

  • Realistic Physics Engine : Experience authentic truck handling and suspension dynamics
  • Multiple Vehicle Options : Switch between different monster trucks with unique characteristics
  • Nitro Boost System : Use NOS for extra power when you need to overcome difficult obstacles
  • Detailed 3D Graphics : Enjoy stunning visual details and realistic truck models

Challenging Terrain System

The game features diverse off-road environments that test your driving skills:

  • Muddy Landscapes : Navigate through deep mud that affects vehicle traction and speed
  • Steep Hills and Mountains : Conquer challenging inclines that require skillful acceleration
  • Rocky Obstacles : Maneuver around and over natural barriers
  • Dynamic Weather Effects : Adapt to changing conditions that impact driving difficulty

Multiplayer Experience

Enjoy the thrill with friends in the exciting 2-player mode:

  • Split-Screen Action : Race against a friend on the same device
  • Competitive Challenges : See who can navigate the terrain fastest
  • Shared Adventures : Explore the muddy world together

Gameplay Mechanics

Master the art of off-road driving with intuitive controls and realistic physics. The game rewards skillful navigation over speed, as rushing through mud and obstacles often leads to getting stuck or flipping your vehicle. Plan your route carefully, use momentum wisely, and don't forget to utilize the nitro boost for those crucial moments.

Controls Guide

The game supports both single-player and 2-player modes with simple keyboard controls:

Single Player Controls: - WASD Keys : Accelerate, brake, and steer your monster truck - L-Shift : Activate nitro boost for extra power - R Key : Restart if you get stuck or flip over - F Key : Switch between available vehicles

Two-Player Mode: - Player 1 : Uses WASD keys with L-Shift for nitro - Player 2 : Uses arrow keys with R-Shift for nitro - Both players have dedicated restart and vehicle switch keys

Why Play This Game

Offroad Muddy Trucks stands out as one of the most engaging free truck simulators available online. The combination of realistic physics, challenging terrain, and multiplayer functionality creates an experience that's both accessible to newcomers and satisfying for experienced drivers.

The game runs directly in your web browser without requiring downloads or installations, making it perfect for quick gaming sessions or extended off-road adventures. The 2-player mode adds tremendous replay value, allowing you to share the excitement with friends and family.

Whether you're a fan of simulation games, love monster trucks, or simply enjoy overcoming challenging obstacles, this game delivers an authentic off-road experience that will keep you coming back for more muddy adventures.

Frequently Asked Questions (FAQ)