Merge Cakes - Sweet Bakery Merge Game

Seele01-Flash
By
Merge Cakes is an addictive casual merge game where you combine identical cakes to create new, more elaborate dessert recipes. With colorful graphics, idle gameplay mechanics, and endless progression, it's the perfect sweet escape for puzzle lovers.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Merge Cakes". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Adorable, "Kawaii" low-poly 3D aesthetic. Use a bright, pastel color palette (pinks, creams, baby blues, mint greens). The lighting should be soft and shadowless (ambient light + soft directional light) to mimic a cheerful cartoon look. * **Game Assets (Procedural Generation):** Instead of loading external GLBs, procedurally generate the cake models using Three.js primitives to ensure fast loading on mobile: * **Level 1 Cake:** A simple CylinderGeometry (Pink) with a small Sphere on top (Cherry). * **Level 2 Cake:** Two stacked Cylinders (different widths, Chocolate/Vanilla) to look like a tiered cake. * **Level 3 Cake:** A CubeGeometry (Tiramisu style) with particle sprinkles on top. * **Grid:** A 3x4 or 4x4 grid of rounded squares (planes) on a wooden table texture, acting as "Plates" or "Slots". * **Visual Effects (VFX):** * **Merge Effect:** When two cakes merge, trigger a burst of small colorful particle confetti (simple PlaneGeometries) and a quick scaling animation (scale up to 1.2x then back to 1.0x) to provide "juicy" feedback. * **Camera:** Use an **OrthographicCamera** positioned at a fixed, slightly angled top-down view (Isometric style) to ensure the play area fills the mobile screen vertically without distortion. ### 2. Audio Requirements * **BGM:** A cozy, looping "Coffee Shop" style track using light piano or marimba. It should be relaxing and unobtrusive. * **Sound Effects (SFX):** (Use synthesized browser sounds or placeholders) * **Pop:** A soft "pop" sound when a new cake spawns. * **Whoosh:** A quick swoosh sound when dragging a cake. * **Chime/Ding:** A satisfying, high-pitched magical chime when a merge is successful. * **Error:** A dull "thud" if the player tries to merge incompatible cakes. ### 3. Gameplay Loop * **Core Mechanic:** The board consists of 12 slots (3 columns x 4 rows). * **Spawning:** A "Serve" button at the bottom allows the player to spawn a Level 1 Cake into an empty slot. * **Merging:** * Player drags Cake A onto Cake B. * Condition: If Cake A and Cake B are of the same Level. * Result: Both are destroyed, and a new Cake of (Level + 1) is instantiated at Cake B's position. * **Economy (Idle):** Every cake on the board generates "Coins" automatically every second. Higher-level cakes generate more coins. * **UI Display:** Show a "Total Coins" counter at the top center. Show the "Cost to Serve" on the spawn button (cost increases slightly with each purchase). ### 4. Mobile Controls & Interaction * **Orientation:** **Portrait Mode** (Vertical) design is mandatory. * **Touch Controls:** Implement a robust Raycaster system for `touchstart`, `touchmove`, and `touchend`. * **Drag Feel:** When a cake is picked up, lift it slightly on the Y-axis (z-index) and scale it up by 10% to show it is active. The movement should use `Lerp` (Linear Interpolation) to follow the finger smoothly, avoiding jitter. * **Snap-to-Grid:** If the player drops a cake *not* on a valid merge target, the cake should smoothly animate (spring back) to its original slot. * **Haptic Feedback:** Trigger `navigator.vibrate(50)` on a successful merge (if supported by the device) to enhance tactile satisfaction. * **UI Layout:** Place the "Serve/Buy" button in the bottom 20% of the screen (the "thumb zone") for easy one-handed reaching. Ensure buttons are at least 44x44 pixels effectively. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Merge Cakes

Merge Cakes is a delightfully sweet casual merge game that transforms the simple concept of matching into an irresistible dessert adventure. This charming puzzle game invites players to combine identical cakes and watch them transform into increasingly elaborate and mouth-watering creations. With its vibrant cartoon art style featuring rainbow layer cakes, colorful cupcakes, and exotic desserts, Merge Cakes offers a visually appealing and relaxing gaming experience.

The game's core mechanic revolves around the satisfying process of merging - drag two identical desserts together and witness the magical transformation into a brand new recipe. What starts with simple cupcakes gradually evolves into spectacular multi-tiered cakes, each more impressive than the last.

Core Features

Addictive Merge Gameplay

The game builds upon the proven merge formula that has captivated millions of players worldwide. Each successful merge brings a sense of accomplishment and anticipation for the next creation.

Idle Progression System

One of Merge Cakes' most appealing features is its offline progression . The game continues to generate rewards and progress even when you're not actively playing, ensuring you always return to delightful surprises.

Diverse Dessert Collection

  • Rainbow Layer Cakes : Multi-colored masterpieces with vibrant frosting
  • Gourmet Cupcakes : Decorated with sprinkles, cherries, and special toppings
  • Exotic Recipes : Unlock mysterious and unique dessert combinations
  • Secret Bakeries : Discover hidden locations with special cake varieties

Rewarding Progression

  • Surprise Gift System : Regular rewards keep the gameplay fresh and exciting
  • Upgrade Options : Purchase enhanced cakes to boost your bakery's efficiency
  • Achievement Unlocks : Progress through levels to access new content
  • Ad Rewards : Optional video rewards to enhance your gifts and progress

Gameplay Mechanics

Simple Yet Engaging Controls

Merge Cakes features intuitive drag-and-drop gameplay that's accessible to players of all ages. The smooth, responsive controls make merging desserts feel natural and satisfying.

Strategic Planning

While easy to learn, the game rewards thoughtful placement and planning. Managing your bakery space efficiently becomes increasingly important as you progress through higher-tier desserts.

Endless Progression

With hundreds of possible cake combinations and regular content updates, Merge Cakes offers virtually unlimited gameplay potential.

Operation Guide

Basic Controls: - Mouse/Touch : Drag desserts to move them around your bakery - Merge Action : Drop identical cakes on each other to combine them - Menu Navigation : Click on various UI elements to access upgrades and rewards

Gameplay Steps: 1. Start with basic cupcakes and simple desserts 2. Drag identical items together to merge them 3. Watch as they transform into new, more valuable recipes 4. Use earned rewards to purchase upgraded starting cakes 5. Unlock new bakery areas and exotic recipes 6. Collect offline rewards when returning to the game

Pro Tips: - Plan your merges carefully to maximize space efficiency - Take advantage of the idle rewards system - Use upgrade purchases strategically to accelerate progress - Watch optional ads for bonus rewards and gifts

Why Play Merge Cakes

Perfect for Casual Gaming

Merge Cakes is ideal for players seeking a relaxing, low-pressure gaming experience. There are no time limits or competitive elements - just pure, satisfying progression at your own pace.

Universal Appeal

While categorized as a game for girls, Merge Cakes appeals to anyone who enjoys: - Puzzle and strategy games - Colorful, cheerful graphics - Collection and progression mechanics - Idle gaming experiences

Stress-Free Entertainment

The game's cozy atmosphere and gentle gameplay make it perfect for unwinding after a busy day. The satisfying merge mechanics and cheerful visuals create a therapeutic gaming experience.

Completely Free

Enjoy the full Merge Cakes experience without any upfront cost. The game is entirely free to play with optional enhancements available through rewarded videos.

Cross-Platform Accessibility

Play directly in your web browser on any device - no downloads, installations, or storage space required. Perfect for quick gaming sessions anywhere, anytime.

Frequently Asked Questions (FAQ)