Idle Gun - Incremental Clicker Game

Seele01-Flash
By
Idle Gun is an addictive incremental clicker game where you build a collection of self-shooting weapons, earn coins with every shot, and upgrade your arsenal. Start with a basic pistol and work your way up to exotic firearms in this pixel-style idle game.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Idle Gun: Blueprint Edition**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Create a unique "3D Sketch/Blueprint" aesthetic. Use low-poly 3D models for the guns (starting with a Glock 17, expanding to Desert Eagles, Rifles) but apply a **Cel-Shader (Toon Shader)** with black outlines to mimic the hand-drawn, pixelated sketch style seen in the reference image. * **Background:** Use a static, paper-textured background (like graph paper or a crumpled napkin) to reinforce the "doodle" theme. * **Particle Effects:** Implement lightweight particles for muzzle flashes (pixelated sprites), flying bullet casings, and impact debris on targets. Use Three.js `PointsMaterial` for performance. * **Mobile Optimization:** Limit weapon polygon count to under 1000 tris per gun. Use object pooling for bullets and floating text to maintain 60 FPS on mobile browsers. ### 2. Audio Requirements * **BGM:** A chill, "Lo-Fi Hip Hop" beat that loops seamlessly. It should be non-intrusive, suitable for long idle sessions. * **SFX - Gunfire:** Distinct sounds for different weapon tiers (e.g., a snappy "pop" for the Glock, a heavy "boom" for the Desert Eagle). Add a slight random pitch variation to prevent listener fatigue. * **SFX - UI:** A satisfying "cash register" or "coin jingle" sound when upgrades are purchased. A "click-clack" mechanical sound for menu navigation. * **ASMR Elements:** Include the sound of magazines sliding in or slides racking when unlocking a new gun. ### 3. Gameplay Loop * **Core Mechanic:** The gun floats in the center and fires automatically at a target (e.g., a wooden dummy or bullseye) located at the top of the screen. * **Economy:** Every hit generates "Coins". Coins fly from the target to a wallet UI counter. * **Progression System:** * **Upgrades:** Spend coins to increase "Fire Rate" (speed) and "Damage" (earnings per shot). * **Talents & Trophies:** A secondary menu to purchase global multipliers (e.g., "All guns +10% damage"). * **Trial Mode:** Implement a "Trial" button. When clicked, a boss target appears with a health bar and a countdown timer (e.g., 30 seconds). Defeating it unlocks the next weapon model. Failing resets the trial. * **Idle Feature:** Calculate offline earnings based on DPS (Damage Per Second) and award them to the player upon returning to the tab. ### 4. Mobile Controls & Interaction * **Screen Orientation:** **Portrait Mode (Vertical)** is mandatory for one-handed play. * **Touch Interactions:** * **Manual Fire:** Tapping anywhere on the screen should fire an extra shot instantly (Active Clicker mechanic). * **UI Layout:** Place the "Upgrade" and "Trial" buttons at the bottom of the screen (the "Thumb Zone") for easy access. Buttons must be at least 44x44px. * **Feedback (Juice):** * **Visual Recoil:** The gun model must recoil backwards and rotate slightly upward on every shot. * **Screen Shake:** Apply a subtle camera shake on critical hits or trial boss defeats. * **Haptics:** Trigger `navigator.vibrate(10)` on manual taps (if supported). * **Floating Text:** Display damage numbers and coin gains popping up from the target. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Idle Gun is a captivating pixel-style incremental clicker game that combines weapon collecting with idle gaming mechanics. In this engaging browser-based game, you start with a simple Glock 17 pistol and gradually build an impressive arsenal of self-shooting weapons. Each shot fired automatically generates coins, allowing you to purchase upgrades and unlock new firearms even when you're away from the game.

The game features charming pixel art graphics and satisfying clicking mechanics that make weapon collecting incredibly addictive. Whether you're actively playing or letting the game run in the background, your weapons continue generating income, making progression feel rewarding and continuous.

Core Features

Automatic Weapon Collection System

Your guns fire automatically, generating a steady stream of gold coins without requiring constant clicking. This idle mechanic means you can progress even when not actively playing, making it perfect for casual gaming sessions.

Extensive Weapon Upgrade System

Upgrade individual weapons and your entire collection through the comprehensive talents system. Each upgrade significantly improves your earning potential, creating satisfying progression loops that keep you engaged.

Challenging Trial Modes

Test your upgraded weapons in time-based trials where you must hit targets before time runs out. Success rewards you with trophy points and unlocks powerful new weapons at specific milestones.

Global Buff System

Access the trophy menu to purchase global buffs that enhance your entire weapon collection simultaneously. These permanent upgrades provide massive boosts to all your firearms.

Pixel Art Aesthetic

Enjoy beautifully crafted pixel graphics that give each weapon distinct character and visual appeal. The retro art style creates a nostalgic gaming atmosphere.

Gameplay Mechanics

Building Your Arsenal

Start with the reliable Glock 17 and progressively unlock exotic weapons through successful trial completions. Each new gun brings unique firing patterns and earning potential, encouraging strategic collection building.

Incremental Progression

The core incremental mechanics ensure steady advancement. Coins accumulate automatically, upgrades compound over time, and your weapon collection grows stronger with each session.

Target Practice Trials

Engage in skill-based challenges where timing and upgraded weapons matter. These trials break up the idle gameplay with active engagement opportunities.

Operation Guide

Mouse Controls : Use the left mouse button to interact with all game elements, including weapons, upgrade menus, and trial interfaces.

Weapon Management : Click on individual weapons to view upgrade options or access the talents menu for class-wide improvements.

Trial Access : Navigate to trial modes through the main menu to test your weapons and earn trophy points.

Upgrade Strategy : Balance individual weapon upgrades with global buffs for optimal progression efficiency.

Why Play Idle Gun

Perfect for Casual Gaming : The idle mechanics make this game ideal for players who want progression without constant attention. Your weapons work for you even when you're busy with other activities.

Satisfying Progression : The combination of incremental mechanics and weapon collecting creates deeply satisfying advancement loops. Every upgrade feels meaningful and impactful.

Free Browser Gaming : Completely free to play with no downloads required. Simply open your browser and start building your weapon collection immediately.

Cross-Platform Compatibility : Works perfectly on both desktop computers and mobile devices, allowing you to manage your arsenal anywhere.

Engaging Challenge Balance : While the game runs automatically, optional trial modes provide active gameplay challenges for players seeking more engagement.

Idle Gun successfully combines the addictive nature of incremental games with the appeal of weapon collecting, creating an experience that's both relaxing and engaging for players of all skill levels.

Frequently Asked Questions (FAQ)