The Spear Stickman

Seele01-Flash
By
The Spear Stickman is an intense archery combat game where you control a stick figure warrior armed with a deadly spear. Survive waves of enemy stickmen by mastering precise aim and quick reflexes.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**The Spear Stickman - 3D Remake**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Use a "2.5D" perspective. The game logic occurs on a 2D plane, but assets are 3D. Maintain the iconic high-contrast aesthetic: Stickmen are solid **Pure Black (#000000)**, and the background is a flat, vibrant **Mustard Yellow (#F2C94C)**. * **Character Models**: Construct Stickmen using simple geometric primitives to ensure high performance on mobile devices. Use `THREE.SphereGeometry` for the head and `THREE.CylinderGeometry` for the torso and limbs. * **Rigging**: The arm holding the spear must be rotatable around the shoulder joint to reflect aiming angles. * **Environment**: Create multiple "floating platforms" (rounded black cylinders) at varying heights and distances. * **Projectiles**: The spear should be a thin cylinder with a cone tip. Add a simple trail renderer (using a shrinking array of opacity-fading lines) behind the spear to track its flight path. * **Optimization**: Use `THREE.MeshBasicMaterial` or `THREE.MeshToonMaterial` (no expensive PBR). Limit shadow casting to the main character only to save battery. ### 2. Audio Requirements * **BGM**: A tense, rhythmic, tribal drum beat (percussion only) that loops seamlessly. It should speed up slightly as the wave count increases. * **Sound Effects (SFX)**: * **Aiming**: A "stretching" sound (like a bowstring or rubber band) that increases in pitch as the user drags further back. * **Throw**: A sharp "Whoosh" air-cutting sound. * **Impact - Body**: A dull "Thud". * **Impact - Headshot**: A satisfying "Crunch" or "Ding" combined with a high-pitched visual flash. * **Coin Collect**: A retro 8-bit pickup sound when "Apple Coins" are earned. ### 3. Gameplay Loop * **Core Mechanic**: Turn-based or Real-time projectile combat. The player is stationary on the left. Enemies spawn randomly on platforms to the right. * **Damage System**: Implement Hitbox detection using `THREE.Raycaster` or basic bounding box logic: * **Headshot**: Instant kill (100% damage). * **Body Shot**: 50% damage (requires 2 hits). * **Leg Shot**: 33% damage (requires 3 hits). * **Enemy AI**: Enemies spawn and wait a random short interval (0.5s - 2s) before throwing a spear at the player. Their accuracy should vary (sometimes overshooting/undershooting). * **Economy**: Upon enemy death, spawn an "Apple Coin" object that creates a parabolic arc towards the player's UI score counter. * **Progression**: Killing enemies increases the "Wave Count." Every 5 waves, a "Boss" enemy appears wearing a helmet (requires an extra headshot to knock the helmet off before damage can be dealt). ### 4. Mobile Controls & Interaction * **Orientation**: Force **Landscape Mode** to maximize the horizontal view for projectile arcs. * **Touch Control Scheme**: "Drag-to-Shoot" (Angry Birds style). * **Touch Start**: Anywhere on the screen. * **Touch Drag**: Pulling back opposite to the target direction calculates force and angle. * **Touch Release**: Fires the spear. * **Visual Aid**: Draw a **Dotted Trajectory Line** during the aiming phase. This is crucial for mobile playability on small screens. Limit the line length so it doesn't show the exact landing spot, only the initial arc. * **UI Layout**: * **Health Bars**: Minimalist horizontal bars above the Player and Enemy heads. * **Buttons**: Large hit areas (min 44x44px). Place a "Shop" button in the top-left and current "Coin Count" in the top-right. * **Feedback**: Trigger `navigator.vibrate(50)` on successful hits and `navigator.vibrate([50, 50, 50])` on taking damage. Screen shake effect (camera jitter) on Headshots. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About The Game

The Spear Stickman is a thrilling stick figure archery game that combines fast-paced action with strategic aiming mechanics. In this exciting projectile combat experience, you take control of a brave stickman warrior equipped with nothing but a spear to defend against endless waves of enemy attackers.

The game challenges players to survive as long as possible while enemy stickmen spawn randomly on different platforms, each attempting to eliminate you. Your survival depends entirely on your aiming skills and quick reaction time.

Core Features

Precision-Based Combat System

The game's core mechanic revolves around skillful spear throwing. Different body parts require varying numbers of hits - a perfect headshot delivers an instant kill, while hitting arms or legs requires multiple spears to defeat an enemy. This creates a strategic element where accuracy is rewarded over rapid firing.

Progressive Upgrade System

As you eliminate enemies, you earn apple coins that can be spent in the in-game shop. Purchase protective gear like metal helmets or fun cosmetic items such as Mario-style mushroom helmets to customize your stickman warrior.

Dynamic Enemy Spawning

Enemies appear randomly across multiple platforms, keeping you constantly alert and forcing you to adapt your aiming strategy. Each wave becomes progressively more challenging, testing your ability to prioritize targets and manage multiple threats.

Cross-Platform Accessibility

The game runs smoothly on both desktop computers and mobile devices through your web browser, making it perfect for quick gaming sessions anywhere.

Gameplay Mechanics

Aiming and Shooting

The intuitive mouse-based control system allows for precise aiming. Simply drag to adjust your spear's trajectory and release to launch your projectile. The physics-based throwing mechanics add realistic weight and arc to each shot.

Strategic Target Selection

Success requires smart target prioritization. Focus on enemies that pose immediate threats while positioning yourself advantageously for multiple kills. Understanding the damage system is crucial - always aim for headshots when possible to conserve ammunition and time.

Survival Progression

The longer you survive, the more challenging the game becomes. Enemy spawn rates increase, and new types of threats may appear, keeping the gameplay fresh and exciting throughout extended play sessions.

Operation Guide

Basic Controls: - Mouse Drag : Hold and drag the left mouse button to aim your spear - Mouse Release : Release the button to throw your spear - Mouse Movement : Adjust angle and power of your throw

Combat Tips: - Aim for headshots whenever possible for instant kills - Keep moving to avoid enemy projectiles - Prioritize closer enemies that pose immediate threats - Use the upgrade shop between waves to improve your chances

Scoring System: - Earn apple coins for each enemy eliminated - Bonus points for consecutive headshots - Higher scores unlock better shop items

Why Play This Game

Perfect for Quick Gaming Sessions : The fast-paced nature makes it ideal for short breaks or casual gaming moments.

Skill-Based Progression : Unlike luck-based games, improvement comes through practice and better aiming skills, making victories feel earned and satisfying.

Free and Accessible : No downloads, registrations, or payments required. Simply open your browser and start playing immediately.

Competitive Challenge : Try to beat your high score or compete with friends to see who can survive the longest.

Simple Yet Engaging : Easy to learn controls combined with challenging gameplay create the perfect balance for players of all skill levels.

Whether you're a fan of archery games, stickman adventures, or simply enjoy testing your reflexes, The Spear Stickman delivers an entertaining and addictive gaming experience that will keep you coming back for more.

Frequently Asked Questions (FAQ)