Car Tuning Simulator - Build Your Dream Car

Seele01-Flash
By
Car Tuning Simulator lets you build and customize your dream car from the ground up. Design every component from engine to paint job, then test drive your creation on the track.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Car Tuning Simulator**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Modular Car Model**: Create a low-poly, modular car chassis (sedan style similar to a Lada or Fiat 124). The hierarchy must be separated into distinct nodes: `Chassis`, `Engine_Bay`, `Suspension_FL`, `Suspension_FR`, `Door_L`, `Door_R`, `Hood`, `Trunk`, and `Wheels`. * **Visual Style**: Use a clean, flat-shaded aesthetic (Cell Shading or Matte Materials) to ensure high performance on mobile devices. Use a bright, neutral color palette for the environment to make the car parts stand out. * **Environment Modes**: * **Garage Mode**: A clean, infinite grid floor with soft, studio-style lighting (Three-point lighting setup). * **Test Track Mode**: A simple, looped race track with low-poly guardrails and a basic terrain mesh. Include a simple gradient Skybox. * **Performance**: Use `THREE.InstancedMesh` for repetitive track elements (guardrails). Ensure textures are compressed or procedurally generated colors to minimize load times. ### 2. Audio Requirements * **BGM (Background Music)**: * *Garage Mode*: Relaxing, low-tempo "Lo-Fi Beats" or "Lounge Jazz" to encourage focus during building. * *Track Mode*: Upbeat, energetic "Synthwave" or "Light Rock" when driving. * **SFX (Sound Effects)**: * **UI**: Soft "Click" for menu selection, "Whoosh" for camera transitions. * **Mechanic**: A satisfying "Ratchet/Wrench" sound when a part is successfully attached. A "Spray Can" hiss when painting. * **Vehicle**: Engine startup sound (ignition), idle loop, acceleration revving (pitch-shifted based on speed), and tire skid sounds on sharp turns. ### 3. Gameplay Loop * **State Management**: The game acts as a Finite State Machine with two main states: `BUILD_MODE` and `DRIVE_MODE`. * **Build Mechanics**: * The car starts as a bare frame. * Players select categories (Engine, Body, Wheels) from a UI menu. * **Logic**: Implement a dependency system (e.g., "Wheels" cannot be attached until "Suspension" is installed; "Pistons" go inside "Engine Block"). * **Customization**: Include a color picker UI that modifies the material color of specific body panels. * **Drive Mechanics**: * Once the car is minimally viable (has engine + 4 wheels), the "Test Drive" button becomes active. * Implement a simplified vehicle physics model (raycast vehicle or sphere-based controller) that allows acceleration, braking, and steering. * If the player crashes, they can reset to the track or return to the garage to tweak the suspension/engine. ### 4. Mobile Controls & Interaction * **Camera Control (Garage)**: * **Orbit**: One-finger drag to rotate the camera around the car. * **Zoom**: Two-finger pinch to zoom in/out. * **Pan**: Two-finger drag to move the camera target. * **Building Interaction**: * Avoid small hit-boxes. Instead of clicking tiny 3D parts, use a **Bottom Carousel UI** (horizontal scroll). * **Drag-and-Drop**: Users drag a part from the UI to the center of the screen. If the part is valid, it "snaps" into position with a visual highlight and haptic feedback. * **Driving Controls (Track)**: * **Landscape Mode**: * **Left Thumb**: An invisible virtual joystick or D-Pad for Steering (Left/Right). * **Right Thumb**: Two large buttons for Gas (Green) and Brake/Reverse (Red). * **UI Design**: * All buttons must have a minimum touch target of 44x44 pixels. * Place the "Switch Mode" (Garage/Track) button in the top-right corner, away from control zones. * **Feedback**: Trigger `navigator.vibrate(50)` when a part snaps into place or the car collides with a wall. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Car Tuning Simulator is the ultimate 3D car building experience that puts you in complete control of designing and constructing your dream vehicle. This comprehensive simulation game combines mechanical engineering with creative customization, allowing you to build a car entirely from scratch using realistic components and systems.

Whether you're passionate about automotive engineering or simply love creating unique vehicles, this game offers an immersive experience that challenges both your technical skills and creative vision. Every component matters, from the engine block to the smallest bolt, making each build a rewarding accomplishment.

Core Features

Complete Vehicle Customization

The game offers unprecedented freedom in car building with three main customization categories:

  • Body Customization : Design the exterior appearance, modify panels, and create unique body styles
  • Engine Tuning : Build and configure the heart of your vehicle with various engine components
  • Suspension System : Fine-tune handling characteristics and ride quality

Realistic Component System

Every part of your car serves a purpose. Install engines, frames, wheels, brakes, and gear shafts in the correct sequence to ensure optimal performance. The game emphasizes proper assembly order and component compatibility, teaching real automotive principles.

Visual Customization Options

Express your creativity through extensive visual customization: - Paint Systems : Choose from numerous colors for body parts - Exterior Panels : Modify and style external components - Accessories : Add finishing touches to make your car unique

Test Track Experience

Once your masterpiece is complete, take it to the test track! The driving simulation lets you experience how your design choices affect performance, handling, and overall driving dynamics.

Gameplay Experience

Building Process

Start with a bare frame and systematically add components. The game guides you through proper assembly procedures while giving you creative freedom in design choices. Each component affects your car's final performance characteristics.

Mechanical Precision

Success depends on attention to detail. Proper installation order, component compatibility, and careful assembly ensure your vehicle performs as intended. The game rewards methodical builders with superior performance.

Creative Expression

While mechanical accuracy is important, the game equally celebrates creative vision. Experiment with color schemes, body modifications, and unique combinations to create a car that reflects your personal style.

Operation Guide

Building Controls

  • Left Click : Select and interact with components
  • Right Mouse Hold : Rotate camera view around your project
  • Mouse Scroll : Zoom in for detail work or zoom out for overview

Driving Controls

  • WASD Keys or Arrow Keys : Control your finished car on the test track
  • Experience how your design choices translate to real driving dynamics

Workshop Navigation

The intuitive interface makes it easy to access different component categories, switch between customization modes, and track your build progress.

Why Play Car Tuning Simulator

Perfect for Automotive Enthusiasts : Whether you're a gearhead or simply curious about car mechanics, this game offers authentic building experiences without the cost and complexity of real automotive work.

Educational Value : Learn about automotive systems, component relationships, and mechanical principles through hands-on experience.

Creative Outlet : Express your unique vision through unlimited customization possibilities. No two builds need to be the same.

Free Browser Gaming : Enjoy this comprehensive simulation without downloads or purchases. Play instantly in any modern web browser on desktop or mobile devices.

Stress-Free Building : Unlike real automotive work, you can experiment freely, make mistakes, and rebuild without consequences. Perfect for learning and creativity.

Start building your automotive masterpiece today and discover the satisfaction of creating something uniquely yours!

Frequently Asked Questions (FAQ)