Crazy Cars

Seele01-Flash
By
Crazy Cars is an exciting 3D racing game featuring vibrant tracks, challenging obstacles, and over 17 unique vehicles to unlock. Experience high-speed racing with friends in split-screen mode.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Crazy Cars: Stunt Sandbox**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: The game must use a **Low-Poly, Toon-Shaded** aesthetic. Implement a custom shader or post-processing effect (like Sobel edge detection) to create thick **black outlines** around vehicles and dynamic objects, mimicking a comic book or cartoon look. Colors should be highly saturated (vibrant blues for the sky, bright yellows/cyans for cars). * **World Design**: Create a "Playground" style open map. It should feature a large island environment with sandy beaches and a central city area. * **Key Structures**: Red and white striped ramps, giant loops (Hot Wheels style), vertical spiral climbs, and a large mountain landmark ("Mount Egg"). * **Vegetation**: Low-poly palm trees with simple geometric fronds. * **Mobile Optimization**: * Use **InstancedMesh** for repetitive environmental objects (trees, barriers) to reduce draw calls. * Limit dynamic shadow casting to the player's car only. Use baked lighting or simple ambient occlusion for static geometry. * Texture resolutions should be kept low (e.g., 512x512) or use vertex colors instead of textures where possible. ### 2. Audio Requirements * **BGM**: An energetic, looping **Pop-Punk or Arcade Rock** track. It should feel sunny, fast-paced, and "summery." * **Sound Effects (SFX)**: * **Engine**: A synthesized, rising pitch sound based on the car's velocity (not overly realistic/gritty). * **Drift**: A high-pitched screech when lateral velocity exceeds a threshold. * **Collection**: A satisfying "Ding" or "Chime" (major scale) when collecting stars/wrenches. * **Impact**: A cartoonish "Bonk" or dull thud for collisions; avoid realistic metal crunching sounds. * **UI**: crisp "Click" sounds for buttons. ### 3. Gameplay Loop * **Core Mechanics**: This is a physics-based driving sandbox. The player drives a fast sports car with arcade physics (high grip, bouncy suspension). * **Physics Engine**: Use **Cannon.js** or **Ammo.js** for vehicle physics. The car should be able to drive upside down on loops if speed is sufficient. * **Objectives**: * **Exploration**: The map is scattered with collectibles (Yellow Stars and Silver Wrenches). * **Stunts**: Place collectibles in difficult locations (e.g., mid-air at the end of a ramp, inside a flaming hoop) to force players to perform jumps. * **Progression**: Collecting items increases a score counter. (Simplification for MVP: No shop system, just score accumulation). * **Fail State**: If the car falls off the island into the water, respawn at the nearest checkpoint. ### 4. Mobile Controls & Interaction * **Screen Orientation**: **Landscape Mode** only. * **Touch Controls (UI Layout)**: * **Left Side**: A floating **Virtual Joystick** or two large arrows (Left/Right) for steering. * **Right Side**: Two large circular buttons. * **Accelerator (Gas)**: Bottom right (Green). * **Brake/Reverse**: To the left of the Gas button (Red). * **Nitro/Boost**: A smaller button above the Gas (Blue). * **Top Right**: A "Reset Car" (R) button to flip the car upright if it turtles. * **Camera Behavior**: Implement a "Chase Camera" with slight elasticity (Linear interpolation) to smooth out jitter. It should follow the car's rear but lag slightly during turns to emphasize speed. * **Feedback**: * **Haptic Feedback**: Trigger `navigator.vibrate(50)` on heavy collisions or when landing a big jump. * **Visual Feedback**: Emit white smoke particles (simple sprites) from tires when drifting or braking hard. Speed lines (motion blur effect) at edges of the screen when using Nitro. 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 is a thrilling 3D racing game that delivers high-octane automotive action in a colorful, dynamic environment. This free-to-play browser game combines traditional racing with creative stunt challenges, offering players an extensive playground of exciting tracks, rewarding obstacles, and adrenaline-pumping activities. With its vibrant graphics and engaging gameplay mechanics, Crazy Cars provides endless entertainment for racing enthusiasts of all skill levels.

Core Features

Extensive Vehicle Collection

Choose from over 17 unique cars , each with distinct characteristics and visual designs. From sleek sports cars to powerful muscle cars, every vehicle offers a different driving experience. Collect stars, wrenches, and other valuable items throughout your adventures to unlock these amazing rides and expand your automotive collection.

Diverse Racing Environments

Explore a variety of exciting locations including: - Mount Egg Climbing Challenges : Test your driving skills on steep mountain terrain - Professional Race Tracks : Experience high-speed circuit racing - Stunt Drag Races : Perform spectacular aerial maneuvers and tricks - Obstacle Courses : Navigate through challenging barriers that can launch your car across the map - Exciting Ramps : Launch into the air and perform death-defying stunts

Split-Screen Multiplayer Action

Challenge your friends with the built-in 2-player split-screen functionality . Race head-to-head, compete in stunt challenges, or explore the open world together. This local multiplayer feature makes Crazy Cars perfect for gaming sessions with friends and family.

Collectible System

Gather various collectibles scattered throughout the game world: - Stars : Primary currency for unlocking new vehicles - Wrenches : Upgrade your cars and improve performance - Special Items : Discover hidden rewards that enhance your gaming experience

Gameplay Mechanics

The game features an open-world exploration system where players can freely roam the map to discover new activities and challenges. Unlike linear racing games, Crazy Cars encourages exploration and experimentation, allowing you to find your preferred racing style and favorite activities.

Physics-Based Fun

Experience realistic yet exaggerated physics that make every jump, crash, and stunt feel satisfying. The game's physics engine creates unexpected moments where obstacle courses can literally fling your vehicle across the entire map, adding an element of surprise and hilarity to every session.

Operation Guide

Single Player Controls

  • WASD Keys : Steer your vehicle (forward, backward, left, right)
  • Spacebar : Apply brakes for precise control
  • R Key : Reset your car if stuck or flipped
  • ESC Key : Pause the game

Two Player Controls

  • Player 1 : WASD keys for steering
  • Player 2 : Arrow keys for steering
  • Shared Controls : Both players use spacebar for braking

Pro Tips for Success

  1. Explore Thoroughly : Don't rush through activities - take time to discover hidden collectibles
  2. Master Physics : Learn how momentum and gravity affect your vehicle for better stunt performance
  3. Collect Everything : Gather all stars and wrenches to unlock the full vehicle roster
  4. Practice Stunts : Spend time in stunt areas to improve your aerial maneuvering skills
  5. Try All Vehicles : Each car handles differently - experiment to find your favorites

Why Play Crazy Cars

Completely Free Experience : Enjoy all features without any cost - no hidden fees, no premium content locks, no pay-to-win mechanics. Everything is accessible through gameplay.

Instant Access : Play directly in your browser without downloads, installations, or account creation. Perfect for quick gaming sessions or extended play periods.

Universal Compatibility : Works seamlessly on desktop computers, laptops, tablets, and mobile devices. The responsive design ensures optimal performance across all platforms.

Social Gaming : The split-screen multiplayer feature makes it ideal for local gaming sessions, family entertainment, and friendly competitions.

Endless Replayability : With multiple game modes, numerous vehicles to unlock, and various challenges to master, Crazy Cars offers hundreds of hours of entertainment value.

Stress-Free Fun : The game's colorful, cartoon-like graphics and lighthearted approach to racing create a relaxing, enjoyable atmosphere perfect for unwinding after a busy day.

Frequently Asked Questions (FAQ)