Gluey - Match 3 Puzzle Game

Seele01-Flash
By
Gluey is an engaging match-3 puzzle game featuring colorful sticky globs that you destroy by clicking groups of three or more. With simple mouse controls and physics-based gameplay, it's perfect for puzzle fans of all ages.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Gluey - 3D Jelly Physics Puzzle". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: A clean, high-saturation "Jelly/Gummy" aesthetic. The world should look like a laboratory petri dish or a vertical glass container. * **The "Globs" (Player Assets)**: * Use **SphereGeometries** modified to look soft (low-poly is fine if smoothed). * **Material**: Use `MeshPhysicalMaterial` with `transmission` (glass-like), `roughness: 0.2`, and `metalness: 0.1` to create a sticky, wet, semi-transparent jelly look. * **Colors**: Bright, distinct palette: Lime Green, Hot Pink, Cyan, Bright Orange, Violet. * **Detail**: If possible, attach simple "Googly Eyes" (two white small spheres with black pupils) to each glob that track the camera or wobble slightly to enhance the "Cute" tag. * **Container**: A transparent 3D glass box (open top) that constraints the physics objects on the Z-axis (creating a 2.5D effect, like a narrow ant farm) so blobs stack vertically without falling "out" towards the camera. * **Performance**: Use InstanceMesh if spawning many blobs, but standard Meshes are acceptable for <50 objects. Ensure shadows are baked or minimal (SoftShadows) to maintain 60FPS on mobile. ### 2. Audio Requirements * **BGM**: A whimsical, mischievous track using pizzicato strings, marimbas, or bubbling synth sounds. Lighthearted and loopy. * **SFX**: * **Spawn/Drop**: A wet "slap" or "plop" sound. * **Clicking**: A high-pitched "squeak" or "bloop." * **destruction/Pop**: A satisfying "squish" or "bubble pop" sound followed by a liquid splash sound. * **Win**: A "Ta-da!" sound with applause. ### 3. Gameplay Loop * **Mechanic**: * **Physics Simulation**: Integrate a physics engine (like **Cannon-es**) to handle gravity, collision, and friction. The blobs should feel "heavy" but "bouncy." They are spawned at the top and fall into the container. * **Matching Logic**: Raycast from the camera to detect clicks. When a blob is tapped, perform a **Flood Fill algorithm** (recursive search) to find all connected blobs of the *same color*. * **Removal**: If the group size is >= 2 (or just 1 depending on difficulty), destroy the meshes and physics bodies. * **Reaction**: Remaining blobs must physically settle/fall down to fill the gaps (Avalanche effect). * **Goal**: Clear all "Globs" from the container. * **Win Condition**: When the number of remaining blobs is 0 (or below a threshold). * **Lose Condition**: If blobs overflow the top of the container. ### 4. Mobile Controls & Interaction * **Orientation**: **Portrait Mode** (Vertical) is mandatory to accommodate the vertical stacking nature of the puzzle. * **Input**: * **Tap/Touch**: Primary interaction. Use `Raycaster` mapped to touch coordinates. * **Interaction Feedback**: When a user touches a blob, highlight the entire connected group (e.g., increase `emissive` intensity) *before* popping, or pop immediately on touch up. * **Haptics**: Trigger `navigator.vibrate(50)` (light impact) when blobs pop. * **UI**: * Minimalist UI overlay. * "Reset" button in the top right (min size 44x44px). * Score counter in the center top. * Confetti particle system explosion when a large group is cleared. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Gluey

Gluey is a delightful match-3 puzzle game that puts a unique spin on the classic genre with its sticky, colorful blob mechanics. Rated 4.0/5 by players, this free browser game combines simple clicking gameplay with satisfying physics-based destruction of vibrant gel-like creatures.

Core Features

Free Browser Gaming

Gluey is completely free to play and requires no downloads or installations. Simply open your web browser and start matching those sticky globs immediately. The game runs smoothly on all modern browsers and devices.

Physics-Based Match-3 Mechanics

Unlike traditional match-3 games, Gluey incorporates realistic physics where the sticky blobs react naturally to your clicks. When you destroy groups of matching colors, the remaining globs fall and bounce realistically, creating satisfying chain reactions.

Easy Learning Curve

Tagged as an "Easy" game, Gluey is perfect for beginners to the puzzle genre. The simple mouse-only controls mean anyone can start playing immediately, while the progressively challenging levels keep experienced players engaged.

Adorable Visual Design

The game features a "Cute" art style with bright, cheerful colors and charming blob characters. Each glob has its own personality, making the destruction surprisingly endearing rather than aggressive.

Game Mechanics

The core gameplay revolves around identifying and clicking groups of three or more matching colored globs. When destroyed, these sticky creatures disappear with satisfying visual effects, causing remaining blobs to fall due to realistic physics simulation.

Strategic Elements

  • Chain Reactions : Plan your moves to create cascading eliminations
  • Physics Consideration : Account for how blobs will fall and bounce
  • Color Matching : Identify optimal groupings for maximum points
  • Timing : Some situations require quick reflexes for best results

Operation Guide

Mouse Controls : The entire game is controlled with simple mouse clicks - Left Click : Select and destroy groups of matching colored globs - Mouse Movement : Navigate around the game area to spot matching groups - No Keyboard Required : Pure mouse-based gameplay for maximum accessibility

How to Play

  1. Identify Groups : Look for clusters of 3 or more same-colored globs
  2. Click to Destroy : Click on any glob in a matching group to eliminate them all
  3. Watch Physics : Observe how remaining globs fall and potentially create new matches
  4. Chain Combos : Try to set up chain reactions for higher scores
  5. Clear Objectives : Complete level goals to progress through the game

Why Play Gluey

Perfect for All Skill Levels

Whether you're new to puzzle games or a match-3 veteran, Gluey offers an accessible yet engaging experience. The "Easy" difficulty tag doesn't mean boring – it means approachable fun that anyone can enjoy.

Stress-Free Gaming

With its cute visuals, simple controls, and relaxed pacing, Gluey provides the perfect mental break. No time pressure or complex mechanics – just pure, satisfying blob-matching fun.

No Commitment Required

As a free browser game, you can play for just a few minutes or hours at a time. No downloads, accounts, or payments required – just instant puzzle satisfaction.

Physics Fun

The realistic physics simulation adds an extra layer of satisfaction to every move. Watching the colorful globs bounce and settle creates a uniquely satisfying gameplay experience that standard match-3 games can't match.

Family-Friendly Entertainment

Rated for all ages, Gluey is perfect for family gaming sessions or introducing children to puzzle games. The cute art style and simple mechanics make it appealing to players of any age.

Frequently Asked Questions (FAQ)