Crazy Cars - 3D Racing Adventure

Seele01-Flash
By
Crazy Cars is an exciting 3D racing adventure featuring vibrant tracks, challenging obstacles, and over 17 unique vehicles. Race solo or with friends in this free browser-based car game.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Crazy Cars - Arcade Stunt Racer**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Implement a **Low-Poly, Cel-Shaded** aesthetic similar to the reference. Use bright, high-saturation colors (Cyan, Yellow, Hot Pink). Implement a **Toon Shader** or a post-processing outline effect (Sobel operator) to give cars and objects a comic-book look with bold black edges. * **Environment Design**: Create an open-world sandbox map containing: * **"Mount Egg"**: A central terrain feature with spiraling roads. * **Stunt Props**: Large red/white striped ramps, vertical loops, and floating rings. * **Obstacles**: Giant hammers or spinners that can fling the car. * **Decor**: Low-poly palm trees, simple blocky city buildings in the background, and a bright blue skybox. * **Performance Optimization**: Use `InstancedMesh` for repeated objects like coins and trees. Limit texture resolution to 512x512. Use `Cannon-es` for physics but limit collision iterations for mobile CPU efficiency. * **Particles**: Add low-poly "puff" particles (dodecahedrons scaling down) for exhaust smoke and drifting trails. ### 2. Audio Requirements * **BGM**: An energetic, upbeat Ska-Punk or fast-paced Pop-Rock loop to maintain a chaotic, fun atmosphere. * **Sound Effects (SFX)**: * **Engine**: Pitch-modulated synth tone based on vehicle speed. * **Drift**: High-pitched tire screeching when lateral velocity exceeds a threshold. * **Collection**: A satisfying "Ding" or "Cha-Ching" sound when picking up stars/wrenches. * **Impact**: Cartoonish "Boing" or "Crash" sounds when hitting obstacles. ### 3. Gameplay Loop * **Core Mechanics**: Arcade driving physics. The car should be fast, bouncy, and forgiving. Implement `RaycastVehicle` physics (via Cannon.js) to handle suspension on uneven ramps. * **Objectives**: * **Exploration**: Drive around to find hidden areas. * **Collection**: Scatter floating Stars (currency) and Wrenches (repair/health) across the map. * **Stunts**: Award points for "Air Time" and drifting duration. * **Progression**: Display a HUD counter for collected stars. (Conceptually: stars unlock the 17+ other cars, but for this prototype, just track the score). * **Fail State**: If the car falls off the map (Y < -10), respawn it at the last safe checkpoint with a "glitch" visual effect. ### 4. Mobile Controls & Interaction * **Screen Orientation**: Force **Landscape Mode**. Display a "Please Rotate Device" overlay if in Portrait. * **Touch Controls**: * **Left Side**: A virtual analog joystick (using a library like `nipple.js` or custom HTML/Canvas overlay) for steering. * **Right Side**: Two large distinct buttons: "Gas" (Green icon) and "Brake/Reverse" (Red icon). * **Action Buttons**: A smaller "Reset Car" (R) button in the top-right corner (crucial for when the car flips over) and a "Handbrake" button for drifting. * **Feedback**: Trigger `navigator.vibrate(50)` on collisions or when collecting a star. Add camera shake (modifying camera position randomly) on heavy impacts. * **UI Layout**: Keep all interactive elements within the "Safe Area" (inset 20px from edges) to avoid notches/rounded corners on modern phones. Button size minimum: 60x60px. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Crazy Cars delivers an exhilarating 3D racing experience that combines high-speed driving with creative challenges and stunning visuals. This free online car game takes you through a vibrant world filled with diverse tracks, entertaining obstacles, and rewarding adventures that will keep you racing for hours.

Set in a colorful, dynamic environment, Crazy Cars offers much more than traditional racing games. You'll navigate through exciting ramps, climb the legendary Mount Egg, compete on professional race tracks, and perform death-defying stunts at drag races. The game's unique approach to racing includes obstacle courses so intense they can literally fling your car across the entire map!

Core Features

Massive Vehicle Collection

