Stickman Zombie vs Stickman Hero

Seele01-Flash
By
Stickman Zombie vs Stickman Hero is a unique action platform game featuring dual gameplay modes. Switch between playing as a zombie-fighting hero and a powerful zombie boss in epic stickman battles.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Stickman Zombie vs Stickman Hero". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Use a **2.5D Side-Scrolling aesthetic**. The game world is 3D, but the gameplay is locked to a 2D plane. Use an OrthographicCamera to maintain a consistent "flat" look while utilizing 3D lighting. * **Characters (Stickmen)**: * Instead of complex meshes, construct Stickmen using basic **Three.js primitives** (SphereGeometry for heads/joints, CylinderGeometry for limbs) to ensure high performance on mobile devices. * **Hero**: Bright Red body color (#FF0000), large white eyes. Equipped with a blocky Cyan gun model attached to the right arm. * **Zombie Boss**: Acid Green body color (#CCFF00), distorted facial features (one eye larger than the other), and a hunched posture. * **Allies/NPCs**: White or Blue stickmen. * **Enemy Zombies**: Darker green stickmen with stiff animations. * **Environment**: * **Foreground**: Blocky platforms with dark outlines and solid fill colors (Black or Dark Grey). * **Background**: Create a dynamic skybox or a scrolling parallax plane. If the player is the **Hero**, the background is a vibrant sunny Blue/Cyan gradient. If the player is the **Zombie**, the background shifts to a chaotic Pink/Purple distortion effect. * **Optimization**: Use `InstancedMesh` for repetitive environment blocks or swarms of zombies to reduce draw calls. Keep shadow maps low resolution or use baked lighting. ### 2. Audio Requirements * **BGM (Background Music)**: * **Hero Mode**: Fast-paced, heroic 8-bit chiptune or upbeat rock track to encourage running and shooting. * **Zombie Mode**: A slower, slightly distorted, bass-heavy track that sounds goofy yet spooky. * **SFX (Sound Effects)**: * **Gunshot**: A snappy "Pew-Pew" or laser sound. * **Jump**: A cartoonish spring/boing sound. * **Infection**: A squishy "slime" sound effect when the Zombie Boss hits an ally. * **UI**: Crisp clicks for buttons and a "Fanfare" sound for level completion. ### 3. Gameplay Loop The game must support two distinct game modes selectable from the Main Menu: * **Mode A: Hero's Journey** * **Goal**: Reach the end of the level while surviving the Zombie Boss chase. * **Mechanics**: Auto-scrolling or player-controlled scrolling. The player shoots approaching zombies (projectile raycasting). * **Recruitment**: Touching neutral "White Stickmen" turns them Blue (Allies) and adds to the score. * **Fail Condition**: Touching a zombie or falling into a pit. * **Mode B: Zombie Boss Rampage** * **Goal**: Chase the "Hero" and infect all his allies. * **Mechanics**: The player moves faster than normal. Instead of shooting, the "Action" button performs a melee "Infect" attack. * **Infection Logic**: When the player hits a "Hero Ally", they turn Green and start following the player. * **Win Condition**: Catch the Hero or infect a specific number of allies before time runs out. ### 4. Mobile Controls & Interaction * **Touch Interface (Overlay)**: * Implement an HTML/CSS overlay on top of the Canvas. * **Left Zone**: A dynamic **Virtual Joystick** for horizontal movement (Left/Right). * **Right Zone**: Two distinct buttons (minimum 60x60px hit area): * **Button A (Jump)**: Triggers vertical impulse. Double-tap for double jump. * **Button B (Action)**: Context-sensitive. Fires gun in Hero Mode; Swipes claw/infects in Zombie Mode. * **Screen Orientation**: Lock to **Landscape Mode** for the best platforming experience. Handle resize events to adjust the camera aspect ratio dynamically. * **Feedback**: * **Haptic Feedback**: Trigger `navigator.vibrate(50)` on shooting/hitting and `navigator.vibrate(200)` on taking damage or dying. * **Visual Feedback**: Screen shake (camera jitter) when taking damage or landing a heavy attack. Tiny particle explosions when enemies are defeated. 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 Zombie vs Stickman Hero is an innovative action platform game that offers a thrilling dual-perspective gaming experience. This exciting 2D stickman adventure allows you to experience both sides of an epic zombie apocalypse battle, switching between the roles of hero and villain in intense side-scrolling action.

The game combines classic platform mechanics with zombie survival elements, creating a unique gameplay experience where strategy and quick reflexes are equally important. With its colorful pixel art style and engaging combat system, this free browser game delivers hours of entertainment for action game enthusiasts.

Core Features

Dual Character System

Experience the ultimate role-reversal gameplay where you can play as both the protagonist and antagonist. As the stickman hero, your mission is to eliminate zombie threats and recruit allies. When playing as the zombie boss, you'll hunt down the hero and convert his allies into your undead army.

Dynamic Team Building

The game features an innovative ally recruitment system. As the hero, you can gather other stickmen to join your cause, building a formidable team to face the zombie menace. Each ally adds to your firepower and defensive capabilities.

Infection Mechanics

When playing as the zombie boss, utilize unique infection abilities to turn enemy allies against their leader. This strategic element adds depth to the gameplay, requiring tactical thinking about when and where to strike.

Engaging Visual Style

Featuring vibrant 2D pixel art with smooth animations, the game brings stickman characters to life with personality and charm. The colorful environments and dynamic action sequences create an immersive gaming experience.

Gameplay Mechanics

Hero Mode Strategy

As the stickman hero, focus on: - Accurate Shooting : Use precise aim to eliminate zombies efficiently - Ally Management : Strategically position recruited stickmen for maximum effectiveness - Survival Tactics : Stay mobile to avoid zombie boss attacks - Resource Conservation : Make every shot count in intense battles

Zombie Boss Mode Strategy

When controlling the zombie boss: - Aggressive Pursuit : Chase down the hero relentlessly - Strategic Infections : Target key allies to weaken the hero's forces - Area Control : Use your size and power to dominate the battlefield - Timing Attacks : Strike when the hero is vulnerable or separated from allies

Operation Guide

The game features intuitive controls designed for both desktop and mobile play:

Movement Controls: - A Key or Left Arrow : Move character left - D Key or Right Arrow : Move character right - W Key, Up Arrow, or Space : Jump over obstacles and enemies

Combat Controls: - Left Mouse Click : Fire weapons (hero mode) - F Key : Execute zombie special actions (infect or attack)

Mobile Controls: Touch-friendly interface with on-screen buttons for all actions, optimized for smartphone and tablet gameplay.

Why Play This Game

Unique Dual Perspective

Unlike traditional platform games, this title offers the rare opportunity to experience both sides of the conflict. This dual gameplay creates incredible replay value as each mode requires different strategies and skills.

Perfect for Quick Sessions

Ideal for both short gaming breaks and extended play sessions. The fast-paced action and immediate gameplay make it perfect for casual gaming, while the strategic depth keeps hardcore players engaged.

Free and Accessible

Completely free to play with no hidden costs or premium content. Simply open your browser and start playing immediately - no downloads, registrations, or payments required.

Cross-Platform Compatibility

Seamlessly playable on desktop computers, laptops, smartphones, and tablets. The responsive design ensures optimal performance across all devices and screen sizes.

Skill Development

Improves hand-eye coordination, strategic thinking, and quick decision-making skills through engaging gameplay that challenges both reflexes and tactical planning.

Frequently Asked Questions (FAQ)