Wizard Defense

Seele01-Flash
By
Wizard Defense is an innovative tower defense strategy game where you defend against endless waves of creeps using powerful magic spells instead of traditional towers. Master your wizard skills to protect your realm!

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Wizard 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, Cel-Shaded (Toon Shader)** aesthetic to mimic the hand-drawn anime style of the reference screenshot. The color palette should be vibrant (bright purples, emerald greens, warm fire oranges). * **The Wizard (Player)**: A stationary low-poly character model positioned on the left side of the screen. Must feature a prominent purple pointy hat and robe. * **The Enemies (Creeps)**: Simple geometric abstractions of goblins or blobs (e.g., green spheres or cubes with angry eyes) to minimize draw calls for mobile performance. * **Environment**: A simple textured ground plane representing a village path. In the background, add low-poly hints of thatched-roof cottages or wooden structures. * **Visual Effects (VFX)**: * **Projectiles**: Glowing spheres (fireballs) with a trail renderer. * **Impact**: Particle explosions (sparks) when a spell hits an enemy. * **Performance**: Use InstancedMesh for enemies to ensure 60FPS on mobile devices. ### 2. Audio Requirements * **BGM**: A fast-paced, looping retro-fantasy track (chiptune or orchestral hybrid) that creates urgency. * **Sound Effects (SFX)**: * **Cast**: A high-pitched "Whoosh" or magical chime. * **Hit**: A crunchy impact sound or small explosion. * **Enemy Death**: A retro "fade out" or squish sound. * **Game Over**: A dramatic minor-key chord. ### 3. Gameplay Loop * **Core Mechanic**: The player does *not* build towers. The player *is* the tower. * **Enemy Behavior**: Enemies spawn from the right side of the screen and move in a straight or slightly curved line toward the Wizard on the left. Speed increases with each wave. * **Attack Mechanism**: The wizard automatically faces the last touched position. Projectiles travel from the wizard to the target point. Projectiles have travel time (not hit-scan). * **Resource Management**: Implement a "Mana Bar". Each shot costs Mana. Mana regenerates slowly over time. If Mana is empty, the player cannot shoot for 2 seconds (penalty). * **Win/Loss**: * **Score**: +10 points for every enemy destroyed. * **Loss**: If an enemy touches the Wizard, HP decreases. Game Over when HP reaches 0. ### 4. Mobile Controls & Interaction * **Camera**: Fixed Isometric view (Top-Down angled) to show the full battlefield clearly on small screens. * **Touch Control**: * **Tap to Shoot**: Raycast from the camera to the ground plane. The Wizard fires a projectile toward the tapped coordinates. * **Hold to Rapid Fire**: If the player holds the screen, fire continuously (drain Mana faster). * **UI & HUD**: * **Orientation**: Landscape Mode. * **Health & Mana**: Large, distinct bars at the top left (easy to read at a glance). * **Score**: Top center. * **Restart Button**: A large (min 60x60px) button centered on the screen strictly upon Game Over. * **Feedback**: * **Screen Shake**: Slight camera shake when an enemy hits the wizard. * **Haptic**: Trigger `navigator.vibrate(50)` when the wizard takes damage. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Wizard Defense revolutionizes the traditional tower defense genre by replacing static towers with dynamic magical abilities. In this strategic fantasy game, you take on the role of a powerful wizard tasked with defending your realm against relentless waves of creeps and monsters. Unlike conventional tower defense games, success depends entirely on your magical prowess and spell-casting timing.

The game combines classic strategy elements with innovative spell-based combat mechanics, creating a unique gaming experience that challenges both newcomers and tower defense veterans. With its fantasy setting and magical theme, Wizard Defense offers an engaging alternative to traditional defensive gameplay.

Core Features

Revolutionary Spell-Based Defense

Forget about building towers – your magical abilities are your primary weapons. Cast devastating spells directly at incoming enemies, creating a more interactive and engaging defense experience than traditional tower defense games.

Strategic Spell Management

Each spell has unique properties, cooldowns, and mana costs. Successfully defending your realm requires careful resource management and strategic timing of your magical abilities.

Endless Wave Survival

Face increasingly challenging waves of creeps, each with different abilities and resistances. Adapt your magical strategy to counter various enemy types and survive as long as possible.

Fantasy Adventure Setting

Immerse yourself in a richly detailed magical world where wizards battle against dark forces. The fantasy theme enhances the strategic gameplay with engaging lore and atmosphere.

Gameplay Mechanics

The core gameplay revolves around strategic spell casting and resource management. As creeps advance along predetermined paths, you must use your wizard's magical arsenal to eliminate them before they reach your base. Each enemy type requires different tactical approaches, making every wave a strategic puzzle to solve.

Unlike traditional tower defense games where you place static defenses, Wizard Defense requires active participation in every moment of combat. Your reflexes, strategic thinking, and spell management skills all contribute to your success.

Operation Guide

Basic Controls

  • Mouse Movement : Aim your magical attacks and navigate spell menus
  • Left Click : Cast selected spells and interact with game elements
  • Right Click : Cancel spell casting or return to previous menu
  • Keyboard Shortcuts : Quick access to different spell types (varies by spell)

Strategic Tips

  • Monitor your mana carefully – running out leaves you defenseless
  • Learn enemy weaknesses to optimize spell selection
  • Time area-effect spells for maximum impact on grouped enemies
  • Balance offensive spells with defensive magical barriers
  • Upgrade your most effective spells first for better efficiency

Why Play Wizard Defense

Wizard Defense offers a fresh take on the beloved tower defense genre, perfect for strategy game enthusiasts seeking something new. The spell-based combat system provides more direct control over battles compared to passive tower placement, making every moment engaging and strategic.

The game's fantasy setting appeals to fans of magical adventures, while the strategic depth satisfies players who enjoy tactical challenges. Whether you're a tower defense veteran looking for innovation or a newcomer to strategy games, Wizard Defense provides an accessible yet challenging experience.

The free-to-play browser format means you can jump into magical battles instantly, without downloads or installations. Perfect for quick gaming sessions or extended strategic campaigns, Wizard Defense adapts to your available time and gaming preferences.

Frequently Asked Questions (FAQ)