Merge Arena

Seele01-Flash
By
Merge Arena is an exciting 3D tower defense game where you defend your kingdom by merging identical warriors into stronger units. Combine strategy with action as you build the ultimate army to protect your territory from evil monsters.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Merge Arena: Kingdom Defense**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Create a stylized **"Chibi" Low-Poly 3D aesthetic**. Characters should have exaggerated heads, simple geometric bodies, and vibrant, saturated colors (e.g., Royal Blue for allies, Dark Red/Grey for enemies). Textures should be solid colors or simple gradients to ensure high performance on mobile devices. * **Scene Layout:** * **Grid System:** A central 4x4 or 5x5 grid platform (checkered grass texture) where the player manages units. * **Battle Zone:** A linear path or arena adjacent to the grid where combat visually takes place. * **Background:** A simple, cheerful kingdom backdrop (low-poly trees, a distant castle silhouette, bright blue sky) that does not distract from the gameplay. * **Characters:** * **Ally Units:** Start with a basic "Squire" (Blue). When merged, evolve visually (e.g., Squire -> Knight -> Paladin). Weapons change from Dagger -> Sword -> Glowing Greatsword. * **Enemy Units:** Waves of generic monsters (e.g., Green Goblins, Grey Orcs, Red Horned Giants as seen in the reference). * **VFX:** Simple particle bursts for merging (gold stars/confetti) and combat hits (white sparks/impact flashes). ### 2. Audio Requirements * **BGM:** An energetic, orchestral march with a looping "preparation" theme (calmer, pizzicato strings) during the merge phase, transitioning to an intense "battle" theme (drums, brass) when the fight starts. * **Sound Effects (SFX):** * **Merge:** A satisfying "pop" or "shimmer" rising sound. * **UI:** Soft wooden "clack" for button presses, a "cha-ching" coin sound for earnings. * **Combat:** Cartoonish "thwack" sounds for hits, metallic clangs for blocks, and a groaning sound for enemy defeat. ### 3. Gameplay Loop * **Phase 1: Preparation (Merge Phase):** * The player buys units using Gold. Units appear on empty grid slots. * **Core Mechanic:** Drag and drop two identical units (same level, same type) onto each other to merge them into one unit of the next level (Level 1 + Level 1 = Level 2). * Stats (Health/Attack) increase exponentially with levels. * **Phase 2: Battle Phase:** * Player presses the "Fight" button (Yellow). * Units automatically move forward to engage incoming enemy waves (Auto-battler style). * **Idle Mechanic:** The "Treasury" generates passive gold over time, even during battle. * **Progression:** Winning a wave grants Gold and XP. Losing resets the wave but keeps the player's army configuration. ### 4. Mobile Controls & Interaction * **Orientation:** **Portrait Mode** (Vertical) is mandatory for one-handed play. * **Touch Controls:** * **Drag & Drop:** Implement Raycasting for touch events. The user must be able to smoothly drag a unit from one grid cell to another. * **Visual Feedback:** When a unit is picked up, it should scale up slightly (1.2x) and cast a shadow. Valid merge targets should highlight (glow green). * **UI Layout (Bottom-Heavy for thumb accessibility):** * **Big Action Button:** A large Yellow "Start Fight" button in the center-bottom. * **Upgrade Buttons:** Two square buttons to the right: "Buy Unit" (Gold Icon) and "Unlock Slot" (Plus Icon). * **Top HUD:** Display Level Counter, current Gold, and Multiplayer/PvP Keys status. * **Haptics:** Trigger a short vibration (using `navigator.vibrate` if available) upon a successful merge or when a battle is won. 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 Arena is a captivating 3D tower defense game that combines strategic unit management with exciting combat action. In this innovative merge-based strategy game, you'll defend your beautiful kingdom from waves of evil monsters by building and upgrading a powerful army through the unique merge system.

The game features stunning 3D graphics with colorful, cartoon-style warriors including brave knights, skilled archers, and powerful mages. Each battle presents new challenges as different types of enemies attempt to breach your defenses.

Core Features

Revolutionary Merge System

The heart of Merge Arena lies in its intuitive merge mechanics. Drag and drop identical units together to create a single, more powerful warrior. This system allows for endless strategic possibilities as you decide which units to combine and when to merge them for maximum battlefield effectiveness.

Diverse Army Units

Recruit and command various types of defenders: - Knights : Heavy armored warriors perfect for frontline defense - Archers : Ranged attackers excellent for picking off enemies from distance - Mages : Magical units with special abilities and area damage - Gigantic Knights : Upgraded heavy units with devastating power

Progressive Upgrade System

Earn experience and gold through successful battles to: - Expand available unit slots - Unlock new warrior types - Improve your treasury's passive income generation - Enhance overall army strength

Multiplayer Competition

Earn special keys through gameplay to unlock exciting multiplayer matches against real players worldwide. Test your strategic skills and see who can build the strongest fortress!

Game Mechanics

Strategic Depth

While easy to learn, Merge Arena offers surprising strategic depth. You must carefully manage your resources, decide optimal unit placement, and time your merges perfectly to handle increasingly difficult enemy waves.

Idle Elements

Your treasury generates passive income even when you're not actively playing, allowing steady progression and ensuring you can always afford new units and upgrades when you return.

Battle System

Each fight is initiated with a simple button press, but success requires careful preparation. Before starting battles, expand your available units and deployment slots using the management buttons.

Operation Guide

Basic Controls

  • Drag and Drop : Move identical units together to merge them into stronger versions
  • Yellow Fight Button : Start new battles against incoming enemy waves
  • Bottom-Right Buttons : Expand available units and deployment slots
  • Resource Management : Spend earned gold strategically on army improvements

Winning Strategy Tips

  1. Merge Efficiently : Don't merge units too early - sometimes keeping multiple weaker units provides better coverage
  2. Balance Your Army : Combine different unit types for optimal defense
  3. Upgrade Regularly : Use the expansion buttons to increase your army size before difficult battles
  4. Resource Planning : Save gold for crucial upgrades rather than spending immediately

Why Play Merge Arena

Merge Arena offers the perfect blend of strategic thinking and satisfying action. The merge system provides instant gratification when creating powerful new units, while the tower defense elements ensure engaging, challenging gameplay.

The game is completely free to play with no download required - simply open your browser and start defending your kingdom immediately. Whether you prefer quick casual sessions or extended strategic planning, Merge Arena adapts to your preferred play style.

The multiplayer component adds competitive excitement, letting you test your army-building skills against friends and players worldwide. With regular progression rewards and the satisfying merge mechanics, every session feels rewarding and productive.

Perfect for fans of : Tower defense games, merge mechanics, strategy games, casual gaming, and competitive multiplayer experiences.

Frequently Asked Questions (FAQ)