GoKarts.io - Multiplayer Kart Racing Battle Arena

Seele01-Flash
By
GoKarts.io is an explosive 3D multiplayer kart racing battle game combining high-speed racing with intense combat. Race against players worldwide, collect powerful weapons, and dominate colorful arenas in this free browser game.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "GoKarts.io". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Voxel Art / Low-Poly aesthetic similar to "Crossy Road" or "Minecraft". Use simple geometric primitives (`THREE.BoxGeometry`) to construct characters, karts, and environment elements. * **Color Palette**: High saturation, vibrant colors. Bright blue sky with floating white voxel clouds. Track surfaces should be dark asphalt with bright yellow/black checkerboard curbs. * **Entities**: * **Player Kart**: A chunky red voxel kart with a visible driver (cube head). * **Enemy Bots**: 3-5 AI karts in different colors (Purple, Blue, Green) with simple behavior (following track waypoints). * **Items**: Floating "Mystery Boxes" (spinning cubes with question marks), Bananas (yellow voxel shapes), and Rockets (red/white voxel shapes). * **Mobile Optimization**: Use `THREE.InstancedMesh` for repetitive environment objects (like trees or barriers) to reduce draw calls. Use basic lighting (`THREE.DirectionalLight` + `THREE.AmbientLight`) and `THREE.MeshLambertMaterial` for performance on mobile GPUs. ### 2. Audio Requirements * **BGM**: A fast-paced, high-energy looping track with a "funky arcade" or "chiptune" vibe to maintain excitement. * **Sound Effects (SFX)**: * **Engine**: A continuous low-pitch hum that increases in pitch as velocity increases. * **Drift**: A high-pitched screeching sound when the drift button is held. * **Item Pickup**: A distinct "ding" or "chime" when driving through a Mystery Box. * **Attack/Impact**: A "whoosh" for firing rockets and a "boom" for explosions. A "slip" sound for hitting bananas. * **UI**: Click sounds for start/restart buttons. ### 3. Gameplay Loop * **Mode**: Battle Arena / Circuit Racing. * **Core Mechanics**: * **Driving**: Arcade physics. The kart should stick to the ground but allow for "drifting" which tightens the turning radius and builds up a mini-boost. * **Combat**: Players collect items from Mystery Boxes. * *Rocket*: Fires forward in a straight line, knocking back the first target hit. * *Banana*: Drops behind the player; causes spin-out if touched. * *Nitro*: Gives a temporary speed multiplier (2x speed for 3 seconds). * **Win/Loss Condition**: * **Win**: Complete 3 laps first OR be the last survivor if playing in Arena mode. * **Loss**: Get eliminated by taking too much damage or finish last. * **Feedback**: Screen shake on impact. Particle emitters (using simple cubes) for exhaust smoke and explosion debris. ### 4. Mobile Controls & Interaction * **Screen Orientation**: **Landscape Mode** (Force landscape via CSS styling). * **Touch Controls**: * **Left Zone (Steering)**: A dynamic **Virtual Joystick**. Dragging up accelerates, dragging down brakes/reverses, dragging left/right steers. * **Right Zone (Actions)**: Two large, distinct circular buttons (minimum 64px diameter). * **Button A (Drift)**: Hold while turning to drift. * **Button B (Item)**: Tap to use the currently held item. * **Camera**: A "Follow Camera" that trails the player's kart smoothly (`lerp`). It should lag slightly behind during acceleration to create a sense of speed. * **UI Layout**: * Top Left: Position (e.g., "1st/4"). * Top Right: Current Item Icon (empty if none). * Top Center: Lap Counter or Health Bar. * **Haptic Feedback**: Trigger `navigator.vibrate(200)` when crashing or getting hit by a weapon. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

GoKarts.io is the ultimate fusion of kart racing and arena combat, delivering non-stop action in vibrant 3D battlegrounds. This free-to-play multiplayer game transforms traditional kart racing into an explosive battle royale experience where speed, strategy, and combat skills determine the victor. Race against players from around the world while wielding crazy weapons and power-ups in this adrenaline-pumping arena brawler.

Core Features

Intense Multiplayer Combat Racing

Experience the thrill of real-time multiplayer battles with players worldwide. Each match combines high-speed kart racing with strategic combat, creating unique gameplay where you must balance racing skills with tactical weapon usage.

Extensive Customization System

Unlock and collect dozens of unique characters, flashy karts, and epic gear as you progress. The robust progression system rewards skilled players with exclusive cosmetic items and performance upgrades that showcase your achievements.

Dynamic Arena Environments

Battle across diverse 3D arenas, each featuring unique layouts, obstacles, and strategic opportunities. From rainbow tracks to challenging terrain, every arena offers different tactical advantages and racing lines.

Seasonal Events and Rewards

Participate in limited-time seasonal events that introduce new challenges, exclusive rewards, and fresh content. These special events keep the gameplay experience exciting with rotating game modes and unique collectible items.

Arsenal of Weapons and Power-ups

Collect and deploy an extensive variety of weapons and power-ups during races. From missiles and shields to speed boosts and traps, strategic item usage can turn the tide of any battle.

Game Playstyle

Battle Royale Racing

Combine racing prowess with combat strategy in intense battle royale matches. Survive elimination rounds while racing to victory, making split-second decisions between aggressive attacks and defensive maneuvering.

Team-Based Modes

Join forces with friends or other players in team-based game modes that emphasize cooperation and coordinated attacks. Communication and teamwork become crucial for dominating opposing teams.

Solo Competition

Test your individual skills in competitive solo matches where only the most skilled racers survive. Climb leaderboards and prove your mastery of both racing and combat mechanics.

Controls Guide

Master these essential controls to dominate the arena:

  • W Key : Accelerate forward and maintain top speed
  • S Key : Reverse or brake during tight maneuvers
  • A/D Keys : Steer left and right with precision control
  • Shift : Activate nitro boost for explosive speed bursts
  • Space/Left Click : Fire weapons or activate collected power-ups
  • Esc : Access pause menu and game options

The responsive control scheme ensures smooth gameplay whether you're executing sharp turns, dodging enemy attacks, or positioning for the perfect weapon strike.

Why Play GoKarts.io

Completely Free : Enjoy full access to all game modes and features without any payment required. All content is unlockable through gameplay progression.

No Download Required : Jump into action instantly through your web browser on any device. Compatible with desktop computers, laptops, and mobile devices.

Global Community : Race and battle against millions of players worldwide in real-time multiplayer matches. Make friends, form teams, and compete in tournaments.

Regular Updates : Experience fresh content with frequent updates introducing new arenas, characters, weapons, and game modes.

Cross-Platform Play : Seamlessly play with friends regardless of their device, thanks to cross-platform compatibility across all supported browsers and mobile devices.

Whether you're a casual racing fan or competitive gamer, GoKarts.io offers endless entertainment with its perfect blend of speed, strategy, and explosive action.

Frequently Asked Questions (FAQ)