Galaxy Clicker - Idle Space Empire Builder

Seele01-Flash
By
Galaxy Clicker is a mesmerizing idle space game where you build and expand your cosmic empire by collecting planets, merging celestial bodies, and earning passive income as your universe revolves.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Galaxy Clicker". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Use a vibrant, "Toy-like" low-poly aesthetic. The visual tone should be stylized and colorful, mimicking the saturated neon colors (Hot Pink, Lime Green, Bright Yellow) seen in the reference image. Use `MeshStandardMaterial` with high `roughness` and slight `emissive` properties to make planets look like matte plastic or candy. * **Central Object**: A large, glowing central Sun (Yellow/Orange) that emits a `PointLight`. It acts as the center of the solar system. * **Planetary System**: Generate concentric ring lines (orbit paths) around the sun. Planets are spheres that move along these paths. * **Merge Visuals**: Planets of Level 1 should be small and gray; Level 2 green; Level 3 pink with a ring (Torus geometry), etc. * **Background**: A deep purple/blue procedural skybox or a large sphere with a starry texture. Add a simple particle system for background dust/stars to create depth. * **Performance**: Use instanced mesh rendering if possible for planets to handle high counts on mobile GPUs. Keep geometry segments low (e.g., Sphere segments 16-32) for optimization. ### 2. Audio Requirements * **BGM**: A chill, Lo-Fi Sci-Fi ambient track with a steady beat. It should be relaxing (Idle genre) but have a rhythmic pulse to encourage tapping. * **Sound Effects (SFX)**: * **Income Tick**: A soft "pop" or "coin" sound every time a planet completes a full revolution. * **Acceleration**: A rising "turbine" or "warp drive" hum when the player holds the screen. * **Merge**: A satisfying "magical chime" or "squish" sound when two planets combine. * **Upgrade**: A digital "level up" trill. ### 3. Gameplay Loop * **Core Mechanic**: Planets orbit the sun automatically. When a planet completes one full 360-degree orbit, the player earns "Space Cash." * **Acceleration (Active Play)**: When the player touches and holds the screen, a "Time Warp" effect triggers: camera FOV widens slightly, motion blur appears, and planet orbit speed increases by 300%. This consumes a "Stamina" bar. * **Merge Mechanic**: Players can buy basic planets. Dragging one planet onto another of the same level merges them into a higher-level planet (which generates more income per orbit). * **Upgrades**: * *Income Multiplier*: Increases cash per orbit. * *Orbit Speed*: Increases the passive base speed of planets. * *Stamina Tank*: Increases the duration the player can hold the turbo button. ### 4. Mobile Controls & Interaction * **Primary Control (Turbo)**: A global event listener for `touchstart`/`mousedown` (Hold) to trigger the speed boost. Release to return to normal speed. * **Merge Control (Raycasting)**: Implement a Raycaster for touch events. * *Touch Start*: Select a planet. * *Touch Move*: Drag the planet on the X/Z plane (following the finger). * *Touch End*: Check if the dragged planet overlaps with another planet of the same type. If yes -> Merge. If no -> Snap back to original orbit. * **UI Layout**: * Portrait mode preferred. * HUD overlay (HTML/CSS): "Total Cash" at the top center (large font). * Bottom Control Panel: Large, thumb-friendly buttons (min-height 60px) for "Buy Planet" and "Upgrades". * Stamina Bar: A visible gauge overlaying the bottom or side. * **Haptic Feedback**: Trigger a light vibration pattern (using `navigator.vibrate`) when a planet completes an orbit (if in Turbo mode) and a heavy vibration when a merge is successful. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Galaxy Clicker

Galaxy Clicker is an addictive idle clicker game that takes you on an incredible journey through the cosmos. This free browser-based game combines the satisfaction of incremental gameplay with stunning space visuals, creating an engaging experience that keeps you coming back for more. Watch as your planets orbit around stars, generating income with each revolution while you build the ultimate galactic empire.

Core Features

Endless Idle Progression

Galaxy Clicker offers the perfect idle gaming experience where progress continues even when you're away. Your planets keep revolving, stars keep shining, and income keeps flowing, making it ideal for both active play sessions and passive progression.

Planet Merging System

The game's unique merger mechanics allow you to combine smaller planets into larger, more valuable celestial bodies. Start with small asteroids and work your way up to massive gas giants and exotic cosmic phenomena. Each merge creates more powerful income generators.

Strategic Upgrade Paths

Customize your galactic empire through three key upgrade categories: - Stamina Upgrades : Increase your clicking power and active play efficiency - Income Boosts : Multiply your passive earnings from planetary rotations - Speed Enhancements : Accelerate planetary orbits for faster income generation

Beautiful Cosmic Visuals

Immerse yourself in a vibrant universe filled with colorful planets, glowing stars, and mesmerizing orbital mechanics. The game's charming art style makes space exploration both relaxing and visually rewarding.

Game Mechanics

Income Generation

Your primary income source comes from planetary rotations. Each time a planet completes an orbit around its star, you earn cosmic currency. Larger planets and faster orbital speeds result in higher earnings, creating a satisfying progression loop.

Merger Strategy

Success in Galaxy Clicker requires smart merger decisions. Combining planets of the same type creates more valuable celestial bodies, but timing your merges strategically maximizes your income potential. Plan your cosmic expansion carefully!

Active vs Passive Play

While the game progresses automatically, active participation significantly boosts your progress. Hold the mouse button to accelerate planetary motion and earn income faster during active play sessions.

Operation Guide

Galaxy Clicker features intuitive one-button controls perfect for players of all ages:

  • Left Mouse Button (Hold) : Accelerate planetary rotations for increased income
  • Click Interface : Purchase new planets, upgrades, and manage your cosmic empire
  • Merge Mechanics : Drag and drop planets of the same type to create larger celestial bodies

The game automatically saves your progress, so you can return anytime to continue building your galactic empire.

Why Play Galaxy Clicker

Galaxy Clicker stands out in the crowded idle game market by combining relaxing gameplay with satisfying progression mechanics. The space theme adds wonder to the incremental formula, while the merger system provides strategic depth beyond simple clicking.

Perfect for stress relief during breaks, background entertainment while working, or dedicated gaming sessions, Galaxy Clicker adapts to your preferred play style. The free-to-play model means you can dive into cosmic empire building immediately, with no barriers to entry.

Whether you're new to idle games or a seasoned clicker veteran, Galaxy Clicker offers the perfect balance of simplicity and depth to keep you engaged as you build your interstellar empire one planet at a time.

Frequently Asked Questions (FAQ)