Mayan Marbles - Ancient Bubble Shooter Puzzle Game

Seele01-Flash
By
Mayan Marbles is an enchanting bubble shooter puzzle game that combines ancient Mayan civilization themes with addictive marble-matching gameplay. Featuring 25 progressively challenging levels, colorful transparent bubbles, and intricate archaeological backgrounds.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Mayan Marbles". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** 2.5D Aesthetic. A vibrant, ancient Mayan jungle setting. The camera should be fixed in a top-down or slight perspective view, focused on a central spinning cluster of marbles. * **Marbles (The Core Asset):** Create 3D spheres (`THREE.SphereGeometry`) that look like polished gemstones or glass orbs. Use `THREE.MeshPhysicalMaterial` to achieve a semi-transparent, shiny look (transmission > 0, roughness < 0.2). * **Textures:** Each marble color (Red, Green, Blue, Magenta, Gold) must feature a unique, glowing white "Mayan Glyph" or symbol on it (can be procedural or texture-mapped). * **Background:** A static or slowly scrolling background plane depicting a stylized Mayan temple entrance surrounded by lush green jungle foliage and vines. * **UI Layout:** A "Cannon" or shooter mechanism at the bottom center. A "Red Bar" timer on the right side (vertical progress bar) designed with a stone texture border. * **Optimization:** Use `THREE.InstancedMesh` for the marbles if possible to reduce draw calls, as mobile performance is critical. Keep polygon counts for background elements low (Low-poly style). ### 2. Audio Requirements * **BGM:** A relaxing but rhythmic track featuring Marimbas, Pan Flutes, and soft tribal percussion to evoke a "Mysterious Jungle" atmosphere. * **Sound Effects (SFX):** * **Shoot:** A "woosh" or air-pressure sound. * **Collision:** A satisfying "clack" or glass-on-stone sound when a marble hits the cluster. * **Match/Pop:** A magical chime or crumbling stone sound when 3+ marbles are cleared. * **Rotation:** A low-pitched grinding stone sound when the central cluster spins rapidly. * **Time Warning:** A ticking wood-block sound when the Red Bar is near full. ### 3. Gameplay Loop * **Core Mechanic (Radial Physics):** Unlike standard bubble shooters, the marbles are attached to a **central pivot point**. When the player shoots a marble and it sticks to the cluster, the impact force should physically cause the entire cluster to **rotate/spin** based on the angle of impact. * **Shooting & Matching:** The player shoots marbles from the bottom. If a marble collides with the cluster, it attaches. If 3 or more of the same color touch, they explode/vanish, and any non-connected marbles fall away (gravity effect). * **Progression:** The goal is to clear all marbles. * **Pressure System:** A "Red Bar" fills up over time. When full, new random marbles are automatically attached to the center or outer edges of the cluster, making the target larger and harder to miss obstacles. * **Swapping:** The player can tap the shooter to swap the current marble with the "next" marble. ### 4. Mobile Controls & Interaction * **Touch Aiming:** Implement a "Touch & Drag" system. * **Touch Start/Move:** Touching anywhere on the screen and dragging creates a visual **Trajectory Line** (dotted raycast) extending from the shooter, helping the player aim accurately. * **Touch End:** Releasing the finger fires the marble along the calculated path. * **Swap Mechanic:** A specific tap zone on the shooter (bottom center) allows swapping the current ball. * **Haptic Feedback:** Trigger a short vibration (using `navigator.vibrate`) when a marble connects with the cluster or when a match is made. * **Responsiveness:** * The game canvas must automatically resize to fit both Portrait and Landscape modes (`window.addEventListener('resize', ...)`). * UI buttons (Pause, Swap) must be at least 44x44 pixels for touch accessibility. * Prevent default browser touch behaviors (scrolling/zooming) on the canvas (`touch-action: none`). Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Mayan Marbles is a captivating bubble shooter puzzle game that transports players into the mysterious world of ancient Mayan civilization. With a stellar 4.0/5 rating from over 1,133 players, this browser-based game offers an perfect blend of strategic thinking and quick reflexes. The game features stunning visual design with intricate Mayan artifacts and colorful transparent bubbles that create an immersive archaeological adventure.

