Merge Cakes - Sweet Merge Puzzle Game

Seele01-Flash
By
Merge Cakes is a delightful casual merge puzzle game where you combine identical cakes to create new delicious recipes. Build your bakery empire with colorful graphics, unlock exotic desserts, and enjoy offline rewards in this addictive sweet adventure.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Merge Cakes 3D**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** "Toy-like" 3D aesthetic. Use `MeshToonMaterial` or `MeshStandardMaterial` with soft lighting to create a "delicious," fondant-like look. The art style should be colorful, high-saturation pastel (pinks, creams, bright blues), mimicking the 2D cartoon reference but in 3D. * **Models (Procedural Generation):** * **Base Cakes:** Generate distinct cake tiers using primitives (Cylinders for bases, Torus for donuts/glaze, Spheres for cherries/toppings). * *Tier 1:* Simple Cupcake. * *Tier 2:* Glazed Donut. * *Tier 3:* Slice of Strawberry Cake. * *Tier 4:* Full Rainbow Cake (as seen in the logo). * **Environment:** A 3D "Countertop" background (e.g., a gingham picnic cloth texture or marble surface). * **The Grid:** A visible 3x4 or 4x5 grid of "Plates" (flat cylinders) where cakes sit. * **Performance:** Mobile optimization is crucial. Use instanced meshes if possible for the plates. Keep polygon count low per cake (<300 tris). Use a single directional light with soft shadows and an ambient light to ensure nothing looks too dark. ### 2. Audio Requirements * **BGM:** A looping, cheerful, "Bossa Nova" style track with light percussion and flute/piano. It should be relaxing and cozy. * **SFX - Merge:** A satisfying, high-pitched "Pop" or "Ding" combined with a squishy sound. * **SFX - Income:** A soft "Coin jingle" sound playing periodically. * **SFX - UI:** A wooden "Click" sound for buttons. * **SFX - Unlock:** A celebratory fanfare when a new cake tier is discovered. ### 3. Gameplay Loop * **Core Mechanic:** The player has a grid of slots. A "Buy" button adds a Level 1 Cake to the first empty slot. * **Merge Logic:** Dragging a cake of `Level X` onto another cake of `Level X` destroys both and spawns a `Level X+1` cake in the target slot. * **Economy (Idle):** Every cake on the board automatically generates "Coins" every few seconds. Higher-level cakes generate significantly more coins. * **Spawning:** * Manual: Player spends coins to buy a basic cake. Cost increases with each purchase. * Free Gift: Every 10 seconds, a "Gift Box" falls into an empty slot. Tapping it reveals a free Level 1 cake. * **Victory/Progression:** The game is endless, but the immediate goal is to unlock the highest tier cake defined in the code (e.g., Tier 10). ### 4. Mobile Controls & Interaction * **Camera:** Use an **Orthographic Camera** positioned at a fixed, high angle (isometric view) to ensure the grid interacts predictably without perspective distortion. * **Touch & Drag:** * Implement `Raycaster` for touch detection. * **On Touch Start:** The selected cake should scale up by 1.2x and lift slightly on the Y-axis to indicate selection. * **On Drag:** The cake follows the finger/cursor on the X/Z plane strictly. * **On Release:** If dropped on a matching cake -> Merge. If dropped on empty slot -> Move. If dropped invalidly -> Snap back to original position (using a simple tween animation). * **Screen Orientation:** Forced **Portrait Mode** for one-handed play. * **UI Layout:** * **Top:** Large, readable text for "Total Coins" and "Coins Per Second". * **Center:** The 3D Play Area (Grid). * **Bottom:** A large, thumb-friendly "Buy Cake" button (min-height 60px). * **Feedback:** * **Particles:** When merging, spawn a burst of confetti or heart particles. * **Floating Text:** When coins are generated, show floating "+$10" text rising from the cake. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Merge Cakes is a charming casual merge puzzle game that combines the satisfaction of matching mechanics with the sweetness of bakery management. This colorful and engaging game features beautiful cartoon-style graphics with vibrant cakes, cupcakes, and pastries that will make your mouth water. The game's cozy atmosphere and relaxing gameplay make it perfect for players of all ages who enjoy puzzle games and sweet treats.

Core Features

Addictive Merge Mechanics

The game revolves around the simple yet satisfying concept of merging identical cakes to create upgraded versions. Start with basic cupcakes and work your way up to elaborate multi-layered cakes and exotic desserts. Each merge brings you closer to unlocking rare and beautiful cake designs.

Offline Progression System

One of the standout features is the idle gameplay mechanics . Your bakery continues producing rewards even when you're not playing, ensuring you always have something to look forward to when you return. This makes it perfect for busy players who want to progress without constant active play.

Extensive Recipe Collection

Discover and unlock hundreds of different cake recipes, from simple vanilla cupcakes to elaborate rainbow layer cakes. Each new recipe brings unique visual designs and higher point values, encouraging continuous progression and exploration.

Surprise Gifts and Rewards

The game regularly provides surprise gifts, bonus rewards, and special events that keep the gameplay fresh and exciting. These rewards help accelerate your progress and provide additional merging opportunities.

Secret Bakeries and Locations

As you advance, unlock new secret bakeries with unique themes and exclusive cake recipes. Each location offers different challenges and rewards, adding depth to the gameplay experience.

Gameplay Mechanics

Simple Drag-and-Drop Controls

The intuitive control scheme makes the game accessible to everyone. Simply drag a cake and drop it onto an identical cake to merge them into a new, improved recipe. The smooth animations and satisfying visual effects make each merge feel rewarding.

Strategic Planning

While the controls are simple, mastering the game requires strategic thinking. Plan your merges carefully to maximize space efficiency and create powerful combo chains that generate the highest-value cakes.

Progressive Difficulty

The game gradually introduces more complex cake types and strategic challenges, ensuring that both beginners and experienced players find appropriate levels of challenge and engagement.

Operation Guide

Basic Controls

  • Mouse/Touch : Drag and drop cakes to merge identical items
  • Merge Rule : Combine two identical cakes to create one upgraded cake
  • Objective : Continue merging to unlock rare cake recipes and maximize your bakery's value

Tips for Success

  1. Plan Your Space : Keep your board organized to maximize merging opportunities
  2. Focus on Combos : Try to create chain reactions for better rewards
  3. Collect Offline Rewards : Check back regularly to claim your idle earnings
  4. Watch Reward Ads : Take advantage of bonus opportunities to accelerate progress
  5. Experiment : Try different merging strategies to discover the most efficient approaches

Why Play Merge Cakes

Perfect Casual Gaming Experience

Merge Cakes offers the ideal balance of engaging gameplay and relaxation. It's challenging enough to keep you interested but not so difficult that it becomes stressful. The cozy, colorful aesthetic creates a calming gaming environment perfect for unwinding.

No Download Required

Play instantly in your browser without any downloads or installations. The game runs smoothly on both desktop and mobile devices, making it accessible wherever you are.

Family-Friendly Fun

With its wholesome cake theme and simple mechanics, Merge Cakes is suitable for players of all ages. It's an excellent choice for families looking for games everyone can enjoy together.

Continuous Progression

The idle mechanics ensure you're always making progress, even during breaks. This creates a satisfying sense of advancement that keeps players coming back for more sweet merging action.

Frequently Asked Questions (FAQ)