Stickman Tower Defense Idle 3D

Seele01-Flash
By
Stickman Tower Defense Idle 3D combines strategic tower placement, hero deployment, and idle mechanics in an immersive 3D environment. Build powerful defenses and protect your castle from endless waves of stickman invaders.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Stickman Tower Defense Idle 3D". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** High-saturation, Low-poly 3D cartoon style. The aesthetic should be vibrant and clean, similar to "Hyper-casual" mobile games. * **Key Models:** * **Stickmen:** Do not use 2D lines. Use 3D primitives (spheres for heads, cylinders/capsules for bodies and limbs) to create "thick" stickman characters. * **Allies (Heroes):** Bright Blue (e.g., `#0000FF`), holding grey swords. * **Enemies:** Bright Red (e.g., `#FF0000`), slightly smaller scale. * **The Castle:** A central fortification composed of blocky shapes (Cubes/Cylinders) with stone grey and wood brown textures. * **Environment:** A flat, bright green plane for grass. Background elements include low-poly pine trees (Cone + Cylinder) and small medieval houses. A solid bright blue sky background or simple gradient skybox. * **Performance Optimization (Mobile):** * Use `InstancedMesh` for rendering multiple enemies and trees to maintain 60FPS on mobile. * Use simple Phong or Lambert materials rather than expensive PBR materials. * Limit dynamic lights to one Directional Light (Sun) casting shadows and one Ambient Light. ### 2. Audio Requirements * **Background Music (BGM):** A lighthearted, marching-band style medieval tune. It should be repetitive but not annoying, conveying a sense of "building" and "progress" (think xylophone or pizzicato strings). * **Sound Effects (SFX):** * **Combat:** A cartoonish "Thwack" or metallic "Cling" when swords hit. * **UI:** A satisfying "Pop" or "Bubble" sound when clicking upgrade buttons. * **Economy:** A "Cha-ching" or coin jingle sound when enemies are defeated (visualizing resource gain). * **Defeat/Hit:** A low-pitch "Oof" or crumbling sound when the castle takes damage. ### 3. Gameplay Loop * **Setup:** The game starts in an "Idle" state. The player sees their Castle (Base) and a designated path where enemies will approach. * **Core Loop:** 1. **Spawn:** Waves of Red Stickman enemies spawn automatically and move along a fixed path toward the Castle. 2. **Defense:** Blue Stickman Heroes (automatically placed or spawned by player) auto-attack nearby enemies within a specific radius. 3. **Economy:** Killing enemies grants "Gold". 4. **Upgrade (Idle Mechanic):** Players spend Gold to: * Summon more Blue Heroes. * Upgrade Hero Damage. * Upgrade Attack Speed. * **Objective:** Survive endless waves. If Castle HP drops to 0, Game Over (with a "Restart" button). ### 4. Mobile Controls & Interaction * **Camera:** Fixed Isometric view (approx 45 degrees) to allow a clear overview of the battlefield without needing manual camera control. * **Touch Controls:** * **Raycaster:** Implement precise raycasting for selecting units or collecting dropped coins (optional interactive element). * **UI Layout (Mobile Landscape):** * **Top Center:** Wave Counter and Castle Health Bar (Green to Red gradient). * **Top Right:** Current Gold count (Large, readable font). * **Bottom Area (The Dashboard):** A dedicated UI panel (height: 20% of screen) containing large, touch-friendly buttons (minimum 44x44px hit area) for "Buy Hero", "Upgrade Damage", and "Upgrade Speed". * **Feedback:** * **Visual:** When a button is tapped, it should scale down slightly (tweening). Floating damage numbers appear above enemies when hit. * **Haptic:** Trigger a short vibration (if supported by device) when purchasing an upgrade or when the castle 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

Stickman Tower Defense Idle 3D is an innovative strategy game that perfectly blends classic tower defense mechanics with modern idle gameplay elements. In this visually stunning 3D environment, you'll command a fortress under siege, strategically placing defensive structures and deploying powerful heroes to repel endless waves of colorful stickman invaders.

The game features vibrant 3D graphics with a charming art style that brings the stickman world to life. Watch as blue stickman enemies march across detailed landscapes while your defenses spring into action with smooth animations and satisfying visual effects.

Core Features

Strategic Tower Defense Gameplay

Place towers strategically along enemy paths to maximize damage and create impenetrable defensive lines. Each tower type offers unique advantages, from rapid-fire units to explosive area-of-effect weapons that can devastate grouped enemies.

Idle Progression System

Even when you're away, your defenses continue to generate resources and battle invaders. Return to find accumulated rewards that help you upgrade towers, unlock new heroes, and strengthen your overall defensive capabilities.

Hero Deployment

Recruit and deploy powerful heroes with special abilities that can turn the tide of battle. Each hero brings unique skills and combat styles, allowing for diverse strategic combinations and tactical approaches.

3D Visual Experience

Unlike traditional 2D tower defense games, this title offers a fully immersive 3D environment where you can rotate the camera, zoom in on action, and appreciate the detailed battlefield from multiple angles.

Castle Protection

Your primary objective is defending your castle from relentless stickman armies. As waves progress, enemies become stronger and more numerous, requiring continuous strategy adaptation and defensive improvements.

Gameplay Mechanics

The game operates on a wave-based system where you face increasingly challenging groups of stickman enemies. Between waves, you can upgrade existing towers, purchase new defensive structures, and strategically position heroes for maximum effectiveness.

Resource management plays a crucial role as you earn coins from defeated enemies and idle generation. These resources fuel your expansion, allowing you to build more towers, upgrade existing defenses, and unlock powerful new capabilities.

Operation Guide

Mouse Controls : Use your left mouse button to interact with all game elements - Click and drag to place towers on designated spots - Select towers to access upgrade menus and enhancement options - Deploy heroes by clicking on available positions near the battlefield - Navigate menus and interfaces with simple point-and-click actions

The intuitive control scheme makes the game accessible to players of all skill levels while maintaining the strategic depth that tower defense enthusiasts expect.

Why Play This Game

Stickman Tower Defense Idle 3D offers the perfect balance between active strategic gameplay and relaxing idle progression. Whether you prefer intense micro-management during battle phases or enjoy the satisfaction of returning to accumulated progress, this game accommodates both playstyles seamlessly.

The combination of engaging 3D visuals, strategic depth, and idle mechanics creates an experience that's both immediately accessible and deeply rewarding over extended play sessions. It's ideal for strategy game fans, casual players seeking engaging content, and anyone who enjoys the satisfaction of building and optimizing defensive systems.

Frequently Asked Questions (FAQ)