Empire City - Ancient City Building & Management Game

Seele01-Flash
By
Empire City is a captivating ancient city building and management game where you construct a thriving empire from nothing. Build magnificent cities, manage resources, and create a unique civilization with guidance from helpful advisors Julia and Flavius.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Empire City - Ancient Isometric Builder**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** High-saturation, stylized "Ancient Roman/Greco" aesthetic. Use an **Orthographic Camera** positioned at a fixed isometric angle (45 degrees) to mimic the classic city-builder look seen in the screenshot. * **Asset Geometry:** * **Buildings:** Low-poly Roman architecture (terracotta roofs, white marble columns, stone bases). Key structures include: Small Houses, a large central Water Mill (animated wheel), and Warehouses. * **Nature:** Stylized trees (blob/low-poly style), vibrant green terrain tiles, and a dynamic blue river shader with simple reflection/foam effects. * **Resources:** Wheat fields that change color/model based on growth stage (Green -> Yellow/Gold). * **Mobile Optimization:** * Use **InstancedMesh** for repetitive elements like trees, wheat, and ground tiles to reduce draw calls. * Implement simple shadow maps (DirectionalLight) but bake static shadows into textures where possible to save battery. * Limit active particle count (e.g., only show construction dust or resource pop-ups briefly). ### 2. Audio Requirements * **BGM:** A looping, pastoral orchestral track featuring flutes, harps, and light percussion. It should be relaxing and evoke an "Ancient Civilization" atmosphere. * **Sound Effects (SFX):** * **UI:** Soft wooden "clacks" for menu clicks; a high-pitched "chime" for completing a quest/upgrade. * **Construction:** A brief "hammering/sawing" sound when placing a building. * **Collection:** A satisfying "pop" sound when harvesting wheat or collecting clay. * **Ambience:** Faint sound of flowing water near the river and distant birds chirping. ### 3. Gameplay Loop * **Core Mechanic:** A grid-based placement system. Players tap a grid tile to build roads or structures. * **Economy & Resources:** * **Clay/Wood:** Gathered from environment nodes. * **Clay Mixture:** Processed in workshops (takes time). * **Gems:** Premium currency to speed up timers. * **The "Julia & Flavius" Logic:** Implement a simple tutorial state machine. * *Step 1:* Force camera focus on a tile -> Build Road. * *Step 2:* Build House (requires road connection). * *Step 3:* Collect Clay (tap resource icon). * *Step 4:* Upgrade House (consumes Clay). * **Progression:** Buildings have "Construction Timers" (e.g., 5 seconds). Show a radial progress bar above the building. When finished, the building model updates visually. ### 4. Mobile Controls & Interaction * **Camera Controls:** * **One-finger drag:** Pan the camera across the map (XZ plane). * **Two-finger pinch:** Zoom in/out (adjust Orthographic zoom level). * **Interaction (Raycaster):** * Tap (short touch): Select a building or collect a floating resource icon. * Long Press: Open context menu (Move/Demolish). * **UI Layout:** * **Bottom Bar:** distinct, large icons (60x60px min) for "Build," "Roads," and "Quests." * **Top Bar:** Resource counters (Gold, Clay, Gems) clearly visible against the sky/background. * **Feedback:** When a user taps a valid tile, highlight it Green. Invalid tiles (collision) highlight Red. Provide Haptic Feedback (vibration) on successful building placement. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Empire City

Empire City is an immersive ancient city building and management game that puts you in the role of a Prefect, tasked with building a magnificent empire from the ground up. Set in ancient times, this strategic simulation game challenges you to construct entire cities, manage resources, and create a thriving civilization that will stand the test of time.

With its engaging storyline and intuitive gameplay mechanics, Empire City offers both newcomers and experienced city builders an accessible yet deep gaming experience. The game features helpful advisors Julia and Flavius who guide you through every step of empire building, making it perfect for players of all skill levels.

Core Features

Complete City Building Experience

