King's Landing - Arcade Idle

Seele01-Flash
By
King's Landing - Arcade Idle combines medieval kingdom-building with relaxing idle gameplay. Build and customize your castle, manage resources automatically, and expand your empire at your own pace.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "King's Landing - Arcade Idle". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Low-poly, cartoonish, and vibrant aesthetic similar to games like "My Mini Mart" or "Farm Land". Use an **Isometric projection** (Orthographic Camera) to simulate a 2.5D view. * **Color Palette**: High saturation. Bright green for grass (`#7CFC00`), beige for dirt paths (`#F5DEB3`), stone grey for castle walls, and distinct team colors (Red/Blue) for banners. * **Character Models**: Simple "stickman" or "bean" style characters. The player should have a visible backpack or stack zone to visualize carried resources (e.g., stacking wood logs physically on the character's back). * **Environment**: A grid-based tile map. * **Resources**: Trees (cylinders + cones), Stone rocks (low-poly icosahedrons). * **Buildings**: Modular castle parts (Walls, Towers, Barracks) that appear as "ghost" outlines first, filling in solidly once built. * **Mobile Optimization**: Use `InstancedMesh` for repetitive environmental objects (grass blades, trees, walls) to maintain high FPS on mobile browsers. Use simple Lambert or Toon shading; avoid expensive PBR materials. ### 2. Audio Requirements * **BGM**: A whimsical, looping Medieval tune featuring a lute, flute, and light percussion. It should be relaxing, not intense. * **Sound Effects (SFX)**: * **Harvesting**: A rhythmic "chop" or "clink" sound when gathering resources. * **Collection**: A high-pitched "pop" or "whoosh" sound when resources fly to the player. * **Building**: A rapid "hammering" sound when depositing resources into a construction zone. * **Unlock**: A celebratory trumpet fanfare when a new area is unlocked. ### 3. Gameplay Loop * **Core Mechanic (Arcade Idle)**: The player controls a single character directly. 1. **Harvest**: Walk up to a resource node (Tree/Mine). Character automatically plays an animation, and resources drop. 2. **Carry**: Player picks up resources (limited stack capacity, e.g., max 10 items). Visual feedback shows the stack growing. 3. **Build/Sell**: Player walks to a specific "Drop Zone" (e.g., a unfinished building or a market). Resources drain from the player's stack, and the building progress bar fills up. * **Economy**: * Completed buildings generate **Gold** over time. * Gold is used to unlock "Fog of War" areas, expanding the map to reveal new resources or enemies. * **Automation**: Upon upgrading the main castle, spawn AI "Peasants" who automatically harvest resources and bring them to the storage, simulating the "Idle" aspect. ### 4. Mobile Controls & Interaction * **Movement Control**: Implement a **Floating Virtual Joystick** (using a library like `nipple.js` or custom canvas implementation). It should activate anywhere on the bottom half of the screen to accommodate different hand sizes. * **Orientation**: **Landscape Mode** is preferred for the isometric view, but the UI must be responsive. * **Interaction Logic (Proximity)**: * **No Buttons**: Interaction must be purely proximity-based. When the player enters a triggered radius (marked by a white circle on the ground) around a tree or building, the action (chop/build) starts automatically. * **Feedback**: * **Haptics**: Trigger `navigator.vibrate(50)` when a resource is collected or a building is finished. * **Visuals**: Floating text numbers (e.g., "+1 Wood") rising from the player's head. * **Camera Follow**: The camera must smoothly damp/follow the player character with a slight offset. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

King's Landing - Arcade Idle is a captivating medieval kingdom-building game that perfectly blends strategic management with the relaxing nature of idle gameplay. Set in an enchanting medieval world, you'll take on the role of an aspiring ruler working to establish a mighty empire through automated resource management and strategic castle customization.

This charming game features colorful cartoon-style graphics with a friendly young knight protagonist who guides you through your royal journey. The isometric view provides a perfect perspective to oversee your growing kingdom, from humble beginnings to a sprawling medieval empire.

Core Features

Effortless Kingdom Building

The game's idle mechanics allow your kingdom to grow and prosper even when you're away. Resources are generated automatically, buildings construct themselves over time, and your empire expands without constant attention. This makes it perfect for busy players who want to enjoy kingdom-building without the pressure of real-time management.

Castle Customization System

Design and personalize your medieval stronghold with extensive customization options. Choose from various architectural styles, defensive structures, and decorative elements to create a unique castle that reflects your royal vision. Each building serves both aesthetic and functional purposes in your growing empire.

Strategic Resource Management

Manage multiple resources including gold, food, materials, and population. The automated systems handle basic collection, but strategic decisions about upgrades, expansions, and resource allocation remain in your hands. Balance economic growth with military strength to ensure your kingdom's prosperity.

Exploration and Expansion

Venture beyond your castle walls to discover new territories, resources, and opportunities. The vast realm offers multiple regions to explore and conquer, each with unique challenges and rewards that contribute to your empire's growth.

Gameplay Mechanics

The game operates on a satisfying progression loop where idle mechanics generate resources that fund expansion and upgrades. Start with a modest castle and gradually unlock new buildings, technologies, and territories. The idle nature means progress continues even during breaks, making each return to the game rewarding with accumulated resources and completed constructions.

Operation Guide

Navigating your kingdom is intuitive and accessible:

  • Movement : Use WASD keys, arrow keys, or drag with the left mouse button to move your character around the kingdom
  • Interaction : Left-click on buildings, menus, and interface elements to access management options
  • Camera Control : The isometric view automatically adjusts to provide optimal viewing angles of your expanding realm

The user-friendly interface ensures that both newcomers to idle games and experienced kingdom-builders can easily manage their empire. All essential information is clearly displayed, and important actions are just a click away.

Why Play This Game

Perfect for Casual Gaming : The idle mechanics make this ideal for players who want engaging gameplay without time pressure. Progress continues whether you play for minutes or hours.

Stress-Free Strategy : Unlike real-time strategy games, King's Landing allows you to make thoughtful decisions at your own pace, creating a relaxing yet engaging experience.

Visual Appeal : The colorful, cartoon-style graphics create an inviting medieval world that's both charming and detailed, making kingdom management a visual pleasure.

Free to Play : Enjoy the full kingdom-building experience without any upfront cost, making it accessible to all players interested in medieval simulation games.

Cross-Platform Availability : Play seamlessly on both web browsers and Android devices, allowing you to manage your kingdom anywhere.

Frequently Asked Questions (FAQ)