Idle Ants - Ant Colony Simulation Game

Seele01-Flash
By
Idle Ants is an addictive simulation game where you command an army of industrious ants to collect food and build the ultimate colony. Upgrade your workers, boost their speed and strength, and explore exciting new worlds filled with delicious treats.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Idle Ants - Colony Commander**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Implement a vibrant, "Hyper-Casual" aesthetic. Use low-poly 3D models with bright, saturated colors and simple flat shading (toon shader style) to ensure high performance on mobile devices. * **Key Assets:** * **The Ants:** Create simplified black, pill-shaped segmented bodies with six legs. They should have a basic walk cycle animation. * **The Target Object (Food):** Start with a large 3D model of a watermelon slice (pink flesh, green rind, black seeds). This object needs to be destructible or composed of many small "chunks" that can be removed individually. * **The Burrow:** A simple hole or tunnel entrance in the ground where ants deliver the loot. * **The Environment:** A simple, solid-colored background (like the bright blue in the reference image) or a minimal textured plane (picnic blanket pattern) to keep the focus on the action. * **Performance:** Use instanced mesh rendering for the ants and food chunks to handle hundreds of active entities without frame drops on mobile. Limit shadow casting to the main food object only. ### 2. Audio Requirements * **Background Music (BGM):** Generate a placeholder for a quirky, pizzicato-heavy orchestral track or a light, rhythmic marching band tune to emphasize the "busy worker" vibe. * **Sound Effects (SFX):** * **Munching:** A crisp, crunchy biting sound when an ant removes a piece of food. * **Money/Score:** A satisfying "cha-ching" or pop sound when food is delivered to the burrow. * **Upgrade:** A rising positive chime for clicking upgrade buttons. * **Tap Feedback:** A subtle "click" or "whoosh" when the player taps the screen to boost speed. ### 3. Gameplay Loop * **Core Mechanic:** Ants automatically spawn from the burrow, walk to the food object, "mine" a chunk (reducing the food's visual size), carry it back to the burrow, and deposit it for currency (Money). * **Destruction Physics:** As ants take pieces, the main food object must visually diminish or disappear chunk by chunk. * **Economy & Upgrades (UI Buttons):** * **Speed:** Increases the movement speed of all ants. * **Workers:** Increases the maximum number of simultaneous ants. * **Strength:** Increases the size/value of the chunk each ant carries. * **Progression:** A progress bar at the top fills as the object is consumed. When 100% consumed, a "Level Complete" overlay appears, and a new object (e.g., a donut, a leaf) spawns. ### 4. Mobile Controls & Interaction * **Screen Orientation:** Portrait mode (Vertical) is required for one-handed play. * **Tap Interaction:** Tapping anywhere on the gameplay area (the "field") should provide a temporary global speed boost to all ants (e.g., 2x speed for 1 second). Implement a visual ripple effect on tap. * **UI Layout:** * **Top:** Level Progress Bar and Current Money Counter (Large, readable font). * **Bottom:** Three large, distinct buttons for upgrades (Speed, Workers, Strength) with icons and prices. These must be at least 44x44px hit areas, anchored to the bottom of the screen for thumb accessibility. * **Haptic Feedback:** Trigger a very short vibration (haptic feedback) when the player buys an upgrade or when a level is completed. ### 5. Technical Stack * Use `Three.js` for 3D rendering. * Use `TWEEN.js` or similar for smooth UI animations and ant movement interpolation. * Ensure the canvas resizes correctly on window resize events (handling mobile browser address bar appearing/disappearing). Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Idle Ants

Idle Ants is a captivating simulation game that puts you in charge of a bustling ant colony. Your mission is simple yet engaging: command your army of hungry ants to collect food and transport it back to their underground burrow. From juicy fruits and vegetables to unexpected objects, your ants will tackle any challenge you throw at them.

This free-to-play browser game combines the satisfaction of idle mechanics with strategic colony management. Watch as your tiny workers dismantle massive objects piece by piece, carrying their findings back home with impressive determination and teamwork.

Core Features

Engaging Idle Gameplay

Experience the perfect blend of active clicking and passive progression. While your ants work automatically, you can boost their efficiency by clicking or tapping to give them temporary speed increases. The more you interact, the faster your colony grows.

Comprehensive Upgrade System

Develop your ant colony through three essential upgrade paths: - Speed Boost : Accelerate your ants' work pace for maximum efficiency - Worker Recruitment : Expand your workforce by adding new ants to the colony - Strength Enhancement : Enable your ants to carry larger and heavier objects

Diverse World Exploration

Unlock and explore multiple fascinating environments as you progress: - Sandy beaches with tropical treasures - Peaceful parks filled with picnic delights - Busy classrooms with surprising finds - Modern kitchens packed with culinary adventures - Colorful carnivals bursting with treats - Cozy picnic blankets laden with food - Bustling city squares with urban discoveries

Cross-Platform Compatibility

Enjoy seamless gameplay across all your devices. Whether you're at home on your computer or on-the-go with your mobile device, Idle Ants adapts perfectly to any screen size.

How to Play

Basic Controls

Getting started with Idle Ants is incredibly simple: 1. Click or Tap : Interact with objects to help your ants work faster 2. Space Bar : Press repeatedly for continuous speed boosts 3. Upgrade Buttons : Use the three buttons at the bottom to enhance your colony

Strategic Gameplay

Success in Idle Ants requires balancing your upgrade investments. Focus on recruiting more workers for handling multiple objects, boost speed for quicker completion times, or increase strength to tackle larger challenges. The key is finding the right combination that matches your playstyle.

Progression System

As you advance through the game, you'll fill the adventure meter at the top of the screen. Each completed meter unlocks a brand new world filled with unique objects and challenges, ensuring the gameplay stays fresh and exciting.

Why Play Idle Ants

Perfect for All Ages

Idle Ants offers simple yet engaging gameplay that appeals to both casual players and simulation enthusiasts. The intuitive controls make it accessible to everyone, while the strategic depth keeps experienced gamers engaged.

Stress-Free Gaming

This game provides a relaxing experience where you can watch your ant colony grow and thrive at your own pace. There's no pressure or time limits – just pure, satisfying progression.

Completely Free

Enjoy the full Idle Ants experience without spending a penny. No hidden costs, no premium content barriers – just endless ant colony management fun.

Regular Discovery

With multiple worlds to unlock and countless objects to discover, Idle Ants offers excellent replay value. Each new environment brings fresh challenges and visual treats that keep the experience engaging.

Frequently Asked Questions (FAQ)