My Mart - Supermarket Management Simulation Game

Seele01-Flash
By
My Mart is an engaging supermarket management simulation where you build and run your own retail empire. Grow crops, manage inventory, serve customers, and expand your business in this addictive casual game.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**My Mart - Hyper Casual Supermarket Simulator**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Hyper-casual, 3D Low-poly aesthetic. Use simple geometric shapes (Capsules for characters, Cubes for furniture) with flat, vibrant shading (MeshLambertMaterial or MeshToonMaterial). * **Player:** A bright Green "Bean" or "Stickman" character (CapsuleGeometry) wearing a cap. * **NPCs:** Customers in Blue/Cyan, Staff in other distinct colors. No facial features required. * **Environment:** A clean supermarket layout. Floor should be a soft, light blue (to contrast with the player). Shelves (wood/metal texture), Refrigerators (glass effect), and a Checkout Counter (Red). * **Items:** Tomatoes (Red Spheres), Eggs (White Ovals/Spheres), Cans (Cylinders). * **Performance Optimization:** * Use **InstancedMesh** for repetitive items (e.g., items sitting on shelves, floor tiles) to reduce draw calls. * Limit real-time shadows to the Player and active NPCs. Use baked lighting or simple ambient occlusion for static geometry. * Camera: Isometric or High-Angle Third-Person view, strictly following the player smoothly. ### 2. Audio Requirements * **BGM:** A looping, upbeat, and "shopping mall" style muzak (light jazz or cheerful synth-pop). It should be non-intrusive. * **Sound Effects (SFX):** * **Movement:** Soft rhythmic footsteps. * **Interaction:** A satisfying "Pop" or high-pitched "Bloop" sound when picking up an item. * **Stacking:** A rapid "Whoosh" sound when items fly from a station to the player's hands. * **Animals:** A "Cluck" sound when the Chicken eats a tomato or lays an egg. * **Success:** A "Cha-Ching" cash register sound when a customer pays. ### 3. Gameplay Loop * **Core Mechanics:** The player acts as the manager handling the supply chain. 1. **Harvest:** Run to the **Tomato Garden** zone. Stand still to spawn Tomatoes. 2. **Process:** Carry Tomatoes to the **Chicken Pen**. The Chicken consumes 2 Tomatoes and spawns 1 Egg after a short delay (visual progress bar or timer). 3. **Stock:** Carry items (Tomatoes/Eggs) to their respective **Shelves**. Items physically stack in the player's hands (Visual Stacking: Items pile up vertically on the player model). 4. **Sell:** Customers spawn, pick items from shelves, and queue at the **Cash Register**. The player must stand behind the register to process payments. * **Constraints:** * **Player Capacity:** Max 4 items carried at once. * **Shelf Capacity:** Max 15 Tomatoes, 9 Eggs per shelf. * **Chicken Logic:** Eats 2 Tomatoes -> Produces 1 Egg (Max 4 eggs buffer). * **AI Behavior:** Customers use a simple State Machine: Spawn -> Move to random stocked shelf -> Take Item -> Move to Register -> Wait for Player -> Pay -> Despawn. ### 4. Mobile Controls & Interaction * **Control Scheme:** **Floating Virtual Joystick**. Touching anywhere on the bottom half of the screen creates a joystick origin; dragging moves the character relative to that point. * **Interaction Design (Zone-Based):** * **No Buttons:** Interactions must be automatic. When the player enters a specific "Trigger Zone" (e.g., next to the garden or shelf), the action (harvest/place) starts automatically after a 0.2s delay. * **Feedback:** Display a circular progress ring on the ground or above the player's head while performing an action. * **Haptic Feedback:** Trigger `navigator.vibrate(50)` (short pulse) whenever an item is picked up or placed, providing tactile weight to the inventory. * **Screen Adaptation:** * Support both Landscape and Portrait modes, but optimize the Camera FOV to ensure the surrounding stations are visible in Portrait. * UI Elements (Money counter, Upgrade buttons) must remain anchored to the top corners with safe-area padding. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About My Mart

My Mart is a captivating supermarket management simulation that puts you in charge of building and operating your own retail business. This casual simulation game combines farming, inventory management, and customer service into one engaging experience. As the store manager, you'll handle everything from growing fresh produce to ensuring customers leave satisfied with their shopping experience.

