Zombie Defence 2

Seele01-Flash
By
Zombie Defence 2 is an intense tower defense shooter where you must defend the critical road between safe zones and infected areas. Use strategic positioning and powerful airstrikes to eliminate zombie hordes.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Zombie Defence 2 - Mobile Remake". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: 3D Stylized Stickman (Low-poly). Use `THREE.CapsuleGeometry` or cylinders to construct characters to mimic the classic "Stick Figure" aesthetic but with depth. * **Player Character**: A bright Green Stickman stationed behind a defensive barricade (sandbags or a brick wall) on the left side of the screen. Weapon should be a low-poly Assault Rifle. * **Enemies (Zombies)**: Grey and Red Stick figures with varying walking animations (shambling, running). * **Environment**: A gritty urban setting. A grey asphalt road stretching from the right (spawn point) to the left (player base). Background should be a simple grey brick wall or concrete texture with distance fog (`THREE.Fog`) to mask enemy spawning. * **VFX**: * **Blood**: heavily emphasized based on the "Bloody" tag. Use `THREE.Points` or a particle system to generate red square bursts when enemies are hit. * **Muzzle Flash**: Yellow point light/mesh flashing at the gun barrel. * **Airstrike**: A shadow growing on the ground followed by a large explosion particle effect. * **Mobile Optimization**: Use instanced mesh rendering (`THREE.InstancedMesh`) for the zombie horde to maintain 60 FPS on mobile devices. Limit dynamic lights to 1-2 (sunlight and muzzle flash). ### 2. Audio Requirements * **BGM**: Fast-paced, industrial rock or dark electronic track with a heavy bassline to induce tension. * **Sound Effects (SFX)**: * **Gunfire**: Realistic, punchy assault rifle sounds (varied pitch to avoid repetition). * **Impact**: "Squish" or wet thud sounds when bullets hit zombies. * **Zombies**: Groans and growls that increase in volume as they get closer. * **Airstrike**: A jet flyover sound followed by a booming explosion. * **UI**: Mechanical clicks for buttons; alarm sound when base health is low. ### 3. Gameplay Loop * **Core Mechanic**: Static Tower Defense / Shooter. The player cannot move, only aim and shoot. * **Objective**: Defend the barricade from waves of zombies coming from the right side of the screen. * **Win/Loss**: * **Loss**: Zombies reach the barricade and deplete the "Base HP" to 0. * **Win**: Survive all waves (or infinite high-score mode). * **Weaponry**: Automatic rifle. Infinite ammo but requires a "Reload" time (2 seconds) after a certain number of shots (simulated magazine). * **Special Ability (Airstrike)**: A powerful AOE attack that kills all visible zombies. Limited to 1 use per wave or has a very long cooldown (30s). Triggered by a specific UI button. ### 4. Mobile Controls & Interaction * **Orientation**: **Landscape** mode (essential for horizontal defense view). * **Shooting Control**: * **Touch-to-Aim/Fire**: The gun automatically tracks the user's finger on the screen. Holding down on the screen fires the weapon continuously (Raycasting from camera to world plane). * Implement an "Auto-fire" toggle for accessibility, or stick to "Hold to Shoot". * **UI Layout**: * **Top Left**: Health Bar (Green to Red gradient) and Wave Counter. * **Top Right**: Score / Kill Count. * **Bottom Right**: "Airstrike" Button (Large, distinct icon, turns grey when on cooldown). Recommended size: 64x64px minimum for touch targets. * **Reload Indicator**: A circular progress bar appearing near the crosshair/player when reloading. * **Feedback**: * **Haptic Feedback**: Trigger a short vibration (`navigator.vibrate`) on every shot fired and a heavy vibration when the base takes damage. * **Camera Shake**: Subtle camera shake (`Math.sin` on camera position) when shooting or when explosions occur. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Zombie Defence 2 is a thrilling free tower defense game that puts you on the front lines of humanity's survival. With a 3.2/5 rating from players, this action-packed shooter combines strategic tower defense mechanics with intense zombie combat. The undead are advancing, and only you can stop them from reaching the safe zone!

Core Features

Strategic Tower Defense Combat

Position yourself strategically to defend the only road connecting the safe zone with the infected area. Every zombie that passes through brings humanity closer to extinction. Plan your defense carefully and make every shot count.

Powerful Airstrike System

When the zombie hordes become overwhelming, call in devastating airstrikes to clear large groups of enemies. Each level grants you one airstrike, so use it wisely at the most critical moment.

Stick Figure Art Style

Enjoy clean, minimalist stick figure graphics that focus on fast-paced action without distracting visual clutter. The simple art style ensures smooth gameplay on all devices while maintaining the game's bloody, intense atmosphere.

Progressive Difficulty

Face increasingly challenging waves of zombies as you advance through levels. Each stage introduces new threats and requires improved tactical thinking to successfully defend your position.

Gameplay Mechanics

This tower defense shooter combines the best elements of both genres. Unlike traditional tower defense games where you place static towers, you directly control your weapon and must actively aim and fire at approaching zombies. The game rewards both quick reflexes and strategic thinking.

Zombie Varieties

Encounter different types of undead enemies, each with unique movement patterns and health levels. Adapt your strategy to handle fast-moving zombies, heavily armored undead, and massive zombie hordes.

Resource Management

Manage your ammunition and airstrike timing carefully. Running out of resources at the wrong moment could mean the difference between victory and letting zombies breach your defenses.

Operation Guide

Mouse Controls : Use your mouse to aim your weapon at approaching zombies and click to fire. Precise aiming is crucial for maximizing your ammunition efficiency.

Z Key - Airstrike : Press the Z key to call in a devastating airstrike that eliminates multiple zombies in a large area. Remember, you only get one airstrike per level, so save it for when you're truly overwhelmed.

Strategic Positioning : Stay alert and adjust your position as needed. Sometimes retreating to a better vantage point can mean the difference between success and failure.

Why Play This Game

Zombie Defence 2 offers the perfect blend of strategy and action that appeals to both tower defense fans and shooter enthusiasts. The game is completely free to play, requires no downloads, and runs smoothly in any modern web browser. Whether you're looking for a quick gaming session or want to master all levels, this zombie defense game delivers intense entertainment.

The simple controls make it accessible to new players, while the progressive difficulty and strategic elements provide depth for experienced gamers. With its mature content rating, it's designed for players who enjoy intense, bloody zombie action without being overly graphic.

Platform Support

Play Zombie Defence 2 instantly in your web browser on PC, Mac, or mobile devices. No installation required - just load the page and start defending against the zombie apocalypse immediately.

Frequently Asked Questions (FAQ)