Panda: Bubble Shooter

Seele01-Flash
By
Panda: Bubble Shooter is a charming puzzle game where you help a panda father rescue his cubs by clearing colorful bubble levels. Match three or more bubbles of the same color to burst them and progress through increasingly challenging stages.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Panda: Bubble Shooter". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: "Glossy Casual 3D". The game should use a 3D perspective but with an orthographic camera to mimic the classic 2D puzzle look while adding depth. * **Bubble Assets**: Use `THREE.SphereGeometry` for bubbles. Apply `THREE.MeshPhysicalMaterial` with high transmission or shininess to create a "glassy" or "jelly" look. * **Optimization Strategy**: **Crucial**: You must use `THREE.InstancedMesh` for the bubble grid to ensure 60FPS on mobile devices. Do not create individual meshes for each bubble. * **Colors**: Vibrant, saturated palette (Red, Cyan, Lime Green, Yellow, Purple, Magenta). * **Special Bubbles**: * **Rainbow Bubble**: A sphere with a shader material that cycles through colors or uses a texture map resembling a color wheel. * **Panda/Target Bubble**: Some bubbles should contain a texture/sprite of a baby panda inside. * **Background**: A 2D plane placed behind the bubbles with a "Blue Sunburst" radial gradient texture (as seen in the screenshot) to focus attention on the center. * **Launcher Character**: A simple 3D low-poly Panda model or a 2D sprite cutout located at the bottom center, holding the current bubble to be thrown. ### 2. Audio Requirements * **BGM (Background Music)**: A cheerful, lighthearted track featuring marimba, flute, or pizzicato strings. It should be loopable and relaxing, fitting an "Oriental Cute" aesthetic. * **Sound Effects (SFX)**: * **Launch**: A satisfying "Woosh" or spring sound when the bubble is released. * **Bounce**: A rubbery "Boing" when a bubble hits the side walls. * **Pop**: A crisp "Plop" or bubble-wrap popping sound. * **Cluster Drop**: A cascading chime sound when a large group of disconnected bubbles falls. * **Victory**: A short, triumphant orchestral sting. ### 3. Gameplay Loop * **Grid System**: Implement a **Hexagonal Grid** layout (offset rows). The bubbles must snap to this grid upon collision. * **Shooting Mechanic**: The player shoots a bubble from the bottom center. The bubble travels in a straight line and must reflect (bounce) off the left and right vertical screen edges. * **Matching Logic**: * On collision, check for matches using a **Flood Fill** or BFS (Breadth-First Search) algorithm. * If 3 or more bubbles of the same color connect, they "burst" (are removed). * **Floating Cluster Detection**: After every shot, check for "orphan" bubbles (bubbles not connected to the ceiling/top row). Any orphaned clusters must physically fall off the screen (gravity effect) and award bonus points. * **Win/Loss Condition**: * **Win**: Clear all bubbles or rescue all "Baby Panda" bubbles. * **Loss**: If the bubbles reach the bottom "danger line" near the launcher. ### 4. Mobile Controls & Interaction * **Screen Orientation**: Portrait Mode (Vertical). * **Touch Controls**: * **Action**: "Press-Drag-Release". * **Press & Drag**: Calculates the trajectory. The player can touch *anywhere* on the screen to aim, not just the launcher. * **Release**: Fires the bubble. * **Aiming Guide (The "Long Arrow")**: Render a **Dotted Line** (using `THREE.Line` or a series of small sprites) that predicts the bubble's path, including wall reflections. This is critical for mobile precision. * **Feedback**: * **Haptics**: Trigger `navigator.vibrate(50)` when bubbles pop. * **Visual**: Screen shake (camera shake) slightly when a large cluster drops. * **UI Layout**: Keep score and level indicators at the very top (safe area). Ensure the launcher area at the bottom has enough buffer space so system gestures (like swiping home) don't interfere with shooting. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Game

Panda: Bubble Shooter is an engaging bubble shooting puzzle game that combines classic gameplay mechanics with an adorable panda theme. In this heartwarming adventure, you take on the role of a devoted panda father on a mission to save his little cubs who are trapped within colorful bubble formations. The game offers a perfect blend of strategy, skill, and fun that appeals to players of all ages.

The game features vibrant, eye-catching graphics with smooth animations that bring the panda world to life. Each level presents a unique bubble arrangement that requires careful planning and precise aiming to solve efficiently.

Core Features

Exciting Bubble Shooting Mechanics

The core gameplay revolves around matching three or more bubbles of the same color to make them burst and disappear. This simple yet addictive mechanic becomes increasingly challenging as you progress through the levels.

Power-Up System

Enhance your bubble-bursting abilities with various power-ups: - Long Arrow Booster : Helps you reach and clear the most difficult bubble clusters - Special bubble types : Unlock unique bubbles with explosive effects - Strategic boosters : Use power-ups tactically to overcome challenging obstacles

Reward System

Enjoy multiple ways to earn rewards and enhance your gaming experience: - Daily Rewards : Log in each day to collect free coins and power-ups - Treasure Chests : Discover valuable prizes as you complete levels - Coin Collection : Earn coins to purchase helpful items and boosters - Wheel of Fortune : Spin the wheel for surprise bonuses and rewards

Progressive Difficulty

The game features hundreds of carefully designed levels that gradually increase in complexity, ensuring a satisfying challenge for both beginners and experienced players.

Game Playability

Simple Controls

The intuitive control system makes the game accessible to everyone: - Mouse Users : Hold down the left mouse button to aim, release to shoot - Touch Screen : Use your finger to aim and tap to shoot bubbles - Precision Aiming : Visual guides help you line up perfect shots

Strategic Gameplay

Success requires more than just matching colors. Players must: - Plan shots carefully to create chain reactions - Use walls to bounce bubbles into hard-to-reach spots - Manage limited shots efficiently - Utilize power-ups at the right moments

Why Play This Game

Perfect for All Ages : The cute panda theme and simple mechanics make it suitable for children, while the strategic depth keeps adults engaged.

Completely Free : Enjoy the full gaming experience without any cost. No hidden fees or mandatory purchases.

No Download Required : Play instantly in your web browser on any device - computer, tablet, or smartphone.

Relaxing Yet Engaging : The game provides a perfect balance of challenge and relaxation, making it ideal for stress relief or quick entertainment breaks.

Regular Updates : New levels and features are added regularly to keep the experience fresh and exciting.

Mobile-Friendly Design

Optimized for both desktop and mobile play, ensuring smooth performance across all devices. The responsive design adapts perfectly to different screen sizes.

Family-Friendly Entertainment

With its wholesome panda theme and non-violent gameplay, this is an excellent choice for family gaming sessions or solo relaxation time.

Frequently Asked Questions (FAQ)