Deepest Sword

Seele01-Flash
By
Deepest Sword is a unique physics-based adventure game where you battle a mighty dragon with a sword that grows longer with each successful strike. Master timing and physics to navigate challenging platforms and defeat the ultimate foe.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Deepest Sword**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: **3D Voxel/Low-Poly Aesthetic** (inspired by the original pixel art). Use simple geometric shapes (BoxGeometry) to construct characters and the environment to ensure high performance on mobile devices. * **The Player**: A small, cute, blocky knight character with distinct colors (e.g., pink/purple armor). * **The Sword**: The most critical asset. A long, rectangular mesh that can dynamically change its scale along the Y-axis (length). It must be attached to the player's center but capable of full 360-degree rotation. * **The Environment**: A dark, atmospheric dungeon setting. * **Background**: Deep blue/black fog (FogExp2) to simulate depth. * **Terrain**: Blocky stone platforms, stairs, and walls. * **The Dragon**: A large, low-poly dragon silhouette or model located at the end of the level (the goal). * **Lighting**: Ambient light (soft blue) + Point lights (orange) representing torches to create contrast. * **Optimization**: Use instanced rendering for repeating floor tiles. Limit shadow casting to the player and sword only. ### 2. Audio Requirements * **BGM**: A retro-style, heroic **8-bit Chiptune/Dungeon Synth** track. It should start mysterious and build tension. * **SFX**: * **Sword Swing**: A "whoosh" sound, pitch-shifted lower as the sword gets larger/heavier. * **Impact**: Metal clanking against stone when the sword hits the ground or walls. * **Movement**: Cute, high-pitched footsteps for the knight. * **Success/Failure**: A fanfare for stabbing the dragon; a comic "thud" sound for falling. ### 3. Gameplay Loop * **Core Mechanic**: **Physics-based Sword Vaulting**. The player cannot jump normally. Instead, they must rotate their sword to push against the ground, vaulting themselves over obstacles or climbing ledges (pogo-stick style). * **Progression**: 1. The player starts with a normal-sized sword. 2. **The Twist**: Every time the player completes a level (or fails and respawns, depending on logic), the sword grows significantly **longer and heavier**. 3. **Challenge**: As the sword grows, the physics center of mass shifts. The player must manage the weight, using the momentum of the giant sword to swing themselves across large gaps. * **Objective**: Navigate the platforming dungeon to reach the Dragon and stab it in the heart. * **Physics**: Use a physics engine (like Cannon.js or Ammo.js integrated with Three.js). The sword must have rigid body collisions with the static environment. ### 4. Mobile Controls & Interaction * **Control Scheme**: **Twin-Stick Virtual Setup**. * **Left Virtual Joystick**: Controls horizontal movement (Left/Right walking). * **Right Virtual Joystick (Rotational)**: Directly maps to the **rotation of the sword**. Rotating the stick 360 degrees rotates the sword 360 degrees around the player. This offers precise control for "vaulting." * **Camera**: A **Side-Scrolling Orthographic Camera** (or fixed perspective) that follows the player smoothly, keeping the action framed. * **UI/UX**: * "Reset" button in the top right corner (44x44px touch target) to quickly restart the run. * Simple "Length Counter" UI showing current sword length. * **Feedback**: * **Haptic Feedback**: Trigger a short vibration when the sword strikes the ground or the dragon. * **Visual Feedback**: Small particle sparks when the sword scrapes against stone walls. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Deepest Sword is an innovative physics-based adventure game that combines platforming challenges with strategic combat mechanics. With a rating of 4.075 from players, this game offers a unique twist on dragon-slaying adventures by featuring a sword that grows progressively longer with each successful hit.

The game presents a deceptively simple concept with surprisingly deep gameplay mechanics. As your sword extends, you gain greater reach but face increased difficulty in maneuvering through tight spaces and platforms. This creates an engaging risk-reward dynamic that keeps players constantly adapting their strategy.

Core Features

Revolutionary Growing Sword Mechanic

The centerpiece of Deepest Sword is its innovative weapon system. Your sword starts small but grows substantially longer with each successful strike against the dragon. This mechanic fundamentally changes how you approach combat and navigation throughout the game.

Physics-Based Gameplay

Every movement and sword swing follows realistic physics principles. The weight and momentum of your increasingly massive sword affects how you move, jump, and attack, creating authentic gameplay challenges that require skill and adaptation.

Challenging Platforming Elements

Navigate through carefully designed environments that become progressively more difficult as your sword grows. Timing your movements and managing your weapon's unwieldy size becomes crucial for success.

Minimalist Yet Engaging Art Style

The game features charming pixel art graphics that perfectly complement the gameplay mechanics. The visual design is both cute and functional, clearly conveying important gameplay information.

Game Mechanics

Strategic Combat System

Fighting the dragon isn't just about attacking - it's about positioning, timing, and managing your ever-growing weapon. Each successful hit makes subsequent attacks both more powerful and more challenging to execute.

Environmental Challenges

The game world is filled with platforms, obstacles, and tight spaces that become increasingly difficult to navigate as your sword grows. Players must think ahead and plan their route carefully.

Progressive Difficulty

What starts as an "Easy" game gradually becomes "Hard" as your sword grows. This natural difficulty progression keeps players engaged without sudden spikes in challenge.

Operation Guide

The game uses intuitive controls designed for both keyboard and touch interfaces:

  • Movement : Use arrow keys or WASD to move your character left and right
  • Jumping : Spacebar or up arrow to jump between platforms
  • Sword Control : Mouse movement or touch controls to aim and swing your sword
  • Attack Timing : Click or tap to strike at the optimal moment

Success requires mastering the physics of your growing sword. As it becomes longer, you'll need to account for its momentum and weight in your movements. Practice timing your swings to maintain balance while navigating platforms.

Why Play Deepest Sword

Unique Gaming Experience

No other game quite captures the specific challenge of wielding an ever-growing sword. This fresh take on action-adventure gaming provides a memorable experience you won't find elsewhere.

Perfect Balance of Simple and Complex

While the core concept is easy to understand, mastering the physics and strategy creates long-term engagement. The game appeals to both casual players and those seeking deeper challenges.

Free Browser-Based Fun

As an HTML5 game, Deepest Sword runs directly in your web browser without downloads or installations. It's completely free to play and works on both desktop computers and mobile devices.

Brain Training Benefits

The game's physics-based puzzles and strategic elements provide excellent mental exercise, improving spatial reasoning and problem-solving skills while entertaining you.

Suitable for All Ages

With its cute art style and family-friendly content, the game appeals to players of all ages while still offering enough challenge to keep experienced gamers engaged.

Frequently Asked Questions (FAQ)