Bed Wars - Stickman Defense Battle

Seele01-Flash
By
Bed Wars is an action-packed 3D stickman defense game where you lead warriors in epic gladiatorial battles. Defend your base, capture enemy territories, and upgrade your squad in this thrilling casual battle experience.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Bed Wars: Stickman Defense**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Hyper-casual, **Low-poly 3D aesthetic**. Use vibrant, high-saturation colors (Bright Yellow for the player, Red for enemies, lush Green for terrain). * **Characters**: * **Player**: A minimalist **3D Stickman** (spherical head, cylindrical limbs) colored bright yellow, wielding a disproportionately **large sword**. * **Enemies**: Red stickmen with varying weapon sizes based on difficulty. * **Squad**: Smaller blue stickmen that follow the player (boids algorithm or simple follow logic) if the "Squad" mechanic is implemented. * **The "Bed" (Base/Target)**: A stylized bed model. * *Player Base*: A white/blue bed that must be defended. * *Enemy Base*: Red beds standing upright (vertical) acting as destructible towers/barricades (as seen in the screenshot). * **Environment**: A floating island or enclosed arena with grassy terrain, low-poly rocks, and abstract trees. Background should be a gradient sky blue. * **Mobile Optimization**: * Use `THREE.InstancedMesh` for rendering multiple enemy stickmen to reduce draw calls. * Use simple materials (`MeshLambertMaterial` or `MeshToonMaterial`) without expensive texture maps. * Limit dynamic lights to one DirectionalLight (Sun) and one AmbientLight. Shadow mapping should be low resolution or baked if possible. ### 2. Audio Requirements * **BGM**: An energetic, marching-band style or upbeat synth-pop track that loops seamlessly. It should convey a sense of "battle" but remain lighthearted. * **SFX**: * **Footsteps**: Rapid, soft tapping sounds sync with movement speed. * **Combat**: Cartoonish "Whoosh" for sword swings and "Bonk/Crunch" for impacts. * **Collection**: High-pitched "Ding" or vacuum sound when collecting dropped points/resources. * **Victory/Defeat**: A short fanfare for winning; a comedic "womp-womp" for losing a bed. ### 3. Gameplay Loop * **Core Mechanic**: **Auto-Combat Runner**. * The player controls movement only. * **Attack Logic**: When an enemy enters a specific radius (e.g., 2 units), the player character automatically plays an attack animation (sword swing) and deals damage. There is no "attack button." * **Objective**: 1. Spawn at the Player Bed. 2. Run toward enemy waves. 3. Defeat enemies to collect "Points/Gold" (which float to the player). 4. Reach the Enemy Bed (disguised as a vertical barricade) and deplete its HP bar to destroy it. * **Progression**: * "Level Up" notification when enough enemies are defeated, slightly increasing player size and weapon size. * **Fail State**: If the Player HP reaches 0 or the Player Bed is destroyed. ### 4. Mobile Controls & Interaction * **Controls**: **Floating Virtual Joystick**. * Touching anywhere on the bottom half of the screen activates the joystick center. * Dragging controls the character's movement velocity and rotation. * Release touch to stop moving. * **Orientation**: **Landscape Mode**. * **Camera**: Third-person **Follow Camera**. The camera should smooth-follow the player with a slight delay (lerp) and remain elevated (approx 45-degree angle) to show the battlefield ahead. * **UI Elements**: * **Health Bars**: Billboarding 2D bars above the Player, Enemies, and Beds. * **Upgrade UI**: Large, tappable buttons (min 44px height) on the sides of the screen to spend points on "Damage" or "Health" upgrades. * **Feedback**: * **Haptic Feedback**: Trigger `navigator.vibrate(20)` on successful enemy hits. * **Visual Juice**: Screen shake on bed destruction. 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 the Game

Bed Wars is an exciting 3D stickman defense game that combines strategic warfare with fast-paced action. In this colorful battle arena, you command a fearless squad of stickman warriors in epic gladiatorial combat. Your mission is to defend your base territory while capturing enemy strongholds cleverly disguised as beds. Don't let their innocent appearance fool you - these battles require skill, strategy, and quick reflexes.

Core Features

Immersive 3D Graphics

Experience stunning 3D visuals with vibrant colors and smooth animations. The game's eye-catching art style brings the stickman battles to life with dynamic environments and fluid character movements.

Strategic Defense Gameplay

Bed Wars combines the best elements of defense and action games. You'll need to balance offensive strikes with defensive positioning, making split-second decisions that determine victory or defeat.

Comprehensive Upgrade System

Enhance your warriors' abilities through a detailed upgrade system. Improve your soldiers' strength, speed, and combat effectiveness as you progress through increasingly challenging levels.

Progressive Difficulty

Start your journey solo and face increasingly cunning opponents. Each level introduces new challenges that test your strategic thinking and tactical skills.

Cross-Platform Compatibility

Play seamlessly on desktop computers and mobile devices through any modern web browser. No downloads or installations required.

Gameplay Mechanics

Base Defense Strategy

Your primary objective is protecting your home base while launching strategic attacks on enemy positions. Success requires careful resource management and tactical positioning of your stickman army.

Automatic Combat System

The game features an innovative combat mechanic where movement equals attack. Simply guide your character toward enemies, and your weapon automatically engages targets. This streamlined system keeps the action fast and engaging.

Territory Capture

Conquer enemy bases that appear as beds throughout the battlefield. Each captured territory strengthens your position and provides strategic advantages for future battles.

Controls and Operations

Mastering Bed Wars is simple with intuitive controls:

  • WASD keys or Arrow keys : Move your character around the battlefield
  • Left Mouse Button : Interact with the user interface and game menus
  • Movement-based Combat : Simply move toward enemies to automatically attack

The straightforward control scheme allows players to focus on strategy rather than complex button combinations.

Why Play Bed Wars

Perfect Casual Gaming Experience

Bed Wars offers the ideal balance of strategy and action for casual gamers. Sessions can be short and sweet or extended for longer gaming periods, making it perfect for any schedule.

Engaging Progression System

Watch your stickman army grow stronger with each victory. The satisfaction of upgrading your forces and seeing them dominate tougher opponents creates an addictive gameplay loop.

Stress-Free Entertainment

Unlike complex strategy games that require hours of learning, Bed Wars delivers immediate fun with easy-to-understand mechanics. Jump in and start enjoying epic battles right away.

Free and Accessible

Completely free to play with no hidden costs or premium restrictions. Access the full game experience through your web browser on any device.

Suitable for All Ages

The colorful, cartoon-style graphics and non-violent stickman theme make this game appropriate for players of all ages while still providing engaging challenges for experienced gamers.

Frequently Asked Questions (FAQ)