Idle Light City - City Management Game

Seele01-Flash
By
Idle Light City is an engaging management simulation game where you build and operate a lightbulb factory to restore light to a darkened city. Expand from a single building into a thriving industrial empire.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Idle Light City". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** A cute, Low-poly 3D aesthetic with a cartoonish vibe. The color palette should focus on high contrast: deep blues and purples for the unlit city/background (representing darkness) and warm, glowing oranges and yellows for the lightbulbs and illuminated buildings. * **Key Models:** * **The Lightbulbs (Citizens):** Anthropomorphic lightbulb characters with small legs and faces (like the reference image), glowing with an Emissive material. * **The Factory:** A central building where lightbulbs spawn. * **Residential Buildings:** Simple low-poly houses that start dark/gray and turn bright/colorful when "lit." * **The Ground:** A grid-based street layout. * **Lighting & Effects:** Use a dark ambient light with localized PointLights attached to each active lightbulb character. Implement a "glow" effect (bloom post-processing) to make the lightbulbs pop against the dark background. * **Mobile Optimization:** Use `InstancedMesh` for the lightbulb characters to handle hundreds of units on screen without lag. Limit real-time shadows to the main factory area. ### 2. Audio Requirements * **BGM (Background Music):** A relaxing, "Lo-Fi" night-time beat. It should start minimal (bass and soft synth) and layer in more melody/energy as more of the city becomes illuminated. * **Sound Effects (SFX):** * **Spawn:** A satisfying soft "pop" or "bloop" sound when a lightbulb leaves the factory. * **Lighting Up:** An electrical "hum" or light switch "click" sound when a lightbulb enters a house. * **UI/Upgrades:** A high-pitched "cha-ching" or coin sound for purchasing upgrades. * **Ambience:** Subtle night sounds (crickets, distant wind) when the city is idle. ### 3. Gameplay Loop * **Core Mechanic:** The central factory automatically spawns walking Lightbulb characters at a set interval. These characters pathfind along the roads to nearby houses. * **Objective:** When a lightbulb reaches a dark house, the house lights up. When a lightbulb reaches an already lit house, it generates currency (Money/Watts) and despawns (returning to the pool). * **Active Clicker Element:** Tapping on the Factory building instantly spawns a lightbulb (bypassing the auto-spawn timer), encouraging active play. * **Progression & Upgrades:** Players spend currency to: 1. **Unlock New Buildings:** Expand the city grid. 2. **Upgrade Production:** Increase auto-spawn speed. 3. **Upgrade Capacity:** Increase the maximum number of lightbulbs allowed on streets. 4. **Upgrade Profit:** Increase money earned per house visited. ### 4. Mobile Controls & Interaction * **Screen Orientation:** **Portrait Mode** (Vertical) to allow for easy one-handed play. * **Camera Control:** Isometric view (45-degree angle). Implement single-finger drag to Pan the camera around the city and two-finger pinch to Zoom. * **Touch Input (Raycaster):** * **Tap Factory:** Rapidly spawns units. * **Tap UI Buttons:** Large, thumb-friendly buttons (minimum 44px height) docked at the bottom of the screen for Upgrades. * **Feedback Systems:** * **Haptics:** Trigger a short vibration (using `navigator.vibrate`) when tapping the factory or buying an upgrade. * **Floating Text:** Show floating numbers ("+$10") rising from houses when money is earned to provide immediate visual reward. 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 Light City is a captivating management simulation game that combines city building with idle mechanics in a unique and heartwarming storyline. Your mission is to help a city shrouded in darkness regain its light by running an efficient lightbulb factory. This free-to-play 3D game offers both active management and passive progression, making it perfect for players who enjoy strategic planning and relaxing gameplay.

The game features charming graphics with cute citizens who depend on your success to brighten their world. Whether you prefer hands-on management or letting your city operate automatically, Idle Light City adapts to your playstyle while maintaining engaging progression mechanics.

Core Features

Factory Management System

Start with a humble single building and gradually expand into a massive lightbulb production empire. The factory management system allows you to:

  • Build Production Lines : Construct multiple buildings to increase lightbulb output
  • Optimize Workflows : Strategically place buildings to maximize efficiency
  • Monitor Progress : Track your production rates and city illumination progress
  • Scale Operations : Unlock new building types as your factory grows

Idle Progression Mechanics

The game continues working even when you're away, featuring:

  • Passive Income : Your factory produces lightbulbs and generates revenue automatically
  • Offline Progress : Return to find your city has continued growing in your absence
  • Active Acceleration : Click and interact to speed up production when you're playing
  • Strategic Breaks : Perfect for busy players who want progress without constant attention

City Expansion & Upgrades

Watch your city transform from darkness to light through:

  • Building Unlocks : Discover new structures and production facilities
  • Power-Up Systems : Boost efficiency with strategic upgrades
  • Revenue Optimization : Invest earnings to accelerate growth
  • Visual Progress : See the city literally light up as you succeed

Interactive Citizens

Meet the town's adorable residents who:

  • Provide Feedback : Citizens react to your progress and success
  • Offer Motivation : Cute character interactions keep gameplay engaging
  • Show Gratitude : Become the hero who saves their dark city
  • Add Personality : Bring life and charm to your industrial empire

Gameplay Mechanics

Production Strategy

Success requires balancing multiple factors:

  • Resource Allocation : Decide where to invest your earnings for maximum impact
  • Timing Decisions : Choose when to expand versus when to upgrade existing facilities
  • Efficiency Optimization : Arrange buildings and systems for peak performance
  • Long-term Planning : Build a sustainable factory that grows over time

Progressive Difficulty

The game scales naturally with your progress:

  • Early Game : Learn basic mechanics with simple building placement
  • Mid Game : Manage multiple production lines and complex decisions
  • Late Game : Optimize massive operations and unlock advanced features
  • Endless Growth : Continue expanding with no hard limits on city size

Operation Guide

Basic Controls

  • Click/Tap Empty Slots : Select available building locations
  • Follow Instructions : On-screen prompts guide building placement
  • Use Pop-up Menus : Access detailed building options through interface windows
  • Monitor Progress : Check production rates and earnings regularly

Strategic Tips

  • Start Small : Focus on mastering basic production before expanding
  • Invest Wisely : Prioritize upgrades that offer the best return on investment
  • Plan Layout : Organize buildings efficiently for maximum productivity
  • Stay Engaged : Active participation significantly accelerates progress

Why Play Idle Light City

Perfect for All Players

  • Casual Gamers : Easy to learn with no complex controls or time pressure
  • Strategy Fans : Deep management systems reward careful planning
  • Busy Schedules : Idle mechanics mean progress continues even when you're away
  • Achievement Seekers : Multiple goals and unlocks provide lasting motivation

Unique Gaming Experience

  • Meaningful Story : Your actions directly impact the city and its residents
  • Visual Satisfaction : Watch darkness literally transform into light
  • Balanced Gameplay : Combines active engagement with relaxing idle progression
  • No Pressure Environment : Play at your own pace without time constraints

Technical Excellence

  • 3D Graphics : Modern visual presentation with smooth animations
  • Cross-Platform : Works perfectly on computers, tablets, and smartphones
  • Browser-Based : No downloads required - play instantly online
  • Optimized Performance : Runs smoothly on various device specifications

Whether you're looking for a relaxing management experience or an engaging city-building challenge, Idle Light City delivers a perfect blend of strategy, progression, and heartwarming storytelling that will keep you coming back to brighten the world one lightbulb at a time.

Frequently Asked Questions (FAQ)