Double Edged - Epic Spartan Battle Adventure

Seele01-Flash
By
Double Edged is an action-packed beat-em-up game where you play as a mighty Spartan warrior, wielding your sword through 12 challenging levels of mythological combat. Fight solo or team up with a friend in local co-op mode.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Double Edged: Pocket Spartan**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** 3D Voxel Art or "Chunky" Low-Poly style to mimic the original Nitrome pixel art aesthetic. Use a vibrant color palette dominated by Spartan Gold, Bronze, Red (Player 1), and Green (Player 2/Ally). * **Camera:** Use an Orthographic Camera angled slightly downward (approx. 45 degrees) to simulate a classic "2.5D" side-scrolling beat-em-up perspective. The camera should smoothly follow the player's x-axis movement. * **Characters:** Create blocky Spartan warriors with distinct helmet plumes. Enemies should include generic soldiers and at least one "Mythological Beast" (e.g., a Minotaur or Cyclops) represented as a larger voxel model. * **Environment:** A scrolling "Ancient Greece" background. Foreground: Marble floors, broken pillars, and Greek pottery. Background: distant temples and blue sky. * **Performance:** strict low-poly count for mobile FPS stability. Use simple geometry (BoxGeometry) for most assets to reduce draw calls. ### 2. Audio Requirements * **BGM:** A fast-paced "Chiptune Orchestral" track. It should mix retro 8-bit square waves with heroic, marching melodies typical of Greek epics. * **SFX:** * **Slash:** A sharp, retro "whoosh" noise. * **Impact:** A heavy "crunch" or "thud" when hitting enemies. * **Metal Clang:** A distinct metallic ringing sound played specifically when the player drops their sword. * **Jump:** A classic rising pitch slide (glissando). ### 3. Gameplay Loop * **Core Mechanic:** A side-scrolling brawler. The player moves from left to right, stopping to defeat waves of enemies to unlock the next screen section. * **Unique "Double Edged" Mechanic:** **Weapon Disarm**. If the player takes a hit exceeding a specific damage threshold, their sword mesh must physically detach from the player model, fall to the ground (using simple gravity physics), and bounce. The player is then "unarmed" (weaker punch attacks) until they walk over the dropped sword to auto-equip it again. * **Enemies:** Basic enemies walk towards the player and attack. Stronger enemies (brutes) have a chance to knock the weapon out of the player's hand. * **Victory/Defeat:** Victory = Defeating all enemies in the wave. Defeat = Player HP reaches 0. ### 4. Mobile Controls & Interaction * **Orientation:** Force **Landscape Mode** for optimal horizontal field of view. * **Virtual Joystick (Left Side):** Implement a dynamic thumbstick for movement (X and Z axis movement, confined to the lane depth). * **Action Buttons (Right Side):** * **Button A (Large):** Attack / Pick up weapon. * **Button B (Medium):** Jump. * **Haptic Feedback:** Trigger `navigator.vibrate(50)` on taking damage and `navigator.vibrate(20)` when landing a hit. * **UI:** Display a retro-style health bar (hearts) at the top left. Buttons should be semi-transparent and large enough (min 64x64px) to prevent miss-clicks. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Double Edged is an intense action-adventure beat-em-up game that puts you in the sandals of a legendary Spartan warrior. With its distinctive retro pixel art style and fast-paced combat system, this game delivers an authentic mythological battle experience that will test your warrior skills across 12 challenging levels.

The game combines classic beat-em-up mechanics with unique sword combat features, creating an engaging gameplay loop where strategy and reflexes are equally important. Face waves of mythological enemies in epic battles that require both skill and determination to overcome.

Core Features

Authentic Spartan Combat System

Experience realistic sword-based combat where your weapon can be knocked from your hands during intense battles. This unique mechanic adds strategic depth - when disarmed, you'll need to retrieve your sword quickly or fight with reduced effectiveness until you can reclaim your weapon.

Local Co-op Multiplayer

Team up with a friend for local cooperative gameplay on the same computer. Double the warriors means double the fun as you coordinate attacks, cover each other's weaknesses, and tackle the toughest enemies together.

Epic 12-Level Campaign

Battle through a comprehensive adventure featuring 12 distinct levels, each presenting new challenges and enemy types. Progress from basic encounters to epic boss battles that will truly test your Spartan mettle.

Retro Pixel Art Aesthetic

Enjoy beautifully crafted pixel art graphics that bring the ancient world to life with vibrant colors and detailed character animations. The visual style perfectly captures the mythological atmosphere while maintaining smooth gameplay performance.

Gameplay Mechanics

The combat system revolves around timing, positioning, and weapon management. Your sword is both your greatest asset and potential vulnerability - powerful enemy attacks can disarm you, forcing you to adapt your strategy on the fly. Master the art of dodging, jumping, and precise sword strikes to become an unstoppable warrior.

Enemies come in waves with varying attack patterns and strengths. Some foes require multiple hits to defeat, while others may catch you off guard with unexpected abilities. Learning each enemy type's behavior is crucial for survival.

Operation Guide

The controls are intuitive and responsive:

  • Arrow Keys : Move your Spartan warrior in all directions
  • N Key : Execute powerful sword slashes to defeat enemies
  • M Key : Jump to avoid attacks or reach higher platforms

Master these simple controls to perform complex combat maneuvers. Combine movement, jumping, and sword attacks to create devastating combo sequences that clear enemies efficiently.

Why Play Double Edged

This game offers the perfect blend of nostalgic retro gaming and modern game design. Whether you're a fan of classic beat-em-up games or new to the genre, Double Edged provides:

  • Immediate Action : Jump straight into combat without complex tutorials
  • Cooperative Fun : Share the adventure with friends through local multiplayer
  • Challenging Progression : 12 levels that gradually increase in difficulty
  • Free Entertainment : Completely free to play with no hidden costs
  • Cross-Platform Access : Play directly in your web browser without downloads

The game's unique disarmament mechanic sets it apart from typical beat-em-up games, adding strategic depth that keeps combat fresh and engaging throughout all 12 levels.

Frequently Asked Questions (FAQ)