This HTML5-powered game delivers smooth gameplay across all devices, making it accessible whether you're on a computer, tablet, or smartphone. The ancient theme sets it apart from typical bubble shooters, offering players a unique cultural experience while enjoying classic puzzle mechanics.

Core Features

Ancient Mayan Adventure Theme

Explore beautifully crafted backgrounds featuring authentic Mayan artifacts, temple ruins, and archaeological treasures. The game's visual design pays homage to one of history's most fascinating civilizations, creating an educational and entertaining experience.

25 Progressive Challenge Levels

Each level presents unique layouts and increasing difficulty, ensuring players remain engaged from start to finish. The progression system rewards skill development while maintaining accessibility for casual players.

Transparent Spinning Bubbles

The game features visually stunning transparent colored bubbles that spin as you aim, adding a dynamic visual element that enhances the shooting experience and makes targeting more engaging.

Time-Based Scoring System

Every level includes a timer and specific score requirements, creating urgency and encouraging strategic play. Players must balance speed with accuracy to achieve the best possible scores.

Cross-Platform Compatibility

  • Complete Browser Support : Plays directly in any modern web browser
  • Mobile Optimized : Fully responsive design for smartphones and tablets
  • No Download Required : Instant access without installation
  • Free to Play : Enjoy all 25 levels at no cost

Gameplay Mechanics

Basic Shooting Rules

The core objective is to match three or more bubbles of the same color to make them disappear. Players aim and shoot bubbles from a cannon at the bottom of the screen, strategically targeting clusters to create chain reactions and maximize points.

Dynamic Bubble Addition

The game continuously adds new rows of bubbles from the center, increasing pressure and requiring quick decision-making. A red progress bar on the right side indicates when the next wave of bubbles will appear.

Color Strategy System

If your current bubble doesn't match available targets, click on it to cycle through available colors. This mechanic adds strategic depth, allowing players to plan multiple moves ahead.

Operation Guide

Desktop Controls

  • Mouse Movement : Aim the bubble cannon
  • Left Click : Shoot the current bubble
  • Click on Cannon Bubble : Change bubble color when needed

Mobile Controls

  • Touch and Drag : Aim the shooting direction
  • Tap Screen : Release the bubble
  • Tap Cannon : Cycle through available bubble colors

Winning Strategy Tips

  1. Target Cluster Centers : Aim for the middle of large color groups to create bigger chain reactions
  2. Use Wall Bounces : Utilize side walls to reach difficult angles and hidden clusters
  3. Manage Time Wisely : Balance careful aiming with the pressure of the advancing bubble rows
  4. Plan Color Changes : Switch bubble colors strategically to set up future moves
  5. Watch the Timer : Keep an eye on the red progress bar to anticipate new bubble additions

Why Play Mayan Marbles

Perfect for Puzzle Lovers

This game combines the satisfaction of bubble shooting with the intellectual challenge of strategic puzzle-solving. The Mayan theme adds educational value while maintaining fun, fast-paced gameplay.

Stress-Free Gaming Experience

Rated as "Easy" difficulty, Mayan Marbles provides relaxing entertainment without overwhelming complexity. It's perfect for quick gaming sessions or longer puzzle-solving marathons.

Brain Training Benefits

  • Pattern Recognition : Develops visual processing skills
  • Strategic Planning : Enhances forward-thinking abilities
  • Hand-Eye Coordination : Improves precision and timing
  • Concentration : Builds focus and attention span

Accessibility and Convenience

As a browser-based HTML5 game, Mayan Marbles offers unmatched convenience. No downloads, no installations, no waiting – just instant puzzle fun accessible from anywhere with an internet connection.

Whether you're a casual gamer looking for quick entertainment or a puzzle enthusiast seeking a new challenge, Mayan Marbles delivers an engaging experience that combines beautiful visuals, smooth gameplay, and the timeless appeal of bubble shooter mechanics with an educational twist about ancient civilizations.

Frequently Asked Questions (FAQ)