The game features colorful 3D graphics with a charming, cartoonish art style that makes managing your supermarket both visually appealing and accessible to players of all ages. With its intuitive gameplay mechanics and progressively challenging objectives, My Mart offers hours of entertaining business simulation.

Core Features

Complete Business Management Experience

Take control of every aspect of your supermarket operation:

  • Farm-to-Store Integration : Grow your own tomatoes and raise chickens to produce fresh eggs
  • Inventory Management : Stock shelves with the right quantities to meet customer demand
  • Customer Service : Operate the cash register and ensure quick checkout times
  • Resource Balancing : Master the art of supply and demand management
  • Strategic Planning : Optimize your workflow to maximize efficiency and profits

Multi-Station Gameplay

Your supermarket features several key areas that require constant attention:

  • Tomato Garden : Harvest fresh tomatoes for your produce section
  • Chicken Coop : Feed chickens to produce eggs for your dairy section
  • Product Shelves : Maintain fully stocked tomato and egg displays
  • Cash Register : Process customer purchases quickly and efficiently
  • Storage Areas : Manage inventory space and product flow

Progressive Challenge System

Start with basic operations and gradually expand your responsibilities as you master each aspect of supermarket management. The game provides helpful prompts to guide you through new tasks while maintaining the perfect balance of challenge and accessibility.

Gameplay Mechanics

Resource Management Strategy

Success in My Mart requires careful planning and resource allocation:

  • Carrying Capacity : You can hold up to 4 items at once, requiring strategic trips
  • Shelf Limits : Tomato shelves hold 15 items, egg shelves accommodate 9 items
  • Production Ratios : Each 2 tomatoes fed to chickens produces 1 egg (up to 4 eggs total)
  • Customer Flow : Balance production speed with customer demand

Optimal Workflow Patterns

Develop efficient routines to maximize your supermarket's performance:

  1. Morning Setup : Harvest tomatoes and prepare initial inventory
  2. Production Cycle : Feed chickens strategically to maintain egg supply
  3. Shelf Management : Keep both product lines fully stocked
  4. Customer Service : Process checkouts quickly to maintain satisfaction
  5. Continuous Monitoring : Adapt to changing demand patterns

Operation Guide

Movement Controls

Navigate your supermarket using multiple control options:

  • WASD Keys : Standard PC gaming movement
  • Arrow Keys : Alternative keyboard navigation
  • Mouse Drag : Click and drag for intuitive movement
  • Touch Controls : Full mobile device support for on-the-go management

Daily Operations Workflow

Your typical day involves cycling through these essential tasks:

  1. Harvest Phase : Collect ripe tomatoes from your garden area
  2. Feeding Time : Provide chickens with tomatoes to stimulate egg production
  3. Stocking Shelves : Distribute products to customer-accessible areas
  4. Customer Service : Ring up purchases and handle transactions
  5. Maintenance : Monitor inventory levels and plan next production cycle

Success Strategies

  • Time Management : Develop efficient routes between stations
  • Predictive Stocking : Anticipate customer needs before shelves empty
  • Resource Conservation : Don't overproduce - balance supply with demand
  • Customer Priority : Never let customers wait too long at checkout

Why Play My Mart

My Mart offers a perfect blend of relaxation and strategic thinking that appeals to casual gamers and simulation enthusiasts alike. The game's charm lies in its ability to make complex business concepts accessible and fun.

Stress-Free Gaming Experience

Unlike high-pressure games, My Mart allows you to progress at your own pace while still providing engaging challenges. The colorful graphics and friendly gameplay make it perfect for unwinding after a busy day.

Educational Value

Players naturally learn valuable lessons about: - Supply chain management - Customer service excellence - Resource optimization - Time management skills - Basic business principles

Accessibility Features

  • No Download Required : Play instantly in any web browser
  • Cross-Platform Compatible : Seamless experience on desktop and mobile
  • Intuitive Controls : Easy to learn, satisfying to master
  • Family-Friendly : Suitable for players of all ages
  • Free to Play : Complete game experience at no cost

Whether you're a simulation game veteran or new to the genre, My Mart provides an engaging introduction to business management gaming that will keep you coming back to grow your retail empire.

Frequently Asked Questions (FAQ)