Empire City provides a comprehensive city building simulation where you design and construct every aspect of your ancient metropolis:

  • Urban Planning : Design roadways, residential districts, and commercial areas from scratch
  • Infrastructure Development : Build essential waterways, workshops, and public facilities
  • Resource Management : Mine clay, produce building materials, and manage supply chains
  • Progressive Expansion : Start with basic structures and evolve into a grand empire

Expert Guidance System

Two dedicated advisors accompany your journey: - Julia : An innkeeper who knows everything about city life and provides valuable insights - Flavius : A skilled architect who guides construction projects and building upgrades - Step-by-Step Tutorials : Comprehensive guidance for new players - Ongoing Support : Advisors remain available whenever you need assistance

Strategic Resource Management

Master the art of ancient resource management: - Mining Operations : Extract clay and other essential materials outside the city - Production Chains : Create specialized workshops for advanced materials like clay mixture - Storage Systems : Build warehouses to store and distribute resources efficiently - Trade Networks : Establish supply routes to connect resource sites with your city

Dynamic Building System

Experience realistic construction mechanics: - Road Connectivity : Every building must connect to your road network - Upgrade Paths : Transform basic structures into magnificent multi-story buildings - Material Requirements : Different construction phases require specific resources - Time Management : Balance construction speed with resource availability

Game Mechanics

Starting Your Empire

Begin your journey as a Prefect with a blank canvas and unlimited potential. Julia and Flavius provide comprehensive tutorials covering: - Basic road construction and city layout principles - Residential building placement and connectivity requirements - Resource extraction and transportation logistics - Workshop construction and material production

Resource Production Cycle

Master the intricate resource management system: 1. Extract raw materials from quarries and mining sites outside the city 2. Transport resources via connected road networks 3. Process materials in specialized workshops for advanced construction 4. Store finished goods in warehouses for future use 5. Deploy resources for building upgrades and expansion projects

Building Upgrade System

Transform your humble settlements into grand structures: - Basic Houses : Start with simple single-story residential buildings - Advanced Upgrades : Add second floors and luxury amenities - Material Requirements : Use clay mixture and other premium materials for major upgrades - Visual Progression : Watch your city transform from simple dwellings to magnificent architecture

Operation Guide

Mouse Controls

  • Left Click : Select buildings, interact with interface elements, and place structures
  • Click and Drag : Navigate around your city map and plan construction areas
  • Menu Navigation : Access building options, resource management, and advisor guidance

Getting Started

  1. Follow the Tutorial : Complete the comprehensive introduction with Julia and Flavius
  2. Build Your First Road : Establish the foundation of your transportation network
  3. Construct Housing : Place residential buildings connected to your road system
  4. Establish Resource Sites : Repair and upgrade clay quarries and other extraction facilities
  5. Create Production Chains : Build workshops to process raw materials into construction supplies
  6. Expand Strategically : Plan your city layout for efficient growth and resource flow

Advanced Strategies

  • Plan Ahead : Design road networks that can accommodate future expansion
  • Optimize Resource Flow : Position workshops near both resource sites and construction areas
  • Balance Growth : Manage population expansion with resource production capacity
  • Utilize Advisors : Regularly consult Julia and Flavius for optimization tips

Why Play Empire City

Perfect for Strategy Enthusiasts

Empire City offers the perfect blend of city building, resource management, and strategic planning. Whether you're a casual gamer looking for relaxing gameplay or a strategy enthusiast seeking complex challenges, this game delivers engaging content that scales with your interests.

Educational Value

Explore ancient civilization concepts while developing practical skills in: - Urban planning and infrastructure development - Resource management and supply chain optimization - Strategic thinking and long-term planning - Problem-solving and logical decision-making

Accessible Gameplay

With its intuitive mouse controls and helpful advisor system, Empire City welcomes players of all experience levels. The tutorial system ensures everyone can master the basics, while the depth of gameplay provides lasting entertainment for dedicated city builders.

Free Online Experience

Enjoy this complete city building experience directly in your web browser without any downloads or installations required. The game runs smoothly on both desktop and mobile devices, allowing you to manage your empire anywhere.

Frequently Asked Questions (FAQ)