ZOMBS.io - Multiplayer Tower Defense Zombie Survival Game

Seele01-Flash
By
ZOMBS.io is an intense multiplayer tower defense game where you must survive a zombie apocalypse by building and defending your base against endless waves of undead creatures.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "ZOMBS.io Style Survival Defense". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Top-down Isometric or Orthographic view 3D. Emulate the "flat vector" look of the original 2D game using simple 3D primitives (Cylinders for characters, Cubes for buildings) with **Toon Shading** (MeshToonMaterial) and bold black outlines (EdgedGeometry) to ensure distinct visibility on small mobile screens. * **Environment**: An infinite, tiled green grid floor (simulating grass). Scattered environmental obstacles: Trees (Green cylinders/cones) for wood, Rocks (Grey low-poly blobs) for stone. * **Characters**: * **Player**: Yellow Cylinder holding a tool/weapon. * **Zombies**: Green Cylinders of varying sizes (larger = boss). * **Buildings**: * **Gold Stash**: The core base unit (Gold Cube). * **Towers**: Offensive structures (Red/Grey Cubes with turrets). * **Walls**: Defensive blocks. * **Performance**: Use `InstancedMesh` for repeated objects (trees, rocks, wall blocks, zombie hordes) to maintain 60 FPS on mobile devices. ### 2. Audio Requirements * **BGM (Dynamic)**: * **Day Phase**: Calm, rhythmic, synth-based "building" music (lo-fi style). * **Night Phase**: Transition to fast-paced, tense, industrial electronic beats when the zombie wave begins. * **SFX**: * **Interaction**: 'Thud' for chopping wood, 'Clink' for mining stone, 'Rat-a-tat' for rapid tower fire. * **UI**: Soft 'Pop' sounds for menu selection. * **Combat**: Zombie groans, squishy impact sounds when hitting enemies. ### 3. Gameplay Loop * **Cycle**: Implement a strict **Day/Night Cycle**. * **Day**: Player moves to gather Wood and Stone by hitting trees/rocks. Player places the "Gold Stash" to establish a base. Spend resources to build Walls and Turrets. * **Night**: Zombies spawn from the map edges and pathfind (A* or simple steering behavior) towards the Gold Stash. * **Mechanics**: * **Base Building**: Buildings must snap to the floor grid. * **Economy**: Gold is generated over time by the Stash/Gold Mines. Wood/Stone is gathered manually. * **Upgrade System**: Player can spend Gold to upgrade stats (Attack Speed, Health) or upgrade buildings to the next tier. * **Win/Loss**: Game Over if the "Gold Stash" HP reaches 0. The goal is to survive as many nights as possible. ### 4. Mobile Controls & Interaction * **Movement & Combat**: Dual Virtual Joysticks. * **Left Joystick**: Character movement. * **Right Joystick**: Aim direction and Auto-Attack/Gather (attacks closest target in cone or gathers resource being faced). * **Building Mode**: * A large "Build" toggle button (bottom-right) opens a scrollable horizontal hotbar of buildings. * **Drag-to-Place**: Drag a building icon from the bar onto the grid to place it. Show a "ghost" preview; red if invalid, green if valid. * **UI Layout**: * **Top Left**: Resources (Wood/Stone/Gold) with large icons. * **Top Center**: Day/Night Timer and Wave Counter. * **Health Bars**: Floating billboards above the Player, Stash, and Enemies (Green for full, Red for low). * **Haptic Feedback**: Trigger device vibration when the player takes damage or the base is under attack. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

ZOMBS.io is a thrilling multiplayer tower defense survival game that throws you into the middle of a zombie apocalypse. With a solid 3.4/5 rating from players worldwide, this browser-based game combines strategic base building with intense zombie combat. You'll find yourself trapped in a hostile world where survival depends on your ability to build, defend, and adapt.

Unlike traditional tower defense games, ZOMBS.io adds a multiplayer element that lets you team up with other survivors or go solo against the undead hordes. The game features a day-night cycle where zombies become more aggressive after dark, creating a constant sense of urgency and strategic planning.

Core Features

Real-Time Multiplayer Action

Join servers with players from around the globe and work together to survive the zombie invasion. Form alliances, share resources, or compete for the best base locations in this dynamic multiplayer environment.

Strategic Base Building

Construct and upgrade your fortress using collected wood, stone, and gold. Every building placement matters as you create defensive chokepoints and resource production facilities.

Day-Night Survival Cycle

During the day, venture out to gather essential resources while zombies are less active. When night falls, retreat to your fortified base and prepare for intense zombie attacks that test your defensive strategies.

Progressive Tower System

Start with basic defenses and gradually unlock powerful towers including gold miners, cannons, and specialized defensive structures. Each tower type serves a unique strategic purpose in your survival arsenal.

Resource Management Challenge

Balance the collection of wood, stone, and gold while maintaining your health and base integrity. Smart resource allocation determines whether you thrive or merely survive.

Game Mechanics

Building and Construction

Create your base by strategically placing walls, towers, and resource buildings. The building system is intuitive yet deep, allowing for creative defensive layouts and efficient resource farming setups.

Combat System

Fight zombies using both personal weapons and automated tower defenses. The combat feels responsive and engaging, requiring both quick reflexes and strategic thinking.

Upgrade Progression

Use collected gold to upgrade your towers and purchase better weapons from the in-game shop. The progression system keeps you motivated to survive longer and build stronger defenses.

Operation Guide

Movement Controls: - W, A, S, D keys : Move your character around the map - Navigate efficiently to collect resources and position yourself strategically

Action Controls: - Left Mouse Click : Attack zombies, gather resources (wood/stone), and place buildings - Right Mouse Click : Deselect current action or cancel building placement

Interface Elements: - Resource Counter : Monitor your wood, stone, gold, and health in the bottom-right corner - Building Menu : Access different structures and towers for base construction - Shop Interface : Purchase weapons and upgrades using accumulated gold

Survival Strategy: 1. Day Phase : Focus on resource gathering and base expansion 2. Night Phase : Stay within your defensive perimeter and let towers handle zombies 3. Continuous Upgrades : Reinvest resources into stronger defenses and better equipment

Why Play ZOMBS.io

Completely Free Experience : Enjoy full gameplay without any payment required. All features and content are accessible through skilled play and strategic thinking.

Cross-Platform Accessibility : Play directly in your web browser on any device - desktop, laptop, tablet, or smartphone. No downloads or installations needed.

Endless Replayability : Each game session offers different challenges based on server population, resource spawns, and zombie wave patterns. No two survival attempts are exactly the same.

Social Gaming Experience : The multiplayer aspect creates emergent gameplay where player interactions, alliances, and competitions add unpredictable elements to each session.

Skill-Based Progression : Success depends on your strategic thinking, resource management, and adaptability rather than luck or pay-to-win mechanics.

Whether you're a tower defense veteran or new to survival games, ZOMBS.io offers an accessible yet challenging experience that will test your strategic planning and survival instincts against relentless zombie hordes.

Frequently Asked Questions (FAQ)