Fruit Factory Idle

Seele01-Flash
By
Fruit Factory Idle is an engaging idle clicker game where you build and manage a thriving fruit processing factory. Start with simple fruits and expand to exotic varieties while maximizing your profits through strategic upgrades.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Fruit Factory Idle". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Adopt a **Vibrant Low-Poly 3D** aesthetic that mimics the bright, colorful vector art shown in the screenshot. Use Toon Shading (MeshToonMaterial) to give it a cel-shaded, cartoon look. * **Camera**: Use an **Orthographic Camera** positioned at an isometric angle (e.g., 45 degrees) to provide a clear, distortion-free view of the factory grid. * **Palette**: Use the vibrant colors from the screenshot: Bright Red (Watermelon), Sunny Yellow (Lemon/Banana), Lime Green (Kiwi), set against a gradient Light Blue background (`#a0d8ef` to `#ffffff`). * **Models**: * **Fruits**: Simple geometric approximations (spheres for apples, elongated capsules for bananas, cubes for generic crates). * **Factory Elements**: Modular conveyor belt segments (animated texture indicating flow), blocky processing machines (Juicers, Slicers), and collection bins. * **Performance**: Use **InstancedMesh** for the conveyor belts and fruits to ensure 60fps on mobile devices. Limit dynamic lights to one DirectionalLight and use AmbientLight for base brightness. ### 2. Audio Requirements * **BGM**: An upbeat, looping "Elevator Bossa Nova" or "Casual Synth" track. It should be rhythmic to match the ticking of the factory but relaxing enough for idle gameplay. * **Sound Effects (SFX)**: * *Pop/Plop*: When a fruit is spawned onto the belt. * *Whir/Zip*: Soft mechanical noise when a fruit passes through a machine. * *Coin Clink*: High-pitched, satisfying chime when fruit reaches the end of the line and cash is earned. * *UI Click*: A crisp "wood block" or "bubble" sound when tapping upgrade buttons. ### 3. Gameplay Loop * **Core Mechanic**: 1. **Spawn**: Fruits automatically spawn at the start of a conveyor line at a set rate (initially slow). 2. **Process**: Conveyor belts move fruits into machines. Machines apply a visual change (e.g., change fruit color or scale) and multiply the fruit's value. 3. **Collect**: Fruit reaches the end of the line, disappears, and adds currency to the player's bank. * **Progression System**: * **Upgrade Belt**: Increases movement speed. * **Upgrade Spawner**: Increases spawn rate. * **Upgrade Machine**: Increases the value multiplier. * **Unlock Fruit**: Unlocks new, higher-value fruit models (Apple -> Pear -> Pineapple -> Watermelon). * **Idle Aspect**: The factory continues to generate money even if the player isn't interacting, but clicking/tapping the screen can temporarily speed up the belt (Manual Boost). ### 4. Mobile Controls & Interaction * **View Port**: The game should be responsive, but optimized for **Portrait Mode** (vertical) to allow for one-handed play. * **Touch Interactions**: * **Raycasting**: Implement a Raycaster to detect taps on 3D factory machines to open their specific upgrade context menus. * **Global Tap**: Tapping anywhere on the factory floor triggers a "Speed Boost" effect, slightly accelerating the `timeScale` of the animations for 1 second. * **UI Layout**: * **HUD**: A top bar showing "Total Money" and "Money Per Second". * **Control Panel**: A persistent bottom sheet (overlay HTML/CSS) containing large, thumb-friendly buttons (min-height 44px) for general upgrades (e.g., "Upgrade Speed ($50)"). * **Feedback**: * **Floating Text**: When fruit is sold, display floating "+$10" text that drifts upward and fades out. * **Haptic Feedback**: Trigger `navigator.vibrate(5)` (if available) when a button is purchased or a boost tap is registered. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Fruit Factory Idle is a captivating idle clicker game that combines factory management with incremental gameplay mechanics. In this colorful pixel-art adventure, you'll transform simple fruits into profitable products through an ever-expanding network of conveyor belts and processing machines. The game's charming 2D graphics feature vibrant fruit designs including watermelons, oranges, kiwis, and many more exotic varieties.

Core Features

This free-to-play idle game offers an addictive progression system that keeps you engaged:

  • Automated Production : Your factory continues earning profits even when you're away
  • Diverse Fruit Varieties : Process everything from common apples and pears to exotic pineapples and mangoes
  • Strategic Upgrades : Enhance conveyor belts, install advanced processing machines, and expand your factory floor
  • Pixel Art Style : Enjoy charming 2D graphics with colorful fruit designs and smooth animations
  • Cross-Platform Play : Available on both desktop and mobile browsers with optimized controls

Progressive Factory Management

Start with basic fruit processing and gradually unlock more complex production lines. Each fruit type has unique processing requirements, creating strategic depth as you decide which products to prioritize for maximum efficiency and profit.

Incremental Progression System

The game features satisfying incremental mechanics where every click and upgrade contributes to your factory's growth. Watch your production numbers climb as you optimize your fruit processing empire.

Game Mechanics

Factory Operations

Your fruit factory operates through interconnected conveyor belt systems. Each belt processes different fruit types, and you must ensure smooth operations to maximize throughput. Bottlenecks in production can significantly impact your profits, making strategic planning essential.

Resource Management

Efficient resource allocation is key to success. Balance your investments between: - New conveyor belt installations - Machine upgrades for faster processing - Factory expansion for increased capacity - Unlocking premium fruit varieties

Operation Guide

The game features intuitive mouse-based controls perfect for idle gameplay:

  • Left Mouse Click : Interact with all game elements, from collecting profits to purchasing upgrades
  • Drag and Drop : Arrange conveyor belts and position processing machines
  • Menu Navigation : Access upgrade trees, fruit catalogs, and factory statistics

Getting Started

  1. Begin with basic fruit processing to generate initial income
  2. Reinvest profits into conveyor belt upgrades
  3. Unlock new fruit types as your factory grows
  4. Expand your facility to accommodate more production lines
  5. Optimize your layout for maximum efficiency

Why Play This Game

Fruit Factory Idle offers the perfect blend of relaxing idle gameplay and strategic factory management. The game's progression system provides constant goals and achievements, while the automated production ensures you're always making progress. Whether you prefer active clicking or passive idle play, this game accommodates both playstyles.

The charming pixel art style and variety of colorful fruits create a visually appealing experience that stands out among idle games. With no download required and full browser compatibility, you can start building your fruit empire immediately on any device.

Frequently Asked Questions (FAQ)