World Z Defense - Zombie Defense

Seele01-Flash
By
World Z Defense is an intense zombie tower defense game where you command soldiers to defend cities against endless undead hordes. Strategically position your forces, upgrade weapons, and save humanity in this post-apocalyptic battle for survival.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**World Z Defense**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Use a **Low-Poly, Hyper-Casual aesthetic** similar to *Brawl Stars* or *Clash Royale*. Bright, saturated colors with soft lighting. * **Player Character**: A blocky, stylized SWAT soldier (blue uniform). Use simple geometric primitives (cubes/capsules) if models are unavailable. * **Zombies**: Green, blocky humanoid figures. Create variation by scaling them slightly different. * **Environment**: A city street view. The camera should be a **fixed isometric view** or top-down perspective looking at a defensive line. * **Background**: A sunset gradient skybox (purple to orange) with silhouettes of city buildings. * **Barricade**: A physical wall/sandbag line separating the "Player Zone" (bottom) from the "Zombie Zone" (top/outside). * **Mobile Optimization**: * Use **InstancedMesh** for the zombie hordes to maintain 60 FPS on mobile devices. * Limit dynamic lights to one main directional light (Sun) and use baked ambient lighting (HemisphereLight). * Use simple colored materials (MeshLambertMaterial) instead of heavy textures. ### 2. Audio Requirements * **BGM**: A driving, suspenseful but upbeat **Electro-Rock** loop to maintain high energy. * **Sound Effects (SFX)**: * **Shooting**: rapid-fire "rat-a-tat" sounds (varied pitch to avoid repetition). * **Reload/Ammo**: A mechanical "click-clack" when returning to the base. * **Zombie Death**: Comical "splat" or groan sounds. * **UI Feedback**: crisp "pop" sounds when clicking upgrade buttons. ### 3. Gameplay Loop * **Core Mechanic (The "Sortie" Loop)**: 1. **Idle/Reload**: The soldier starts at an "Ammo Base" (a designated zone behind the barricade). Ammo regenerates here. 2. **Positioning**: The player drags from the character to a position on the field. The game renders a **dotted trajectory line** showing where the soldier will stand and the direction they will face. 3. **Action Phase**: Upon releasing the touch, the soldier runs to that spot, **locks position**, and automatically fires bullets in a straight line toward incoming zombies. 4. **Retreat**: When the ammo counter hits zero (or the player taps the base), the soldier automatically runs back to the Ammo Base to reload. * **Enemies**: Zombies spawn in waves from the top of the screen and move toward the barricade. * **Win/Loss**: * **Loss**: Zombies destroy the barricade (reduce HP to 0). * **Win**: Survive the wave timer or defeat a set number of zombies. * **Progression**: Killing zombies drops "Coins". Between waves, show a simple UI to upgrade **Damage**, **Fire Rate**, and **Reload Speed**. ### 4. Mobile Controls & Interaction * **Control Scheme**: **Drag-and-Release**. * **Touch Start**: Selects the soldier. * **Touch Move**: Draws a visual indicator (arrow or line) on the ground representing the movement path and firing angle. * **Touch End**: Executes the movement and begins firing. * **Orientation**: **Landscape Mode** is preferred to show the width of the defense line. * **UI Layout**: * Top: Wave Progress Bar / Zombie Count. * Bottom Left: Health Bar (Barricade Integrity). * Bottom Right: Ammo Counter (Visual circle gauge around the player is best). * **Touch Targets**: Ensure all buttons (Upgrades, Pause) are at least **44x44 pixels** for easy tapping. * **Feedback**: * **Haptic Feedback**: Trigger a short vibration when the soldier runs out of ammo and when the barricade takes damage. * **Visual Juice**: Screen shake slightly when a large explosion occurs or the wall is hit. Floating text numbers for damage dealt. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About World Z Defense