Choose from over 17 unique cars , each with distinct characteristics and performance capabilities. From sleek sports cars to powerful muscle cars, there's a perfect vehicle for every racing style. Collect stars, wrenches, and other valuable items throughout your adventures to unlock these amazing machines.

Diverse Racing Activities

Crazy Cars isn't just about racing from point A to point B. The game features multiple activity types:

  • Stunt Racing : Perform incredible aerial maneuvers and jaw-dropping tricks
  • Drag Racing : Test your acceleration and timing in high-speed competitions
  • Obstacle Courses : Navigate through challenging barriers and hazards
  • Mountain Climbing : Conquer the infamous Mount Egg with precision driving
  • Free Roam Exploration : Discover hidden areas and secret challenges

Split-Screen Multiplayer

Experience the thrill with friends through local split-screen functionality . Challenge your buddy to races, compete for the best times, or simply explore the vibrant world together. The two-player mode adds a whole new dimension of fun and competition.

Stunning 3D Graphics

Immerse yourself in beautifully rendered 3D environments featuring colorful cityscapes, tropical beaches with palm trees, and dynamic racing circuits. The game's visual style combines realism with a playful, cartoon-like aesthetic that appeals to players of all ages.

Gameplay Mechanics

Exploration and Discovery

Unlike linear racing games, Crazy Cars encourages exploration. Drive around the expansive map to discover new activities, hidden collectibles, and exciting challenges. Each area offers unique experiences and rewards.

Collectible System

Gather various collectibles scattered throughout the world: - Stars : Primary currency for vehicle purchases - Wrenches : Used for car upgrades and modifications - Special Items : Unlock bonus content and rare vehicles

Progressive Unlocking

As you collect more items and complete challenges, new cars become available. Each vehicle offers different handling characteristics, top speeds, and visual styles, encouraging players to try different approaches to racing.

Operation Guide

Crazy Cars features intuitive controls designed for both keyboard players:

Single Player Controls

  • WASD Keys : Steer your vehicle (forward, backward, left, right)
  • Spacebar : Apply brakes for tight corners and emergency stops
  • ESC Key : Pause the game to access menu options
  • R Key : Reset your car if stuck or overturned

Two Player Controls

  • Player 1 : WASD keys for movement
  • Player 2 : Arrow keys for movement
  • Both players share the spacebar for braking

Pro Tips for Success

  1. Explore Thoroughly : Don't rush through levels - take time to find hidden collectibles
  2. Master the Physics : Learn how your car responds to different surfaces and obstacles
  3. Experiment with Vehicles : Each car handles differently - find your favorite
  4. Use Momentum : Build speed on ramps and use it to reach higher platforms
  5. Practice Stunts : Master aerial control for better stunt performance

Platform Compatibility

Crazy Cars is designed for maximum accessibility:

  • Desktop Computers : Full functionality on Windows, Mac, and Linux systems
  • Mobile Devices : Optimized for iOS and Android smartphones and tablets
  • Web Browsers : Runs smoothly on Chrome, Firefox, Safari, and Edge
  • No Downloads Required : Instant play through your web browser

Why Play Crazy Cars?

Completely Free Gaming

Enjoy the full Crazy Cars experience without spending a penny. No hidden fees, no premium content locks, and no mandatory purchases. Everything in the game can be unlocked through gameplay.

Perfect for All Skill Levels

Whether you're a racing game veteran or a complete beginner, Crazy Cars offers adjustable difficulty through its diverse activity types. Start with simple races and gradually work up to complex stunt challenges.

Social Gaming Experience

The split-screen multiplayer mode makes Crazy Cars perfect for parties, family gaming sessions, or competitive play with friends. Share the excitement and create memorable racing moments together.

Endless Replayability

With over 17 vehicles to unlock, multiple racing modes, hidden collectibles, and various challenges, Crazy Cars offers hundreds of hours of entertainment. Each playthrough can reveal new secrets and strategies.

Instant Accessibility

No lengthy downloads, installations, or account creations required. Simply open your browser, load the game, and start racing immediately. Perfect for quick gaming sessions or extended play periods.

Get ready to satisfy your need for speed and embark on the ultimate 3D racing adventure with Crazy Cars!

Frequently Asked Questions (FAQ)