Merge Galaxy

Seele01-Flash
By
Merge Galaxy is an adorable physics-based puzzle game where you strategically launch and merge planets to create cosmic masterpieces. Combine smaller planets into larger ones while managing limited orbital space in this challenging yet charming space adventure.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Merge Galaxy". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Adorable, cartoonish Low-Poly 3D art style. The scene should be set against a deep blue/purple gradient space background with a particle system generating twinkling stars. * **Planets (Game Objects):** Create a progression of 10-11 spheres representing celestial bodies (e.g., Gray Moon -> Red Mars -> Blue Earth -> Neptune -> ... -> Giant Burning Sun). * **Textures:** Each sphere must have a solid, vibrant color and a simple, cute "Kawaii" face (eyes and mouth) applied as a texture map. * **Visual Effects:** When planets merge, trigger a particle explosion (confetti or star shapes) matching the color of the new planet. * **Container/Arena:** A transparent, U-shaped glass container or a circular "Gravity Well" boundary to keep planets contained. * **Performance:** Use `THREE.InstancedMesh` if possible for optimization, or simple `THREE.SphereGeometry` with shared materials. Limit texture resolution to 512x512 for mobile efficiency. ### 2. Audio Requirements * **BGM:** A relaxing, lo-fi cosmic ambient track. Think slow tempo, synthesizer pads, and soft chimes to induce a "flow state." * **Sound Effects (SFX):** * **Slingshot:** A stretching rubber band sound during aiming, and a "Whoosh" upon release. * **Collision:** A soft "thud" for non-merging collisions. * **Merge:** A satisfying "Pop" or "Ding" sound, with pitch ascending as the planets get larger (e.g., Sun merge = majestic chord). * **Game Over:** A descending electronic glissando. ### 3. Gameplay Loop * **Core Mechanic (Slingshot Style):** Unlike standard drop games, the player spawns a planet at the **bottom** center of the screen. The player pulls back (drag) to aim and sets power, releasing to launch the planet upwards into the container. * **Physics & Gravity:** Use a physics engine (like Cannon.js or Oimo.js). Gravity should pull planets down, but they should bounce slightly. Friction is needed so they settle into a stack. * **Merge Logic:** Detect collision events. If Planet A collides with Planet B and `Type(A) == Type(B)`: 1. Remove A and B. 2. Spawn Planet(Type + 1) at the midpoint of the collision. 3. Add Score. * **Win/Loss Condition:** * **Win:** Technically endless, but reaching the "Sun" is the main goal (Planets merge into Sun -> Sun disappears/explodes for massive points). * **Loss:** If the planets stack up too high and cross a "Danger Line" at the top of the container for more than 3 seconds, trigger Game Over. ### 4. Mobile Controls & Interaction * **Orientation:** Portrait Mode (Vertical) is mandatory to accommodate the vertical stacking gameplay. * **Input Handling (Touch/Mouse):** * **Action:** "Drag and Release." * **Start Drag:** Touch anywhere in the bottom "Launch Zone." * **During Drag:** Render a **Trajectory Line** (dotted curve) showing the predicted path of the planet based on drag distance and angle. * **Release:** Apply impulse force to the physics body of the current planet. * **UI Layout:** * **Top:** Current Score (large, bold font), High Score. * **Top-Right:** "Next Planet" preview bubble. * **Feedback:** Haptic feedback (vibration) on successful merges if supported by the browser (`navigator.vibrate`). 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 Galaxy is a captivating casual merge game that combines physics-based gameplay with strategic planning. Set in a charming cosmic environment, you'll aim, shoot, and stack adorable planets to create increasingly larger celestial bodies. The ultimate goal is transforming your collection of small planets into a radiant sun while managing the constraints of orbital space.

This engaging puzzle game features cute planet characters with expressive faces, creating an approachable and family-friendly gaming experience. The physics engine adds realistic gravity mechanics, making each shot feel satisfying and strategic.

Core Features

Strategic Physics-Based Gameplay

Every planet launch follows realistic physics principles. You'll need to consider gravity, trajectory, and collision dynamics when planning your shots. The visible trajectory system helps you aim precisely, but mastering the perfect shot requires practice and strategic thinking.

Adorable Planet Characters

Each planet in Merge Galaxy has its own personality with cute facial expressions and unique visual design. From small rocky planets to gas giants, every celestial body is beautifully animated and charmingly designed.

Progressive Difficulty System

As you advance, the challenge increases naturally. Managing limited orbital space becomes more critical, and strategic planning becomes essential to avoid overflow situations that could end your game.

Endless Scoring Potential

The game features an unlimited scoring system where skilled players can continuously improve their records. Each successful merge awards points, encouraging players to develop better strategies and achieve higher scores.

Gameplay Mechanics

Core Merge System

Launch planets into orbit where they collide and automatically merge into larger versions. When two identical planets touch, they combine to form the next tier planet. The largest planets can merge to disappear completely, freeing valuable orbital space.

Space Management Challenge

Orbital space is limited, creating a strategic puzzle element. If planets stack too high and exit the designated orbit area, the game ends. This constraint forces players to think carefully about placement and timing.

Queue Preview System

The game shows upcoming planets in your queue, allowing for advanced planning. This preview system enables strategic thinking about optimal placement and merger sequences.

Operation Guide

Basic Controls

  • Mouse Control : Use left mouse button to drag and aim your planet shots
  • Trajectory Preview : Watch the dotted line showing where your planet will land
  • Slingshot Mechanics : Pull back like a slingshot to control power and direction

Winning Strategy Tips

  1. Plan Ahead : Use the queue preview to plan multiple moves in advance
  2. Manage Space : Always consider how new planets will affect your orbital space
  3. Strategic Placement : Aim for optimal collision points to create efficient merges
  4. Balance Risk : Sometimes taking calculated risks leads to better scoring opportunities

Why Play Merge Galaxy

Perfect for All Skill Levels

Whether you're a casual gamer looking for relaxing entertainment or a puzzle enthusiast seeking strategic challenges, Merge Galaxy offers engaging gameplay for everyone. The adorable graphics make it approachable for younger players, while the strategic depth satisfies experienced gamers.

No Download Required

Play instantly in your web browser without downloading apps or software. The game runs smoothly on both desktop and mobile devices, making it perfect for quick gaming sessions anywhere.

Stress-Free Gaming Experience

The cute planet characters and peaceful space setting create a relaxing atmosphere. There's no time pressure or violent content, making it ideal for stress relief and casual entertainment.

Continuous Improvement

The scoring system encourages replay value as you work to beat your personal best. Each game session offers opportunities to refine your strategy and achieve higher scores.

Frequently Asked Questions (FAQ)