FG Factory 2 - Industrial Automation Game

Seele01-Flash
By
FG Factory 2 is a captivating incremental idle factory game that challenges you to build, automate, and optimize industrial production chains. Gather resources, craft items, and complete missions while managing complex factory systems.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**FG Factory 2 - 3D Industrial Manager**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Transform the flat UI-based source material into a stylized, **Low-Poly Industrial 3D interface**. The aesthetic should be clean, modern, and "dark mode" friendly (dark grey backgrounds #222222 with vibrant accent colors for status indicators: Green #00ff00, Yellow #ffcc00, Red #ff4444). * **3D Models:** Instead of 2D panels, represent each factory unit (Furnace, Drill, Assembler) as a simple 3D block or machine model on a grid. * *Furnace:* A block with a glowing orange opening. * *Drill:* A block with a rotating conical bit on top. * *Assembler:* A block with a moving robotic arm or conveyor belt animation. * **UI Layout:** The game should act as a "dashboard" where 3D models sit inside "cards" or "modules." Use `THREE.Group` to organize these machine modules. * **Performance:** Since this is an incremental game, object count might grow. Use `InstancedMesh` for repeated geometry (screws, conveyor segments) to maintain 60FPS on mobile devices. Use simple Gouraud shading or `MeshLambertMaterial` to reduce GPU load. ### 2. Audio Requirements * **BGM:** A rhythmic, low-fidelity "Lo-Fi Industrial" track. Think muted metallic clanks and a steady bass beat that mimics the rhythm of a factory line, but kept ambient and non-intrusive for long idle sessions. * **Sound Effects (SFX):** * *Click/Tap:* A crisp, mechanical switch sound (like a high-quality keyboard click). * *Upgrade/Level Up:* A pneumatic "hiss" followed by a satisfying "ka-chunk" metal lock sound. * *Production Cycle:* Subtle, rhythmic hums for active machines. * *Error/Insufficient Funds:* A low-pitch, soft buzzer. ### 3. Gameplay Loop * **Core Mechanism:** The "Idle/Incremental" loop. 1. **Generate:** Basic machines (Drills) produce raw resources (Iron, Copper) automatically over time (ticks). 2. **Process:** Intermediate machines (Furnaces) consume raw resources to create ingots. 3. **Craft:** Advanced machines (Assemblers) combine ingots into finished goods. * **Automation:** Players start by manually clicking a "Work" button to produce, then spend resources to buy "Automators" that run the cycle automatically. * **Progression:** * Display dynamic numbers floating up from machines (+1 Iron, +5 XP). * Resources accumulate in a global UI header. * Unlock new machine tiers as total resource count hits milestones. ### 4. Mobile Controls & Interaction * **Screen Orientation:** **Portrait Mode** (Vertical). This fits the "list view" style of idle management games best on phones. * **Touch Controls:** * **Scrolling:** Implement a smooth inertial scroll (like a native app) to move through the list of factory machines. The camera should pan along the Y-axis. * **Tapping:** Large, thumb-friendly interaction zones. The "Upgrade" (+) buttons need to be at least 44x44 pixels in screen space. * **Long Press:** Long-pressing a machine opens a detailed stats modal (efficiency, input/output rates). * **Feedback:** * **Haptic:** Trigger a light vibration (using `navigator.vibrate(10)`) on every successful upgrade purchase. * **Visual:** When a button is pressed, the 3D model of the button should depress physically (Z-axis movement), and the machine model should perform a "squash and stretch" animation to indicate an upgrade occurred. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

FG Factory 2 is an engaging incremental idle factory simulation that puts you in control of complex industrial operations. This free-to-play browser game combines strategic planning with automated production systems, offering an addictive gameplay experience where efficiency and optimization are key to success.

Inspired by legendary factory-building games, FG Factory 2 delivers multiple challenging scenarios that will test your industrial management skills. Whether you're a seasoned factory tycoon or new to automation games, this title offers depth and accessibility in equal measure.

Core Features

Complete Factory Automation System

Design and build sophisticated production lines with multiple machines working in perfect harmony. The game features various types of equipment including furnaces, assemblers, and specialized machinery that can be configured to create efficient manufacturing workflows.

Multi-Scenario Gameplay

Explore different industrial challenges across multiple scenarios. Each scenario presents unique objectives, resource constraints, and production goals that require different strategic approaches to master.

Resource Management & Crafting

Gather essential materials like coal, iron, and other resources to fuel your industrial empire. The crafting system allows you to transform raw materials into valuable products through sophisticated production chains.

Incremental Progression

Enjoy the satisfying progression of idle gameplay where your factories continue producing even when you're away. Return to find accumulated resources and expanded production capabilities.

Optimization Challenges

Maximize efficiency by fine-tuning machine ratios, managing stockpiles, and balancing production speeds. The game rewards players who can create the most optimized factory layouts.

Gameplay Mechanics

Factory Construction

Start with basic machinery and gradually expand your industrial complex. Place furnaces to smelt raw materials, set up assemblers to craft complex items, and create storage systems to manage your inventory effectively.

Production Chain Management

Create interconnected production lines where the output of one machine becomes the input for another. Balance supply and demand across multiple production stages to maintain optimal efficiency.

Resource Flow Optimization

Monitor resource consumption rates and production speeds to identify bottlenecks. Adjust machine configurations and add additional equipment where needed to maintain smooth operations.

Operation Guide

Mouse Controls : Use the left mouse button for all game interactions including: - Selecting and placing machines - Configuring production settings - Managing inventory and resources - Navigating between different factory areas

Interface Navigation : The game features an intuitive interface with clearly labeled sections for machines, automation settings, and stockpile management. Monitor your production statistics in real-time through comprehensive dashboards.

Why Play FG Factory 2

Perfect for Strategy Enthusiasts

If you enjoy games that reward careful planning and strategic thinking, FG Factory 2 offers endless opportunities to optimize and improve your industrial operations.

Accessible Yet Deep

While easy to learn, the game provides substantial depth for players who want to master complex production systems and achieve maximum efficiency.

Free Browser Experience

Enjoy full-featured factory building without any downloads or installations. The game runs smoothly on both desktop and mobile browsers, making it perfect for gaming sessions anywhere.

Continuous Progression

The idle mechanics ensure your factories keep working even when you're not actively playing, providing a sense of continuous advancement and achievement.

Multiple Replayability

With various scenarios and optimization challenges, FG Factory 2 offers high replay value as you experiment with different strategies and factory designs.

Frequently Asked Questions (FAQ)