DashCraft.io - Multiplayer Racing & Track Building Game

Seele01-Flash
By
DashCraft.io combines high-speed racing with creative track building in one exciting multiplayer experience. Race on community-created tracks, build your own custom circuits, and compete against players worldwide in this innovative .io racing game.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**DashCraft Mobile: Stunt Builder**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Low-poly, vibrant "Arcade" aesthetic similar to the screenshot. Use flat shading or toon shading to maintain high performance on mobile devices. Bright, saturated colors (Red/Blue cars, Orange tracks, Blue sky). * **Models**: * **Cars**: Low-poly sports cars with separate meshes for wheels (to allow rotation/steering animation). * **Track Pieces**: Modular assets including Straight Road, 90-degree Turn, Ramp, Loop-de-loop, and Boost Pads. * **Environment**: A simple "Stadium" enclosure or endless grid floor. Background elements like low-poly floating blimps or distant city skylines (billboards) to add depth without geometry cost. * **Performance**: Use `THREE.InstancedMesh` for repetitive track elements (like barriers or crowd seats). Limit dynamic shadows to the player's car only. Use a simple Gradient Skybox instead of heavy HDRIs. ### 2. Audio Requirements * **BGM**: High-energy, looped Electronic/Synthwave track to induce a sense of speed. * **Sound Effects (SFX)**: * **Engine**: A looped engine hum that modulates pitch based on the car's current velocity. * **Tires**: Screeching sound triggered when lateral velocity exceeds a threshold (drifting). * **Interaction**: "Clunk" sound for physical collisions, futuristic "Whoosh" for boost pads, and a high-pitched "Chime" when passing checkpoints. * **UI**: Crisp "Click" sounds for menu buttons. ### 3. Gameplay Loop * **Physics Engine**: Integrate **Cannon.js** or **Ammo.js** for vehicle physics. The car must feel responsive, with arcade-style grip (not realistic simulation). * **Mode A: Racing (Time Trial)**: * Player spawns at a start point. * Objective: Reach the finish line as fast as possible. * **Ghost System**: Record the player's position/rotation every frame into an array. Replay this array as a transparent "Ghost Car" in subsequent runs to simulate multiplayer competition. * **Fail State**: Falling off the track triggers a respawn at the last passed checkpoint. * **Mode B: Sandbox Builder**: * Allow the player to place track modules on a grid. * Logic: Track pieces must "snap" to the connectors of existing pieces. ### 4. Mobile Controls & Interaction * **Orientation**: **Landscape Mode** mandatory. * **Racing Controls (Touch UI)**: * **Left Side**: Two large arrows (Left/Right) for steering. * **Right Side**: Two large pedals (Gas/Brake). * **Top Center**: A "Reset Car" button (critical for stunt games when flipped). * **Builder Controls**: * **Inventory**: Scrollable horizontal bar at the bottom containing track pieces. * **Gestures**: Single finger drag to place/move. Two-finger pinch to zoom/rotate the camera view. * **Feedback**: * **Camera**: Smooth `Lerp` follow cam that lags slightly behind the car. Add "Camera Shake" effect on high-impact collisions. * **Haptics**: Trigger `navigator.vibrate(20)` on collisions or when landing a jump. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About DashCraft.io

DashCraft.io is a revolutionary multiplayer racing game that puts creativity and competition at your fingertips. This unique .io game combines the thrill of high-speed racing with the creative freedom of track building, creating an endless playground for racing enthusiasts. With its colorful 3D graphics and intuitive controls, players can instantly jump into action-packed races or spend hours crafting the perfect track.

Core Features

Race on Community-Built Tracks

Experience unlimited racing content with tracks created by the global DashCraft community. Every race features ghost opponents - recordings of real players who have completed the track before you. Challenge their times, climb the leaderboards, and prove your racing skills on an ever-growing collection of unique circuits.

Advanced Track Building System

Unleash your creativity with DashCraft's comprehensive track editor. Design everything from simple circuits to complex obstacle courses using a variety of track pieces and props. Add strategic elements like:

  • Boost pads for speed advantages
  • Ramps and jumps for aerial stunts
  • Checkpoints for race progression
  • Pylons and barriers for challenging navigation

Diverse Car Selection

Choose from an impressive garage of vehicles, each with unique handling characteristics. Whether you prefer speed demons or drift masters, there's a perfect car waiting for your racing style. Test your vehicles in free-roam mode to practice stunts, loops, and jumps before hitting the competitive tracks.

Continuous Updates

DashCraft.io receives regular updates with new features, cars, and building elements, ensuring the game stays fresh and exciting for the community.

Gameplay Mechanics

Racing Mode

Compete against ghost recordings of other players on community tracks. Each ghost represents a real player's best time, creating authentic competition even in single-player races. Master the controls, find the optimal racing lines, and climb the global leaderboards.

Building Mode

The track editor provides intuitive tools for creating custom racing experiences. Start with basic road pieces and enhance your tracks with jumps, obstacles, and interactive elements. Share your creations with the community and watch as players from around the world race on your designs.

Operation Guide

Driving Controls

  • W or Up Arrow : Accelerate forward
  • A or Left Arrow : Steer left
  • D or Right Arrow : Steer right
  • S, Down Arrow, or Space : Apply brakes
  • R : Restart from last checkpoint
  • Backspace : Restart race from beginning

Building Interface

The track building controls are displayed within the game editor, providing an intuitive drag-and-drop interface for creating custom tracks.

Why Play DashCraft.io

DashCraft.io offers a unique gaming experience that combines the best of racing and creativity. Unlike traditional racing games with fixed tracks, this game provides unlimited content through its community-driven approach. Whether you're a speed enthusiast looking for new challenges or a creative builder wanting to design the next viral track, DashCraft.io delivers endless entertainment.

The game's accessibility through web browsers means you can jump into races instantly without downloads or installations. The multiplayer aspect creates a living, breathing racing ecosystem where your creations become part of a global community experience.

Frequently Asked Questions (FAQ)