Car Machines - Build & Race

Seele01-Flash
By
Car Machines combines thrilling racing with creative car building. Customize your dream vehicle with powerful upgrades and conquer challenging terrains across diverse biomes in this free multiplayer racing adventure.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Car Machines". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Create a vibrant, **"Toon/Cel-Shaded" aesthetic** similar to *Roblox* or *Fall Guys*. Use bright, saturated colors (Sky Blue background, Orange explosions, White/Yellow character). Apply a **thick black outline effect** (Sobel operator or inverted hull method) to the main character and vehicle to match the "sticker" look of the screenshot. * **The Machine (Vehicle):** Generate a **modular-looking vehicle** that appears cobbled together from random parts. It should include a main chassis (blocky), two uneven wheels (one perhaps a sawblade or gear), a propeller on the back, and a wooden crate filled with TNT attached to it. * **The Character:** A blocky, distinct humanoid (white jumpsuit, orange helmet) sitting in the vehicle. The character should have simple animations (bobbing head) that react to the car's physics. * **Environment:** A **2.5D side-scrolling course** set in a "Blazing Desert" biome. Include ramps, loop-the-loops, and breakable obstacles (wooden crates). * **Mobile Optimization:** Use simple geometry (BoxGeometry, CylinderGeometry) with low polygon counts. Use unlit or basic materials with hard shadows to save battery. Avoid complex real-time lighting; use baked shadow textures on the ground. ### 2. Audio Requirements * **BGM:** A fast-paced, **chaotic, and goofy orchestral track** (tuba, xylophone, and fast drums) that loops. It should feel manic but fun. * **Sound Effects (SFX):** * *Engine:* A sputtering, unreliable engine noise that increases in pitch with speed. * *Jump/Flip:* A cartoon "whoosh" sound. * *Crash/Fail:* A comedic explosion sound followed by a "wilhelm scream" or a cartoon cry. * *UI:* A "pop" or "click" sound for button presses. ### 3. Gameplay Loop * **Physics Engine:** Integrate **Cannon.js** or **Ammo.js** to handle rigid body physics. The vehicle must react to gravity, suspension, and torque. * **Core Mechanics:** The player starts at the left and must reach the finish line on the right. The terrain is bumpy. * **The "Flip" Mechanic:** The core skill is balancing. The player must rotate the vehicle in mid-air (Front Flip / Back Flip) to land safely on wheels. * **Win Condition:** Reach the checkered flag at the end of the level. * **Lose Condition:** If the character's head touches the ground (capsizing), the vehicle explodes (particle effect), and the level resets. * **Progression:** Scattered "Part Crates" (collectibles) along the track that increase the score. ### 4. Mobile Controls & Interaction * **Screen Orientation:** **Landscape Mode** only. * **Touch Controls (Virtual UI):** * **Right Thumb:** Two large buttons for **Gas** (Green) and **Brake/Reverse** (Red). * **Left Thumb:** Two directional arrows (Left/Right) to control **Air Rotation** (tilting the nose up or down). * **Feedback:** Add **screen shake** (camera jitter) when the vehicle hits the ground hard or explodes. * **UI Layout:** Place a "Restart" button in the top-right corner (min 44x44px safety zone). Display a simple progress bar at the top showing distance to the finish line. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Car Machines

Car Machines is an exhilarating combination of racing and vehicle customization that puts you in the driver's seat of your wildest automotive dreams. This free-to-play browser game challenges you to build, customize, and race incredible machines across some of the most challenging terrains imaginable. Whether you're blazing through scorching deserts or navigating treacherous icy tundras, Car Machines delivers non-stop action and creativity.

The game stands out in the crowded racing genre by seamlessly blending vehicle construction with high-speed competition. Players can craft their perfect racing machine using an extensive array of parts and upgrades, then put their creations to the ultimate test across varied and demanding environments.

Core Features

Advanced Car Customization System

Car Machines features a comprehensive vehicle building system that lets you create truly unique racing machines. Mix and match powerful engine parts, suspension systems, wheels, and body modifications to build cars perfectly suited for different terrains and racing styles.

Diverse Racing Environments

Explore and conquer multiple biomes, each presenting unique challenges: - Desert Races : Navigate sandy dunes and rocky outcrops in blazing heat - Tundra Challenges : Master icy surfaces and snow-covered obstacles - Wild Terrains : Tackle unpredictable landscapes that test every aspect of your vehicle

Multiplayer Competition

Race head-to-head with friends and players worldwide in thrilling multiplayer matches. Test your custom builds against other racers and prove whose engineering skills reign supreme.

Cross-Platform Gaming

Enjoy seamless gameplay across all your devices - play on desktop computers, smartphones, and tablets without missing a beat.

Gameplay Mechanics

Car Machines offers both solo and multiplayer experiences. In single-player mode, push your limits against challenging AI opponents and environmental hazards. The multiplayer mode adds competitive depth, allowing you to race against real players in real-time battles.

The building aspect is equally important as the racing. Success requires understanding how different parts affect your vehicle's performance across various terrains. Heavy armor might protect you in rough terrain but could slow you down on speed tracks.

Operation Guide

Mastering Car Machines requires understanding both construction and control:

Vehicle Controls: - W Key or Up Arrow : Accelerate forward - S Key or Down Arrow : Brake or reverse - A/D Keys or Left/Right Arrows : Perform stunts and adjust vehicle position mid-air

Building Phase: - Select from various chassis options - Choose engines that match your racing style - Add specialized parts for different terrain types - Test your builds in practice runs before racing

Racing Strategy: - Study each biome's unique challenges - Adjust your vehicle setup between races - Master the timing of jumps and stunts - Learn optimal routes through each course

Why Play Car Machines

Creative Freedom Meets Racing Thrills

Unlike traditional racing games that limit you to preset vehicles, Car Machines gives you complete creative control. Every race becomes a test of both your engineering skills and driving abilities.

Free-to-Play Excellence

Enjoy the complete Car Machines experience without spending a penny. All customization options, biomes, and multiplayer features are available for free.

Social Racing Experience

The multiplayer component transforms Car Machines from a simple racing game into a social platform where you can compete with friends, show off your latest creations, and learn from other players' designs.

Endless Replayability

With countless customization combinations and multiple biomes to master, Car Machines offers virtually unlimited replay value. Each new vehicle build opens up different racing strategies and experiences.

Accessible Yet Challenging

While easy to pick up and play, Car Machines offers deep gameplay mechanics that reward experimentation and skill development. New players can enjoy immediate fun while experienced gamers can dive deep into advanced building strategies.

Frequently Asked Questions (FAQ)