Cargo Truck Parking

Seele01-Flash
By
Cargo Truck Parking is a realistic 3D simulation game that challenges you to master the art of driving and parking massive delivery trucks. Navigate tight spaces, handle manual gear shifts, and complete time-sensitive delivery tasks.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Cargo Truck Parking: Port Edition**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Stylized Realism (Low-Poly but high fidelity). Use a bright daylight palette similar to the reference image (saturated blues for the sky/water, rusty oranges/reds for the truck and industrial equipment). * **Hero Asset (The Truck):** A red, heavy-duty industrial cargo truck with a flatbed or wooden-slatted cargo area. The model must separate the wheels from the chassis to allow for rotation and steering animations. * **Environment (The Dock):** An industrial harbor setting. Ground should be concrete texture with painted yellow lane markings. * *Obstacles:* Shipping containers (stacked and single), concrete barriers, orange traffic cones, and parked forklifts. * *Background:* Low-poly representations of cranes, a large ship hull (blue), and the ocean to limit the map bounds. * **Mobile Optimization:** * Use `InstancedMesh` for repeated objects like shipping containers and traffic cones to reduce draw calls. * Limit dynamic lights to one DirectionalLight (Sun) with baked shadows for static environment objects where possible. * Texture compression: Use moderate resolution textures; rely on vertex colors for smaller props. ### 2. Audio Requirements * **BGM:** A subtle, low-fi industrial ambient track (rhythmic metallic sounds mixed with soft bass) that aids concentration, not distraction. * **Sound Effects (SFX):** * **Engine:** A deep, rumbling diesel engine loop. Pitch should increase slightly with speed. * **Brakes:** A distinct pneumatic "air brake" hiss (psshhh) when the truck comes to a full stop. * **Reverse:** A rhythmic "beep-beep-beep" safety alarm when the gear is set to Reverse. * **Environment:** Occasional distant seagull cries and foghorns to sell the harbor atmosphere. * **UI:** Soft mechanical clicks for gear shifting. ### 3. Gameplay Loop * **Objective:** The player spawns at a starting point and must drive the truck into a highlighted semi-transparent Green Zone (Parking Spot) within a time limit. * **Mechanics:** * **Precision Steering:** The truck should have a wide turning radius and slow acceleration to simulate heavy weight. * **Collision System:** The truck has a "Health/Damage" bar. Hitting static obstacles (walls, containers) deals damage. Hitting cones provides a visual warning but no damage. * **Win Condition:** The truck is fully inside the parking zone, velocity is 0, and the timer is > 0. * **Fail Condition:** The timer runs out OR the Damage bar fills up. * **Camera:** A smooth "Follow Camera" positioned behind and slightly above the truck. Implement a slight "lag" in camera movement to emphasize the truck's inertia. ### 4. Mobile Controls & Interaction * **Screen Orientation:** **Landscape** Mode (mandatory for driving visibility). * **Control Layout (Touch-Optimized):** * **Left Hand:** A virtual **Steering Wheel** (bottom-left corner) that rotates visually. Alternatively, a horizontal slider. * **Right Hand:** * **Pedals:** Vertical rectangular buttons for Gas (bottom-right) and Brake (to the left of Gas). * **Gear Shifter:** A vertical toggle switch UI element placed above the pedals: [ D (Drive) | R (Reverse) ]. * **Feedback:** * **Haptic:** Trigger small vibration (using `navigator.vibrate`) on collisions or when shifting gears. * **Visual:** The parking zone changes color (e.g., from Green to Gold) when the truck is perfectly aligned to signal the player to stop. * **UI Elements:** Large, high-contrast text for the Timer and Damage meter at the top of the screen to ensure readability on small screens. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Cargo Truck Parking is an immersive 3D truck driving simulation that puts you behind the wheel of massive commercial vehicles. This challenging parking game combines realistic truck physics with precision driving mechanics, creating an authentic experience for players who want to test their skills with heavy-duty vehicles.

Set in detailed industrial environments including dockyards, warehouses, and cargo facilities, the game offers a comprehensive truck driving experience that goes beyond simple parking challenges.

Core Features

Realistic Truck Simulation

Experience authentic truck handling with: - Manual gear shifting system that requires skill and timing - Realistic physics engine that accurately simulates truck weight and momentum - Detailed 3D graphics featuring industrial environments and authentic truck models - Multiple truck types with different handling characteristics and cargo capacities

Challenging Parking Scenarios

  • Tight space navigation that tests your precision and patience
  • Time-based delivery missions adding pressure and excitement
  • Progressive difficulty levels from basic parking to complex maneuvering challenges
  • Industrial environments including ports, warehouses, and loading docks

Skill Development System

  • Progressive learning curve that helps you master truck driving fundamentals
  • Reward system for successful completions and efficient parking
  • Performance tracking to monitor your improvement over time

Gameplay Mechanics

Truck Handling

Master the unique challenges of driving large commercial vehicles: - Wide turning radius requires careful planning and spatial awareness - Manual transmission adds complexity and realism to the driving experience - Weight distribution affects acceleration, braking, and cornering - Cargo considerations impact vehicle handling and parking precision

Mission Structure

Each level presents specific objectives: - Delivery tasks with designated pickup and drop-off points - Time constraints that challenge your efficiency - Precision parking requirements with minimal collision tolerance - Route planning to navigate the most efficient paths

Operation Guide

Basic Controls

  • Mouse Control : Hold and drag the left mouse button to steer your truck
  • Keyboard Movement :
  • W or Up Arrow: Accelerate forward
  • S or Down Arrow: Reverse
  • A or Left Arrow: Steer left
  • D or Right Arrow: Steer right

Advanced Techniques

  • Smooth steering inputs prevent jackknifing and maintain control
  • Proper use of mirrors through camera controls for better visibility
  • Speed management especially when approaching tight corners
  • Gear shifting timing for optimal power delivery and control

Success Strategies

  • Plan your approach before attempting complex parking maneuvers
  • Use reference points to gauge distances and angles
  • Practice patience - rushing leads to collisions and mission failure
  • Learn from mistakes to improve your technique progressively

Why Play Cargo Truck Parking

This game offers a unique blend of skill-building and entertainment that appeals to both casual gamers and simulation enthusiasts. Unlike arcade-style driving games, Cargo Truck Parking provides an authentic truck driving experience that develops real spatial awareness and vehicle handling skills.

The progressive difficulty system ensures that both beginners and experienced players find appropriate challenges. The realistic physics and detailed environments create an immersive experience that's both educational and entertaining.

Perfect for players who enjoy: - Simulation games with realistic mechanics - Precision-based challenges - Progressive skill development - Industrial and commercial vehicle themes - Patient, methodical gameplay

Frequently Asked Questions (FAQ)