Fire Truck Driving School

Seele01-Flash
By
Fire Truck Driving School is an immersive 3D firefighter simulation where you master emergency response driving. Control professional fire engines, navigate realistic city environments, and save lives in challenging rescue missions.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Fire Truck Driving School". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Semi-realistic "Sim-cade" style. Use bright, saturated colors for key elements (Red #FF0000 for the truck, Orange/Yellow for fire) to ensure visibility on small screens. The environment should depict a modern city at sunset (warm ambient lighting, long soft shadows). * **Hero Asset (The Truck):** A mid-poly Fire Engine model composed of distinct hierarchies: * `Chassis`: Main body (glossy red material). * `Wheels`: Separate meshes for rotation/steering animations. * `Ladder Assembly`: Must be a child object capable of independent rotation (Y-axis) and elevation (X-axis). * `Water Nozzle`: Located at the tip of the ladder, acting as the emitter for water particles. * **Environment:** A modular city grid. * **Buildings:** Low-poly skyscrapers with reflective "glass" shaders (simple envMap). * **Target Building:** One specific high-rise building with "burn points" (particle emitters) attached to windows. * **Ground:** Tarmac texture with clear road markings. * **VFX:** * **Fire:** Billboarded sprite particles with an additive blending mode. * **Water:** A continuous stream of blue/white particles or a dynamic `MeshLine` aimed from the nozzle to the raycast target. * **Smoke:** Dark grey semi-transparent particles rising above the fire. * **Mobile Optimization:** Use instanced rendering for repetitive city props (streetlights, trees). Limit dynamic lights to 1 directional light (sun) and simple point lights for the fire glow. Texture resolution cap at 1024x1024. ### 2. Audio Requirements * **BGM:** High-energy, rhythmic orchestral-electronic hybrid track (loopable) that conveys urgency but isn't distracting. * **Sound Effects (SFX):** * **Engine:** Deep diesel engine rumble (pitch should increase with vehicle speed). * **Siren:** Toggleable loud emergency siren (Doppler effect not required, but stereo panning is preferred). * **Environment:** Crackling fire sounds (spatial audio, gets louder as the camera approaches the fire). * **Action:** Water spray "hissing" sound. Success chime when a fire is extinguished. * **UI:** Mechanical "click" sounds for gear shifts or button presses. ### 3. Gameplay Loop The game consists of two distinct phases: 1. **Phase 1: Response (Driving)** * **Goal:** Drive the truck from the spawn point to the "Emergency Zone" (marked by a glowing green cylinder) within a time limit. * **Challenge:** Avoid colliding with city obstacles. * **Transition:** Once the truck stops completely inside the Green Zone, the game automatically switches camera angles and UI to "Firefighting Mode." 2. **Phase 2: Rescue (Operation)** * **Goal:** Use the ladder controls to aim the water nozzle at the burning windows. * **Mechanic:** Raycasting from the nozzle detects if water hits a "Fire Hitbox." * **Scoring:** Each fire cluster has a "health bar." Continuous water contact reduces health. * **Win Condition:** All fires on the building are extinguished. * **Fail Condition:** Time runs out before arrival, or fire consumes the building (timer expires in Phase 2). ### 4. Mobile Controls & Interaction * **Orientation:** Landscape Mode (Fixed). * **UI Layout (Phase 1 - Driving):** * **Left Thumb:** Virtual Steering Wheel (or large Left/Right arrow buttons) placed at `bottom: 20px, left: 20px`. * **Right Thumb:** * Gas Pedal (Vertical slider or large button): `bottom: 20px, right: 20px`. * Brake/Reverse Pedal: `bottom: 20px, right: 100px`. * **Top Right:** Small "Siren" toggle icon and Camera Switch button (Chase vs. Hood view). * **UI Layout (Phase 2 - Firefighting):** * *The Driving UI fades out and is replaced by:* * **Left Joystick:** Controls Ladder Rotation (Left/Right) and Elevation (Up/Down). * **Right Slider:** Controls Ladder Extension (In/Out). * **Action Button (Right):** "SPRAY WATER" (Hold to shoot). * **Touch Feedback:** * Visual: Buttons should scale down slightly (0.9x) when pressed. * Haptic: Trigger a short vibration (`navigator.vibrate(50)`) when the truck collides with an object or when a fire cluster is successfully extinguished. * **Camera Logic:** Use `OrbitControls` restricted logic or a custom `SmoothChaseCamera` class that lags slightly behind the truck for a sense of weight. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Fire Truck Driving School delivers the ultimate firefighter experience through cutting-edge 3D simulation technology. As a member of the elite 911 rescue team, you'll handle dual controls to master emergency response operations in realistic city environments. This immersive fire emergency simulation combines precision driving with life-saving missions, making every second count in your heroic journey.