World Z Defense - Zombie Defense is a thrilling action tower defense game that puts you on the front lines of a global zombie apocalypse. In this post-apocalyptic world, humanity's survival depends on your strategic military command. You'll defend cities across the globe by positioning soldiers with unique weapons and abilities, each offering different damage outputs, shooting speeds, and reload capabilities.

Core Features

Strategic Combat System

World Z Defense combines traditional tower defense mechanics with real-time action gameplay. Unlike typical tower defense games where you simply place towers, here you actively position and command soldiers, making split-second decisions that determine victory or defeat.

Weapon Upgrade System

As you progress through the zombie-infested world, you'll earn resources to upgrade your arsenal. Improve crucial stats like: - Firepower : Increase damage per shot for faster zombie elimination - Reload Speed : Reduce downtime between shooting sequences - Shooting Rate : Fire more bullets per second for crowd control - Range : Extend your effective combat distance

Global Campaign Mode

Explore a world map featuring diverse geographical locations, each presenting unique challenges and zombie types. From urban cityscapes to remote outposts, every battlefield requires adapted strategies and tactical thinking.

Progressive Difficulty

The game features escalating difficulty as zombie hordes grow larger, faster, and more aggressive. Early waves allow you to learn the mechanics, while later stages demand perfect timing and resource management.

Gameplay Mechanics

Ammunition Base Strategy

Your ammunition base serves as the central hub for operations. Here you can: - Reload weapons and prepare for the next wave - Plan your positioning strategy - Access upgrade menus between battles - Observe incoming zombie patterns

Directional Combat System

Once you position your soldiers away from the base, they lock into that firing direction until you return them for reloading. This creates strategic depth where positioning becomes crucial - you must anticipate zombie movement patterns and create effective kill zones.

Line-of-Fire Tactics

The key to success lies in aligning multiple zombies within your firing line. Since soldiers can only shoot in one direction when deployed, mastering angle prediction and zombie herding becomes essential for maximizing efficiency.

Operation Guide

Basic Controls

  • Left Mouse Button : Select, drag, and position soldiers
  • Click and Drag : Aim your soldier in the desired direction
  • Drop : Lock soldier position and begin automatic firing
  • Return to Base : Click on ammunition base to reload and reposition

Winning Strategies

  1. Study Zombie Patterns : Observe how different zombie types move and group together
  2. Create Chokepoints : Position soldiers to force zombies into narrow killing zones
  3. Manage Ammunition : Time your reloads strategically to avoid vulnerable moments
  4. Upgrade Wisely : Focus on upgrades that complement your playstyle
  5. Plan Ahead : Always have an exit strategy when zombies break through

Advanced Tactics

  • Cross-Fire Positions : Set up overlapping fields of fire for maximum coverage
  • Retreat Timing : Know when to fall back to the ammunition base
  • Resource Conservation : Balance aggressive pushing with defensive positioning
  • Wave Preparation : Use quiet moments to optimize soldier placement

Why Play World Z Defense

Unique Hybrid Gameplay

World Z Defense stands out in the tower defense genre by combining strategic planning with active positioning mechanics. You're not just placing static defenses - you're commanding a living, breathing military operation against the undead.

Accessibility and Convenience

  • Completely Free : No purchase required, full game available at no cost
  • Browser-Based : Play instantly without downloads or installations
  • Cross-Platform : Compatible with desktop computers, laptops, and mobile devices
  • No Registration : Jump straight into the action without creating accounts

Engaging Progression System

The upgrade system provides meaningful progression that directly impacts gameplay. Every improvement feels substantial and changes how you approach combat scenarios.

High Replay Value

With multiple difficulty levels, various upgrade paths, and different tactical approaches, World Z Defense offers countless hours of strategic zombie-fighting entertainment.

Perfect for Strategy Fans

If you enjoy games that reward tactical thinking, resource management, and quick decision-making, this title delivers an exceptional experience that balances accessibility with depth.

Frequently Asked Questions (FAQ)