Donut Maker - Sweet Cooking Simulation Game

Seele01-Flash
By
Donut Maker is a delightful cooking simulation game where you create mouth-watering donuts with endless customization options. Mix ingredients, apply colorful glazes, and add adorable toppings to craft the perfect sweet treats!

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Donut Maker 3D**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** "Kawaii" (Cute) Stylized 3D. Use a pastel color palette (soft pinks, creamy whites, light blues) mixed with vibrant food colors (chocolate brown, strawberry red). The lighting should be warm and soft (AmbientLight + DirectionalLight with soft shadows) to make the food look appetizing. * **Main Model (The Donut):** Use a `TorusGeometry` for the donut base. It needs a bread-like texture/color (golden brown). * **Glaze Layer:** A slightly larger, flatter `TorusGeometry` or a mesh overlay sitting on top of the base. Material should be high-gloss (high `shininess` or `roughness: 0.2`) to simulate wet icing. * **Toppings (Instanced Mesh):** Use `InstancedMesh` for performance optimization on mobile. Create small `CylinderGeometry` for sprinkles and small irregular shapes for nuts/fruit chunks. * **Background:** A high-quality wooden table texture for the ground plane. The background environment should be a blurred kitchen or a solid warm gradient (e.g., Peach to Yellow) to mimic the screenshot's vibe. * **Mobile Optimization:** Keep polygon count low for individual topping particles. Use simple materials (MeshStandardMaterial) rather than complex shaders. ### 2. Audio Requirements * **BGM:** A lighthearted, looping Bossa Nova or "Cafe" style track. It should be relaxing and cheerful. * **SFX:** * **UI Click:** A soft "Pop" or "Bubble" sound. * **Glazing:** A liquid "Squish" or pouring sound. * **Sprinkling:** A shaker sound (maraca-like) or light rain sound. * **Completion:** A magical "Tada!" or chime glissando when the donut is finished. ### 3. Gameplay Loop * **Phase 1: Glaze Selection:** The player sees a plain fried donut. A UI carousel at the bottom allows selecting a glaze flavor (Chocolate, Strawberry, Vanilla, Matcha). Tapping a flavor instantly applies the glossy material to the glaze mesh. * **Phase 2: Decoration:** The player enters "Topping Mode." They can select a topping type (Sprinkles, Nuts, Fruit). * **Phase 3: Interaction:** The player drags their finger across the donut to physically "paint" or drop toppings onto the mesh surface using raycasting. * **Phase 4: Finish:** A "Done" button allows the player to admire their creation with a rotating camera animation. ### 4. Mobile Controls & Interaction * **Orientation:** **Portrait Mode** (Vertical) is required for one-handed play. * **Touch Controls:** * **Tap:** Select ingredients from the bottom UI menu. * **Touch & Drag:** When in "Topping Mode," dragging on the screen determines where the sprinkles fall. Implement a Raycaster that detects touch on the Donut mesh. * **UI Design:** * Buttons must be large and thumb-friendly (min-height: 48px). * Place the main menu (Ingredients) at the bottom 25% of the screen. * Place the "Finish/Reset" buttons at the top right. * **Feedback:** Add a subtle scaling animation (bounce effect) to the donut when it is touched or modified to provide tactile visual feedback. Prevent default browser scrolling (`touch-action: none`). Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Donut Maker is a charming cooking simulation game that lets you become a master donut chef from the comfort of your browser. This delightful game combines creativity with culinary fun, allowing players to experiment with countless ingredient combinations and decorating options. With its colorful cartoon art style and intuitive gameplay, it's perfect for players of all ages who love cooking games and sweet treats.

The game features a comprehensive donut-making process, from mixing the basic dough to applying the final decorative touches. You'll have access to a wide variety of glazes, from classic chocolate and vanilla to exotic fruit flavors, ensuring that every donut you create is unique and delicious.

Core Features

Complete Donut Making Experience

Experience every step of the donut-making process in this detailed cooking simulation. Start by selecting and mixing your ingredients, shape your dough, and watch as your donuts take form. The game provides a realistic cooking experience while maintaining a fun, accessible approach.

Endless Customization Options

With numerous glaze varieties and topping combinations available, your creativity is the only limit. Choose from: - Classic flavors : Chocolate, vanilla, strawberry, and caramel glazes - Exotic options : Tropical fruit flavors and unique taste combinations - Decorative toppings : Colorful sprinkles, nuts, candies, and cute decorative elements - Special effects : Sparkles and visual enhancements to make your donuts truly spectacular

Family-Friendly Gameplay

Designed with players of all ages in mind, Donut Maker offers simple controls and engaging gameplay that's perfect for children and adults alike. The game encourages creativity and experimentation without any pressure or time constraints.

Cross-Platform Compatibility

Enjoy seamless gameplay across all your devices. Whether you're using a desktop computer, tablet, or smartphone, the game adapts perfectly to your screen size and input method.

Gameplay Mechanics

The cooking process in Donut Maker is both educational and entertaining. You'll learn about different ingredients and their effects on flavor and texture while having fun creating your masterpieces. The game rewards experimentation and creativity, encouraging players to try new combinations and discover their favorite recipes.

Each donut you create can be customized down to the smallest detail. The layered decoration system allows you to build complex, beautiful designs that reflect your personal style and preferences.

Controls and Interface

The game features an intuitive point-and-click interface that makes cooking a breeze. Simply use your mouse (or finger on mobile devices) to select ingredients, mix components, and apply decorations. The clean, colorful interface ensures that all options are easily accessible and the cooking process flows smoothly.

Menu navigation is straightforward, with clearly labeled sections for ingredients, glazes, and toppings. Visual feedback helps you understand the effects of your choices, making the learning process enjoyable and rewarding.

Why Play Donut Maker

This game is perfect for anyone who enjoys creative activities, cooking simulations, or simply wants to relax with a fun, stress-free gaming experience. It's an excellent choice for:

  • Cooking enthusiasts who want to experiment with recipes and flavors
  • Creative players who enjoy customization and artistic expression
  • Families looking for games that everyone can enjoy together
  • Casual gamers seeking relaxing, non-competitive entertainment
  • Mobile users who want quality gaming experiences on the go

The game's positive, encouraging atmosphere makes it a perfect stress-reliever and creative outlet. There are no failure conditions or time pressure – just pure creative fun and the satisfaction of creating beautiful, delicious-looking treats.

Frequently Asked Questions (FAQ)