Merging Gears

Seele01-Flash
By
Merging Gears is an addictive clicker idle game where you build and optimize gear-based mechanisms to generate profits. Merge gears, increase rotation speed, and reinvest earnings to become the ultimate gear master.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Merging Gears". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Hyper-casual 3D aesthetic. Use a clean, vibrant color palette. The background should be a deep, radial gradient blue (matching the reference image) to make the gears pop. * **Models (Procedural Generation):** * **Gears:** Create 3D gear models procedurally using `ExtrudeGeometry` or modified Cylinders. * **Gear Evolution:** Define at least 5 tiers of gears visually distinct by color (e.g., Tier 1: Yellow/Plastic, Tier 2: Orange, Tier 3: Red, Tier 4: Silver/Metallic, Tier 5: Gold). * **Grid Board:** A subtle 3x4 or 4x5 slot grid on the ground plane where gears sit. Slots should look like recessed sockets. * **Lighting:** Soft, top-down lighting (HemisphereLight) combined with a DirectionalLight to cast soft shadows, giving the gears depth. * **Performance:** Use `InstancedMesh` if possible for the gears to optimize draw calls, or keep geometry low-poly (under 500 triangles per gear) for smooth mobile performance. ### 2. Audio Requirements * **BGM:** A light, rhythmic, "clockwork" style looping track. It should feel like a soft industrial beat that is relaxing (Idle game style), not aggressive. * **Sound Effects (SFX):** * **Merge:** A satisfying "clunk-ding" or high-pitched chime when two gears successfully merge. * **Placement:** A soft mechanical click when a gear snaps into a grid slot. * **Income:** A subtle, repetitive "coin" or "tick" sound synced with the gear rotations to indicate profit generation. * **Upgrade:** A fanfare sound when unlocking a new tier of gears. ### 3. Gameplay Loop * **Core Mechanic (Merge):** Players purchase basic Level 1 gears. Dragging a Level X gear onto another Level X gear instantly merges them into one Level X+1 gear. * **Idle Simulation:** All placed gears rotate automatically. The rotation speed and income generation rate increase exponentially with the gear's level. * **Currency System:** * Gears generate "Coins" over time. * A large "Buy Gear" button at the bottom allows the player to spend coins to spawn a new Level 1 gear into an empty slot. * The cost of buying a new gear increases slightly with each purchase. * **Visual Feedback:** Gears must rotate in real-time. Adjacent gears do *not* need to physically mesh (to simplify logic), but they should all spin to convey activity. ### 4. Mobile Controls & Interaction * **Orientation:** **Portrait Mode (Vertical)**. This is crucial for one-handed mobile play. * **Touch Controls (Raycaster):** * **Drag & Drop:** Implement a robust raycasting system. Touching a gear lifts it slightly (y-axis offset) and follows the finger/cursor. * **Snap-to-Grid:** Releasing a gear over a valid slot "snaps" it into position. Releasing it over a matching gear triggers the Merge. Releasing it over an invalid area returns it to its original spot. * **UI Layout:** * **Top:** Total Cash display (Large, readable font). * **Center:** The 3D Gear Grid (The main play area). * **Bottom:** A large, full-width "BUY GEAR" button (Height: approx 80px) easily tappable with a thumb. * **Haptics & Feedback:** * Add a subtle visual "bounce" or scale animation when a gear is clicked or merged. * Spawn floating text ("+$10") near gears when they generate income. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Merging Gears is a captivating clicker idle game that combines strategic thinking with satisfying mechanical progression. In this engaging browser-based experience, you'll design and operate intricate gear systems that generate profits automatically. The game features real-time mechanism simulation, allowing you to observe how each gear contributes to your overall system efficiency.

Core Features

Real-Time Gear Simulation

Watch your mechanical creations come to life with dynamic gear rotation animations. Every gear you add affects the entire system's performance, creating a visually satisfying experience as you optimize your mechanisms for maximum efficiency.

Progressive Merge System

The core gameplay revolves around merging identical gears to create more powerful and efficient components. Start with basic gears and gradually work your way up to advanced mechanical masterpieces that generate substantial profits.

Idle Profit Generation

Your gear mechanisms continue working even when you're away from the game. Return to find accumulated profits ready for reinvestment into bigger and better gear systems.

Strategic Resource Management

Balance your investments between adding new gears, upgrading existing ones, and increasing rotation speeds. Each decision impacts your overall profitability and progression speed.

Gameplay Mechanics

Building Your First Mechanism

Begin with simple gears and learn how they interconnect to form profitable mechanisms. The intuitive drag-and-drop interface makes it easy to experiment with different configurations.

Optimization Strategy

Discover the optimal gear arrangements that maximize profit generation. Consider factors like rotation speed, gear ratios, and energy efficiency to create the most effective systems.

Advancement Path

Progress from basic mechanical setups to complex multi-tier gear systems. Unlock advanced gear types with unique properties and abilities as you accumulate wealth and experience.

Operation Guide

Basic Controls: - Left Mouse Click : Primary interaction for all game elements - Drag and Drop : Place and arrange gears within your mechanism - Click to Merge : Combine identical gears to create upgraded versions - Purchase Menu : Access the shop to buy new gears and upgrades

Getting Started: 1. Click on gear slots to purchase your first basic gears 2. Arrange gears to create connected mechanisms 3. Watch profits accumulate from gear rotation 4. Merge identical gears to unlock more powerful versions 5. Reinvest profits to expand and improve your gear systems

Why Play Merging Gears

Perfect for Casual Gaming : The idle mechanics mean you can progress even with minimal active play time, making it ideal for busy schedules.

Satisfying Progression : Experience the rewarding feeling of building increasingly complex and profitable mechanisms from simple components.

Visual Appeal : Enjoy smooth animations and clear visual feedback that makes every gear placement feel meaningful.

Strategic Depth : While easy to learn, the game offers deep strategic elements for players who want to optimize their gear arrangements.

Cross-Platform Accessibility : Play seamlessly on both desktop computers and mobile devices through any modern web browser, with no downloads required.

Free to Play : Enjoy the complete gaming experience without any upfront costs or mandatory purchases.

Whether you're looking for a relaxing idle experience or an engaging strategy challenge, Merging Gears delivers both in a polished, accessible package that runs perfectly in your browser.

Frequently Asked Questions (FAQ)