The game features authentic fire truck mechanics where your quick thinking and driving skills become crucial for successful rescue operations. Navigate through bustling city streets, respond to emergency calls, and coordinate complex firefighting operations in this dynamic sandbox experience.

Core Features

Realistic Fire Engine Controls

Experience authentic dual-control systems that mirror real fire truck operations. Master the art of maneuvering massive emergency vehicles through tight city streets while managing specialized firefighting equipment.

Immersive 3D City Environment

Explore meticulously crafted urban landscapes with realistic buildings, traffic patterns, and emergency scenarios. Every mission takes place in a living, breathing city that responds to your actions.

Professional Emergency Response Training

Develop essential firefighter skills through progressive missions that teach proper emergency response protocols. Learn to prioritize calls, manage resources, and execute life-saving operations under pressure.

Advanced Firefighting Equipment

Operate professional-grade equipment including extendable ladders, high-pressure water cannons, and specialized rescue tools. Each piece of equipment requires skill and strategy to use effectively.

Dynamic Mission System

Face unpredictable emergency scenarios ranging from building fires to rescue operations. No two missions are identical, ensuring fresh challenges and continuous learning.

Game Mechanics

Dual Control System

The game's signature feature allows simultaneous control of vehicle movement and firefighting equipment. This realistic approach mirrors actual fire truck operations where coordination between driving and equipment operation is essential.

Emergency Response Scenarios

Respond to various emergency types including structural fires, vehicle accidents, and rescue situations. Each scenario demands different strategies and equipment usage.

City Navigation Challenges

Navigate through realistic traffic conditions, narrow streets, and urban obstacles while maintaining emergency response speed and safety.

Controls Guide

Vehicle Operation

  • WASD Keys : Control fire truck movement (forward, backward, left, right)
  • C Key : Switch between different camera angles for optimal visibility
  • P Key : Pause game during intense situations for strategic planning

Equipment Controls

  • Left Mouse Button : Operate the extendable ladder system
  • Mouse Movement : Aim and control the high-pressure water cannon
  • Interactive Elements : Click on various firefighting tools and equipment

Camera System

Multiple camera angles provide comprehensive views of your operations, from driver's perspective to aerial overview, ensuring you never miss critical details during rescue missions.

Why Play Fire Truck Driving School

Educational Value

Gain insights into real firefighter operations and emergency response procedures while enjoying engaging gameplay. Perfect for anyone interested in emergency services or simulation gaming.

Skill Development

Improve hand-eye coordination, multitasking abilities, and strategic thinking through challenging rescue scenarios that require quick decision-making.

Accessibility

Completely free to play with no download required. Simply open your web browser and start your firefighter training immediately on any device.

Realistic Experience

Unlike arcade-style games, this simulation prioritizes authenticity, giving players genuine insight into the complexities of emergency response work.

Progressive Challenge

Missions increase in complexity as you develop skills, ensuring continuous engagement and learning opportunities for players of all experience levels.

Frequently Asked Questions (FAQ)