Infectonator - Zombie Virus Puzzle Game

Seele01-Flash
By
Infectonator is a darkly entertaining puzzle game where you play as the mastermind behind a zombie apocalypse. Spread your virus strategically, upgrade mutations, and watch as chaos engulfs the world in this free browser-based strategy game.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Infectonator: Voxel Outbreak**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** 3D **Voxel Art** aesthetic (similar to *Crossy Road* but top-down) to pay homage to the original 2D pixel art. The world should look like a miniature diorama. * **Camera:** Fixed high-angle **Orthographic Camera** to simulate the classic 2D top-down view while maintaining 3D depth. * **Characters:** * *Civilians:* Simple voxel humans (white shirts, blue pants). * *Zombies:* Green-skinned voxel variations of humans. * *Special:* A "Gold Coin" model that drops when humans die. * **Environment:** A tile-based city street or office floor with simple obstacles (walls, desks, crates) that block movement. The ground should be a tiled texture. * **Visual Effects (Critical):** * *Infection Cloud:* A green particle explosion when the virus is released. * *Blood Splatters:* Red particle systems or decals that appear on the floor when a human is infected/killed (Keep it stylized/voxelated to match the "Gross" but "Cute" vibe). * *Speech Bubbles:* Floating HTML/CSS labels above humans saying "Help!" or "Ahhh!" when chased. * **Performance:** Use **InstancedMesh** for all characters to ensure 60FPS on mobile devices when rendering 50+ units on screen simultaneously. ### 2. Audio Requirements * **BGM:** A fast-paced, chaotic **8-bit Chiptune/Retro Arcade** track. It should feel energetic and slightly panic-inducing. * **Sound Effects:** * *UI:* Retro "blip" sounds for button presses. * *Action:* A "squish" or "splash" sound when a human turns into a zombie. * *Voices:* High-pitched, sped-up screams ("Help!", "Nooo!") and zombie groans ("Braaains"). * *Collection:* A satisfying "ding" when collecting coins. ### 3. Gameplay Loop * **Setup:** The level starts with 20-30 civilians wandering randomly (Brownian motion) within the map boundaries. They avoid obstacles. * **Action (The Trigger):** The player has **one click/tap** to release the virus. * **Chain Reaction:** * Upon tapping, a radius of infection is applied. Civilians in range turn into Zombies immediately. * **Zombie Logic:** Zombies automatically detect the nearest healthy human and chase them (Seek behavior). * **Infection:** When a Zombie touches a human, the human dies, turns into a Zombie, and drops a Coin. * **Decay:** Zombies have a limited lifespan (e.g., 5 seconds). They collapse (die permanently) after their time runs out. * **Win/Loss Condition:** * *Win:* Infect at least 80% of the population before all zombies decay. * *Loss:* All zombies decay before reaching the quota. ### 4. Mobile Controls & Interaction * **Primary Control:** **Tap-to-Spawn**. Use Raycaster to detect where the player touches the ground plane to release the initial virus. * **Secondary Control:** **Tap-to-Collect**. Players must tap dropped coins to collect them before they disappear (adding an active element to the idle chain reaction). * **Screen Orientation:** **Portrait Mode** preferred for one-handed play, or Responsive (canvas fits window). * **UI Layout:** * Top Bar: Infection Progress Bar (0% to 100%) and Coin Count. * Bottom Area: A large "Reset/Next Level" button (min-height 60px for easy tapping). * **Feedback:** * Trigger `navigator.vibrate(50)` (if supported) when the virus is released and when a zombie infects a human. * Apply a slight "Screen Shake" effect (camera jitter) during large infection bursts. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Infectonator is a unique zombie-themed puzzle game that puts you in control of a deadly virus outbreak. With a solid 4.0/5 rating from players worldwide, this game offers a twisted take on strategy gaming where destruction is your ultimate goal. Rather than saving the world, you're tasked with ending it through strategic virus deployment and zombie creation.

The game combines puzzle-solving elements with strategic planning, as you must carefully choose where and how to spread your infection for maximum impact. Each level presents different challenges and opportunities to expand your zombie empire.

Core Features

Strategic Virus Deployment

Unlike typical zombie games where you fight the undead, Infectonator puts you in the driver's seat of the apocalypse. You control when, where, and how to release your virus, making each decision crucial to your world domination plans.

Upgrade and Evolution System

Your virus isn't static - it can be enhanced and evolved throughout the game. Upgrade your pathogen to make it more contagious, deadly, or resistant to countermeasures. Each upgrade opens new strategic possibilities for spreading chaos.

Progressive Difficulty

As your infection spreads, human resistance grows stronger. Governments implement countermeasures, quarantine zones appear, and medical research accelerates. You must stay one step ahead to achieve total global infection.

Pixel Art Style

The game features distinctive retro pixel art graphics that give it a classic arcade feel while depicting the zombie apocalypse in a stylized, less graphic manner suitable for all ages.

Gameplay Mechanics

Simple Mouse Controls

Infectonator uses intuitive mouse-only controls, making it accessible to players of all skill levels. Point and click to deploy your virus, navigate menus, and manage upgrades with ease.

Puzzle Elements

Each level is essentially a puzzle to solve. You must figure out the optimal infection points, timing, and upgrade combinations to achieve maximum spread while overcoming human defenses.

Resource Management

Manage your infection points and upgrade resources carefully. Poor resource allocation can lead to failed outbreaks and give humans time to develop countermeasures.

Why Play Infectonator

Free Entertainment : Completely free to play with no hidden costs or required purchases. Simply load the game in your browser and start your apocalypse.

Quick Sessions : Perfect for short gaming breaks, each level can be completed in just a few minutes, making it ideal for casual gaming.

Unique Perspective : Experience the zombie genre from an entirely different angle - as the creator of the outbreak rather than a survivor.

Strategic Depth : Despite its simple controls, the game offers surprising strategic depth with multiple upgrade paths and tactical decisions.

Cross-Platform Compatibility : Works on any device with a modern web browser, including computers, tablets, and smartphones.

Content and Age Rating

Infectonator maintains an "All Ages" content rating despite its apocalyptic theme. The pixel art style and abstract presentation keep the content appropriate while still delivering the thrills of zombie-themed gameplay.

Frequently Asked Questions (FAQ)