Yummy Donut Factory

Seele01-Flash
By
Yummy Donut Factory is a delightful cooking simulation game where you run your own donut bakery. Create mouth-watering donuts from scratch, customize with colorful toppings, and serve satisfied customers in this creative culinary adventure.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Yummy Donut Factory 3D**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** High-saturation, "Kawaii" cartoon aesthetic. Use **MeshToonMaterial** or a custom Cel-Shader to replicate the 2D vector art style of the screenshot in 3D. Colors should be pastel pinks, chocolate browns, and vibrant fruity colors. * **Environment:** A static, isometric view of a kitchen counter. The background should be a low-poly, blurred kitchen scene (shelves, window) to maintain focus on the workspace. * **Key Models:** * **Interactables:** Flour sack, milk carton, butter slice, sugar jar, mixing bowl, whisk, rolling pin. * **Donut Base:** A torus geometry that supports shape keys or morph targets to change from "raw dough" (pale, small) to "baked" (golden, larger). * **Decorations:** Low-poly models for fruit slices (kiwi, orange), whipped cream dollops (spiral cone shape), and particle systems for sprinkles. * **Mobile Optimization:** Limit total scene polygon count to under 30k. Use baked lighting maps on the countertop texture to save GPU resources. ### 2. Audio Requirements * **BGM:** A looping, upbeat, and cozy Bossa Nova or acoustic guitar track. It should be relaxing but energetic. * **Sound Effects (SFX):** * **UI:** Soft "Pop" or "Bubble" sounds for button clicks. * **Interaction:** A "shaker" sound when adding dry ingredients; a "glug-glug" sound for milk; a "whirring" loop when mixing the batter. * **Feedback:** A magical "Chime" or "Sparkle" sound when a stage is successfully completed. A "Burnt/Sad trombone" sound if the baking fails. ### 3. Gameplay Loop The game consists of three distinct phases (State Machine): * **Phase 1: Dough Preparation (Precision Mechanic):** The player sees a recipe card. They must drag specific ingredients into the bowl. * *Logic:* If the player adds the wrong ingredient or too much/too little (based on a visual meter), the mixture turns green/gross, triggering a "Retry" prompt. * **Phase 2: Mixing & Baking:** The player must perform a circular drag gesture to mix. Then, place the dough in the oven. A timer appears; the player must tap "Stop" in the green zone to prevent burning. * **Phase 3: Creative Decoration:** The camera zooms in on the baked donut. The player selects toppings from a bottom UI scroll bar and taps on the donut to place them. * *Win Condition:* Finishing the decoration and tapping "Serve". ### 4. Mobile Controls & Interaction * **Screen Orientation:** **Portrait Mode** (Vertical) is required to optimize for one-handed mobile play and better vertical stacking of the workspace (ingredients on top, bowl in center, UI at bottom). * **Touch Input System:** * Implement a **Raycaster** to detect touch events on 3D objects. * **Drag & Drop:** For ingredients (TouchStart -> raycast object -> TouchMove -> update position -> TouchEnd -> check collision with bowl). * **Circular Gesture:** Detect circular motion on the screen for the mixing phase. * **UI/UX:** * All interactive buttons (Serve, Reset, Topping Icons) must be at least **44x44 pixels** (or equivalent screen percentage) to ensure touch friendliness. * **Haptic Feedback:** Trigger `navigator.vibrate(50)` when an ingredient successfully lands in the bowl or when a topping is placed. * **Visual Feedback:** When an object is touched, scale it up by 10% (Tween) to indicate selection. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Yummy Donut Factory is an engaging cooking simulation game that puts you in charge of your very own donut bakery. This charming game combines realistic cooking mechanics with creative decoration possibilities, making it perfect for anyone who loves baking and food preparation games. The colorful, cartoon-style graphics and intuitive gameplay create a cozy, relaxing gaming experience.

Core Features

This delightful cooking game offers a comprehensive donut-making experience:

  • Complete Recipe System : Follow detailed recipes with precise measurements and cooking steps
  • Realistic Cooking Process : Sift flour, measure ingredients, mix batters, and control baking times
  • Creative Decoration Tools : Unlimited customization with frostings, sprinkles, candies, and toppings
  • Free-to-Play : Enjoy the full game experience without any cost or hidden fees
  • Cross-Platform Support : Play seamlessly on computers, tablets, and smartphones
  • Kid-Friendly Design : Safe, educational gameplay that teaches basic cooking concepts

Authentic Baking Experience

The game provides a realistic cooking simulation where precision matters. You'll need to follow recipes carefully, using exact amounts of ingredients like flour, sugar, salt, butter, and milk. Too much or too little of any ingredient will result in failed donuts, adding an element of skill and attention to detail.

Endless Creative Possibilities

Once your basic donuts are baked to perfection, the real fun begins! Express your creativity with an extensive selection of toppings, including colorful frosting, rainbow sprinkles, chocolate chips, fruit pieces, and decorative candies. Each donut becomes a unique work of edible art.

Game Mechanics

Yummy Donut Factory features intuitive cooking gameplay:

  1. Ingredient Preparation : Start by gathering and measuring ingredients according to the recipe
  2. Mixing Process : Combine dry ingredients, then blend with wet ingredients using proper techniques
  3. Baking Stage : Monitor cooking time and temperature to achieve perfect donuts
  4. Decoration Phase : Add frosting, toppings, and decorative elements to create stunning presentations
  5. Customer Service : Serve your creations and see customer reactions

Controls Guide

The game uses simple, intuitive controls suitable for all ages:

  • Click or Tap : Select and interact with ingredients, tools, and cooking equipment
  • Drag and Drop : Move ingredients into mixing bowls, apply toppings, and arrange decorations
  • Touch Controls : Fully optimized for mobile devices with responsive touch interface
  • Mouse Support : Smooth cursor control for desktop gameplay

All interactions are clearly indicated with visual cues, making it easy to understand what actions are available at each step.

Why Play This Game

Yummy Donut Factory offers several compelling reasons to dive into its sweet world:

Educational Value : Learn basic cooking concepts, measurements, and following instructions while having fun. The game teaches patience, attention to detail, and creative expression.

Stress Relief : The cozy, low-pressure environment provides a relaxing escape from daily stress. The repetitive, satisfying actions of mixing, baking, and decorating create a meditative gaming experience.

Creative Expression : With countless decoration combinations, no two donuts need to look the same. Share your creations and get inspired by others' designs.

Accessibility : Completely free to play with no downloads required. Simply open your browser and start baking immediately on any device.

Family-Friendly : Perfect for players of all ages, with no violent content or inappropriate material. Great for parent-child bonding activities or independent play.

Frequently Asked Questions (FAQ)