Coin Clicker - Idle Clicking Game

Seele01-Flash
By
Coin Clicker is an addictive idle clicker game where you click to collect coins and purchase upgrades to maximize your earning potential. Simple yet engaging gameplay perfect for casual gaming sessions.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Coin Clicker**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** High-gloss, "Juicy" Arcade aesthetic similar to the provided logo. Use a vibrant color palette: Gold/Orange for primary elements, Cyan/Blue for shadows/accents, and a warm, radial gradient background. * **Core Asset (The Coin):** Create a large, central Cylinder geometry (simulating a thick coin) or load a coin model. It must be gold, highly reflective (high metalness, low roughness), and slowly rotating on the Y-axis when idle. * **Lighting:** Use a warm ambient light and a directional light to create distinct specular highlights on the coin surface to mimic the shiny logo style. * **Particles:** Implement a simple particle system where small "sparkles" or mini-coins burst outward from the click point. * **UI Overlay:** Use an HTML/CSS overlay on top of the canvas for the Score Display and Upgrade Menu. The UI should use rounded buttons, bold fonts, and match the orange/glossy theme. ### 2. Audio Requirements * **BGM:** A lighthearted, looping "elevator bossa nova" or upbeat casual synth track. It should be non-intrusive. * **SFX - Click:** A satisfying, metallic "ching" or "clink" sound. To reduce fatigue, slightly randomize the pitch (0.9x to 1.1x) on each click. * **SFX - Upgrade:** A "Cash Register" or "Level Up" jingle when purchasing an upgrade. * **SFX - Ambient:** A subtle low-hum or magical chime when the player reaches a milestone amount of coins. ### 3. Gameplay Loop * **Core Logic:** The player starts with 0 Coins. Clicking the central 3D coin adds coins based on `ClickPower`. * **Economy:** * **Coins:** The main currency. * **Click Power:** How many coins per tap (Upgradable). * **Auto-Clicker (CPS):** Coins generated automatically per second (Upgradable). * **Upgrade System:** Implement a shop with at least two types of upgrades: 1. **"Better Mouse"**: Increases coins per click. Cost increases exponentially (e.g., cost * 1.5). 2. **"Miner Bot"**: Increases coins per second. Cost increases exponentially. * **Victory/Goal:** The game is endless, but display a visual "Level Up" notification every time the player's total earnings increase by a factor of 10. ### 4. Mobile Controls & Interaction * **Screen Orientation:** **Portrait Mode** optimized. The Coin should occupy the center-upper half of the screen, and the Upgrade menu should be in the bottom half (easily reachable by thumb). * **Touch Interaction:** * Use Raycasting to detect taps on the 3D coin mesh. * **Juice/Feedback:** On tap, the Coin must scale down slightly (e.g., to 0.9 scale) and bounce back elastically using a Tweening library (like GSAP or a simple interpolation function). This is crucial for tactile feel. * **Floating Text:** Spawn a floating text element (e.g., "+$1") at the point of intersection on the 3D mesh that floats upwards and fades out. * **Haptics:** Trigger `navigator.vibrate(50)` on every successful tap for immediate physical feedback. * **UI Constraints:** Buttons in the HTML overlay must be at least 44x44px and have padding to prevent accidental clicks. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Coin Clicker is a captivating idle clicker game that combines simple mechanics with addictive progression systems. Your goal is straightforward: click to collect coins and use them to purchase upgrades that will help you reach the maximum level. This free-to-play browser game offers endless entertainment with its satisfying click-and-upgrade gameplay loop.

The game features a vibrant, colorful design with eye-catching golden coin graphics that make every click feel rewarding. As an idle game, Coin Clicker allows you to progress even when you're not actively playing, making it perfect for both active gaming sessions and passive progression.

Core Features

Addictive Clicker Mechanics

The core gameplay revolves around clicking to generate coins. Each click rewards you with currency that can be invested in various upgrades to increase your earning potential.

Progressive Upgrade System

Purchase upgrades that enhance your coin generation rate, allowing you to earn more coins per click and unlock automatic coin generation features.

Idle Progression

True to its idle game nature, Coin Clicker continues to generate coins even when you're away from the game, ensuring continuous progress.

Cross-Platform Compatibility

Play seamlessly across desktop and mobile devices through your web browser - no downloads required.

Achievement Goals

Work towards reaching the maximum level by strategically investing in upgrades and optimizing your coin generation strategy.

Game Mechanics

Click-to-Earn System

Every click generates coins that serve as the primary currency for purchasing upgrades. The more you click, the faster you accumulate wealth.

Strategic Upgrading

Choose from various upgrade options that increase click value, provide automatic clicking, or boost idle earnings. Smart investment decisions lead to exponential growth.

Level Progression

Advance through multiple levels by accumulating enough coins and purchasing specific upgrades. Each level brings new challenges and opportunities.

Operation Guide

Basic Controls

  • Left Mouse Button : Click anywhere on the screen to generate coins
  • Upgrade Menu : Use mouse clicks to navigate and purchase upgrades
  • Statistics Panel : Monitor your progress and earnings

Getting Started

  1. Begin clicking the main coin or designated clicking area
  2. Accumulate enough coins to purchase your first upgrade
  3. Invest in upgrades that increase your clicking power
  4. Progress to automatic coin generation upgrades
  5. Continue upgrading to reach higher levels

Optimization Tips

  • Focus on upgrades that provide the best coin-per-second ratio
  • Balance between click power upgrades and idle generation
  • Regularly check back to spend accumulated idle earnings
  • Plan your upgrade path to maximize efficiency

Why Play This Game

Coin Clicker offers the perfect blend of simplicity and depth that makes clicker games so appealing. It's ideal for players who enjoy:

  • Casual Gaming : Perfect for short breaks or extended sessions
  • Progress Satisfaction : Watch your numbers grow exponentially
  • Strategic Planning : Optimize upgrade paths for maximum efficiency
  • Stress Relief : Simple, repetitive clicking can be surprisingly relaxing
  • Achievement Hunting : Work towards reaching the ultimate maximum level

The game's accessibility makes it suitable for players of all ages and skill levels. Whether you're new to clicker games or a seasoned idle game veteran, Coin Clicker provides an engaging experience that's easy to start but challenging to master.

Frequently Asked Questions (FAQ)