Happy Town - City Building Merge Game

Seele01-Flash
By
Happy Town is a delightful city building merge game where you become mayor and create a thriving community. Combine items, upgrade buildings, and fulfill resident requests to build the perfect happy town.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Happy Town**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** High-saturation, "Toon-shaded" (Cel-shaded) 3D aesthetic to mimic the vibrant 2D promotional art. Colors should be bright and cheerful (lush greens, sky blues, warm yellows). * **Camera:** Orthographic projection positioned at a 45-degree isometric angle to view the city/grid clearly. * **The Grid (Merge Board):** A clearly defined 5x5 or 6x6 tile grid floating slightly above a grassy ground plane. This is where the core gameplay happens. * **Merge Objects (Low Poly):** Create a hierarchy of distinct simple models representing growth: * *Nature Chain:* Seed → Sprout → Sapling → Tree → Apple Tree. * *Building Chain:* Bricks → Wall → Tiny House → Cottage → Villa. * **Environment:** A bright blue skybox with stylized, fluffy white clouds. The background surrounding the grid should have decorative low-poly trees and park benches to set the "Town" atmosphere. * **Performance:** Use `THREE.InstancedMesh` for repeated grid tiles and environmental trees to ensure 60FPS on mobile devices. Use simple BoxGeometries or SphereGeometries with flat shading for merge items if external models aren't loaded. ### 2. Audio Requirements * **BGM:** A lighthearted, upbeat loop featuring acoustic guitar, pizzicato strings, or marimba. It should feel relaxing and casual, similar to "elevator music" but happier. * **Sound Effects (SFX):** * *Merge Success:* A satisfying "Pop" or "Bloop" sound accompanied by a rising pitch. * *Drop/Place:* A soft "Thud" or "Click". * *Income/Reward:* A metallic "Cha-ching" or coin jingling sound. * *Level Up:* A celebratory fanfare (short trumpet or chimes). * *UI:* Soft wooden or bubble clicks for menu interactions. ### 3. Gameplay Loop * **Core Mechanic (Merge):** Players drag and drop items on the grid. If two identical items (e.g., two "Seeds") occupy the same tile, they destroy each other and spawn the next tier item (e.g., one "Sprout"). * **Spawning:** A "Generator" building (e.g., a Greenhouse) allows the user to click to spawn base-level items (Seeds/Bricks) onto empty grid slots. This consumes "Energy". * **Economy:** Higher-tier buildings generate "Gold" over time. Players tap these buildings to collect Gold. * **Task System:** A UI overlay showing resident requests (e.g., "Villager needs 1 Apple Tree"). Dragging the required item to the request area consumes it and awards Gold/XP. * **Expansion:** Users spend Gold to unlock locked tiles (covered in fog or greyed out) to expand their merge board. ### 4. Mobile Controls & Interaction * **Touch Controls:** * *Raycasting:* Implement precise Raycaster logic for `touchstart` (select/pick up), `touchmove` (drag item following finger), and `touchend` (snap to nearest grid slot or merge). * *Z-Index:* When dragging an item, lift its Y-position slightly so it hovers over other items, providing clear visual feedback. * **Camera Interaction:** Allow one-finger drag to pan the camera across the town (if the map is larger than the screen) and two-finger pinch to zoom. * **Orientation:** **Portrait Mode** optimized. The merge grid should be in the center-bottom, with the task list and resource counters (Gold, Energy) at the top of the screen. * **Haptic & Visual Feedback:** * Trigger `navigator.vibrate(50)` on a successful merge. * Spawn particle confetti or a "smoke poof" effect at the location of a merge. * **UI Layout:** Buttons must be large (minimum 44x44 pixels) and placed at the bottom for easy thumb access. Text should be large and sans-serif for readability on small screens. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Happy Town is an engaging city building merge game that combines the satisfaction of merging mechanics with the strategic depth of urban planning. As the newly appointed mayor, you'll transform a simple town into a bustling, joyful metropolis through clever item combinations and thoughtful city management.

This charming game features bright, colorful graphics and an upbeat soundtrack that creates an immersive, feel-good gaming experience. Every merge brings new discoveries, while your growing city generates income that you can reinvest into making your town even better.

Core Features

Revolutionary Merge Mechanics

The heart of Happy Town lies in its innovative merging system. Combine identical items to unlock exciting new objects, buildings, and decorations. Each successful merge reveals surprises and opens up new possibilities for your city's development. The more you merge, the more advanced items you'll discover.

Dynamic City Economy

Your town generates continuous income based on the buildings and infrastructure you've developed. Earn gold from your thriving businesses and residential areas, then strategically reinvest these profits into upgrading existing structures or purchasing new items to merge.

Interactive Residents

Happy Town isn't just about buildings – it's about people. Your citizens have unique personalities, stories, and needs. Complete their requests to keep them satisfied and discover their individual backgrounds through engaging conversations. Some residents may even become your favorites as you learn their stories.

Endless Expansion Opportunities

As your mayoral skills improve, unlock new streets, districts, and special buildings. Each area of expansion brings fresh challenges and opportunities, ensuring the gameplay remains engaging as your town grows from a small settlement into a major city.

Gameplay Experience

Happy Town offers a perfect balance of relaxation and strategic thinking. The merge mechanics provide satisfying instant gratification, while the city building elements require long-term planning and resource management. Whether you have five minutes or several hours, the game adapts to your available time.

The cheerful visual design and uplifting music create a stress-free environment where you can focus on creativity and problem-solving. Unlike high-pressure games, Happy Town encourages experimentation and discovery at your own pace.

Operation Guide

Mouse Controls : The entire game is controlled using your mouse, making it accessible and intuitive for players of all ages.

  • Click and Drag : Select items and drag them together to merge
  • Single Click : Interact with buildings, residents, and menu options
  • Right Click : Access additional options and information panels
  • Scroll : Navigate around your expanding city map

The user interface is designed for ease of use, with clear visual indicators showing which items can be merged and what the results will be.

Why Play Happy Town

Happy Town stands out in the crowded merge game market by combining multiple engaging gameplay elements:

Perfect for All Players : Whether you're a casual gamer looking for relaxation or a strategy enthusiast seeking depth, Happy Town offers something for everyone.

No Pressure Gaming : Play at your own pace without time limits or competitive stress. Focus on creativity and enjoy the process of building your ideal town.

Continuous Discovery : With hundreds of items to unlock and merge, there's always something new to discover. The game rewards curiosity and experimentation.

Meaningful Progression : Every action contributes to your town's growth, creating a satisfying sense of accomplishment as you transform your small settlement into a thriving metropolis.

Free to Play : Enjoy the complete Happy Town experience without any upfront costs. The game is fully playable in your browser without downloads or installations.

Step into the role of mayor today and start building the happiest town imaginable!

Frequently Asked Questions (FAQ)