Grocery Kart - Shopping Cart Drifting Game

Seele01-Flash
By
Grocery Kart revolutionizes the drifting genre by replacing race cars with shopping carts! Navigate through supermarket aisles, collect groceries while drifting, and compete with friends in this hilarious 3D browser game.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Grocery Kart: Supermarket Drift**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Low-poly, vibrant "Toon" aesthetic similar to Crossy Road or Overcooked. Use bright, saturated colors. * **The Cart (Player)**: A red, wireframe shopping cart model. Inside, place a crude, low-poly character model (simple geometric shapes) with "googly eyes" that wobble based on momentum. * **The World (Supermarket)**: A procedurally generated endless aisle or a closed circuit track. * **Floor**: High-gloss linoleum texture (crucial for conveying the "drifting" feel). * **Shelves**: Walls made of stocked shelves. Use InstancedMesh for performance to render hundreds of repeated grocery boxes. * **Collectibles**: * **Groceries**: Colorful boxes/bottles with a slight floating animation. * **Coke Cans**: Red cylinders with a glowing particle effect (Speed Boost). * **Expired Food**: Green, rotting items with a "stink line" particle effect (Obstacle). * **Performance**: Use simple geometry (BoxGeometry, CylinderGeometry) with vertex colors rather than heavy textures where possible to ensure 60FPS on mobile devices. ### 2. Audio Requirements * **BGM**: Fast-paced, comedic "Muzak" (elevator music) sped up to a high tempo, or an upbeat ska/punk track to match the chaotic energy. * **SFX**: * **Locomotion**: A constant, rhythmic "squeaky wheel" sound that changes pitch based on speed. * **Drifting**: A screeching rubber sound when turning sharply. * **Collision**: A loud metallic clatter/crash when hitting shelves. * **Collection**: A cash register "Cha-Ching" sound for normal groceries; a fizzing "pshh" sound for Coke boosts. * **Voice**: A comical scream or "Whoa!" from the character during big drifts. ### 3. Gameplay Loop * **Core Mechanic**: The player drives the shopping cart forward automatically (or with an accelerator). The physics must feel "slippery" and loose to simulate caster wheels, encouraging constant drifting. * **Objective**: Survive as long as possible while collecting "Grocery List" items to build a high score (Cash). * **Buffs & Debuffs**: * **Coke**: Temporarily increases speed and makes the cart invulnerable for 3 seconds. * **Expired Food / Wet Floor Signs**: Hitting these slows the cart down significantly or causes it to spin out of control (loss of steering for 1 second). * **Game Over**: Crashing head-on into a shelf or solid obstacle ends the run. ### 4. Mobile Controls & Interaction * **Screen Orientation**: **Landscape Mode** (Essential for wide peripheral vision for drifting). * **Touch Controls**: * **Steering**: Two large, semi-transparent buttons on the bottom-left (Left Arrow) and bottom-right (Right Arrow) of the screen. * **Drift Modifier**: A dedicated "Drift/Brake" button above the Right Arrow. Holding this while turning creates a sharper drift angle. * **UI Layout**: * Top-Left: Score (displayed as currency, e.g., "$150"). * Top-Right: Mission List (e.g., icons of 3 specific items to find). * Center: "Game Over" modal with a large "Replay" button (minimum 44x44px touch target). * **Haptic Feedback**: Trigger device vibration (if supported by browser API) when crashing into obstacles or collecting the Coke boost. * **Visual Feedback**: Camera shake (screen shake) on impact; "Speed lines" effect on the edges of the screen when boosting. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Grocery Kart is an innovative 3D drifting game that brings a fresh twist to the racing genre. Instead of high-speed sports cars, you'll be maneuvering shopping carts through supermarket aisles! This unique concept combines precise drifting mechanics with grocery collection gameplay, creating an entertaining experience that's both challenging and amusing.

The game features colorful 3D graphics with a playful cartoon style, showing a vibrant supermarket environment filled with obstacles, collectible items, and challenging pathways. Players control adorable characters sitting in shopping carts, complete with expressive animations and fun sound effects.

Core Features

Revolutionary Shopping Cart Physics

Experience realistic shopping cart handling with authentic drifting mechanics. The game captures the unique movement characteristics of shopping carts, including their tendency to slide and their distinctive steering feel.

Supermarket Adventure Mode

Navigate through detailed supermarket environments filled with: - Grocery Collection : Gather various food items and products as you drift - Speed Boosters : Collect Coke cans to increase your cart's velocity - Obstacle Avoidance : Navigate around expired products and supermarket hazards - Mission System : Complete specific objectives to earn in-game currency

Multiplayer Competition

Challenge your friends in local 2-player mode and prove who deserves the title of "Cart Drift King." Compete head-to-head in the same supermarket environment with split-screen gameplay.

Cross-Platform Compatibility

Enjoy seamless gameplay across all devices: - Desktop : Full browser support with keyboard controls - Mobile : Touch-optimized controls for smartphones and tablets - No Download Required : Play instantly in any modern web browser

Gameplay Mechanics

The core gameplay revolves around mastering shopping cart drifting while completing various objectives. Players must balance speed with precision, collecting valuable groceries while avoiding hazardous expired products that can slow you down.

Mission-Based Progression

Each level presents unique challenges and objectives. Successfully completing missions rewards players with cash that can be used to unlock new shopping carts and customize their experience.

Strategic Collection System

Not all items are created equal - prioritize fresh groceries and power-ups while avoiding expired goods. The Coke collection mechanic adds a strategic speed boost element that skilled players can use to their advantage.

Controls Guide

Desktop Controls

  • WASD Keys or Arrow Keys : Navigate your shopping cart
  • Drift Technique : Use momentum and turning to execute perfect drifts around corners
  • Precision Control : Master the unique physics to collect items efficiently

Mobile Controls

  • Touch Buttons : Responsive on-screen controls optimized for mobile gameplay
  • Intuitive Interface : Easy-to-use control scheme that works on all mobile devices
  • Adaptive Layout : Controls automatically adjust to different screen sizes

Why Play Grocery Kart

Grocery Kart stands out in the crowded gaming market by offering:

  1. Unique Concept : The only drifting game featuring shopping carts in supermarkets
  2. Family-Friendly Fun : Suitable for all ages with clean, colorful graphics
  3. Social Gaming : Local multiplayer mode for competitive fun with friends
  4. Instant Access : No downloads, installations, or registrations required
  5. Regular Updates : Fresh content and new challenges added regularly
  6. Skill Development : Improves hand-eye coordination and strategic thinking

Whether you're looking for a quick gaming session or want to master the art of shopping cart drifting, Grocery Kart delivers endless entertainment with its creative gameplay and polished execution.

Frequently Asked Questions (FAQ)