Sword Masters

Seele01-Flash
By
Sword Masters is an exciting online adventure RPG that challenges you to become the ultimate sword master. Fight monsters, collect powerful weapons, and hatch legendary pets in this free multiplayer experience.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Sword Masters: Pocket RPG**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Create a "Roblox-inspired" or "Simulator" aesthetic. Use low-poly geometry with vibrant, high-saturation textures. The world should look cartoonish and friendly. * **Characters:** * **Player:** A blocky, stylized character (similar to the screenshot) wearing orange/gold armor. The character should hold a disproportionately large sword. * **Enemies:** Create "Mob Spawners" that generate enemies. Start with simple slimes or low-poly "Angels" (white spheres with wings) as seen in the reference. * **Environment:** A floating island setting. A bright green grassy plane, stylized low-poly trees, and a bright blue skybox. * **Performance Optimization:** Use `THREE.InstancedMesh` for environmental props (grass, trees) to ensure 60FPS on mobile devices. Use simple "Blob Shadows" (textured planes beneath characters) instead of expensive dynamic shadow maps. * **VFX:** Add a "Sword Trail" effect (using a curved mesh or trail renderer) when the player attacks. ### 2. Audio Requirements * **BGM:** An upbeat, energetic, looping chiptune-orchestral hybrid track that encourages adventure (similar to upbeat anime intros or casual mobile RPGs). * **Sound Effects (SFX):** * **Combat:** A satisfying *Whoosh* for swinging, a punchy *Thwack* for hitting enemies. * **Loot:** A high-pitched *Ding* or magnetic sound when collecting coins. * **UI:** A "Pop" sound when clicking buttons or opening the pet egg menu. ### 3. Gameplay Loop * **Core Mechanics:** The player moves around the island to find enemies. When close, they press an attack button to deal damage. * **Combat System:** Enemies have health bars floating above their heads. When hit, "Floating Damage Text" (billboarded sprites) should pop up and float upwards. * **Economy & Progression:** * Killing enemies drops **Coins** (physics-based cylinders that scatter and then magnetically move to the player). * **Shop/Upgrade System:** A designated zone or UI button allows players to spend coins to: 1. Buy new swords (increase damage). 2. "Hatch Eggs" (Gacha mechanic): Pay coins to get a floating "Pet" that follows the player and passively increases coin drop rates. * **Win/Loss:** The game is an endless loop. The goal is to maximize DPS (Damage Per Second) and collect the rarest pets. If player HP reaches 0, respawn at the center with no penalty. ### 4. Mobile Controls & Interaction * **Navigation:** Implement a **Virtual Joystick** on the bottom-left of the screen for character movement (WASD logic mapped to touch). * **Camera:** Third-person camera that smoothly follows the player. The right side of the screen can be dragged to rotate the camera view. * **Action Buttons:** * Place a large, circular **Attack Button** (icon: Sword) on the bottom-right (easy for thumb reach). * UI Buttons for "Shop" and "Inventory" should be placed at the top-right, ensuring they are at least 44x44px for touch accessibility. * **Feedback:** * **Haptics:** Trigger `navigator.vibrate(50)` when the player lands a hit on an enemy. * **Visual:** The attack button should slightly shrink/animate when pressed. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Sword Masters is an immersive online adventure RPG that combines action-packed combat with deep progression systems. Starting from humble beginnings with nothing but your bare hands, you'll embark on an epic quest to become the strongest sword master in the realm. This free-to-play browser game offers endless hours of monster hunting, weapon collecting, and character development.

Core Features

Epic Monster Battles

Engage in thrilling combat against diverse monsters across multiple worlds. Each enemy presents unique challenges and rewards, testing your skills and strategy. The dynamic combat system keeps every battle fresh and exciting.

Weapon Collection & Upgrading

Discover and collect a vast arsenal of weapons, from basic swords to legendary blades. Use coins earned from battles to enhance your gear, increasing damage, speed, and special abilities. Every weapon upgrade brings you closer to mastering the art of swordplay.

Legendary Pet System

Hatch mysterious eggs to unlock powerful pets that fight alongside you. These legendary companions provide unique abilities and bonuses, adding strategic depth to your adventures. Collect rare pets to gain significant advantages in combat.

Multiplayer Adventures

Team up with friends in exciting multiplayer mode! Share the adventure, tackle challenging monsters together, and compete to see who becomes the greatest sword master. The social aspect adds endless replayability.

Progressive World Exploration

Journey through different worlds, each with unique environments, enemies, and challenges. As you level up your character and swords, unlock access to more dangerous but rewarding territories.

Gameplay Mechanics

Character Progression

Start with basic abilities and gradually develop into a formidable warrior. Level up your character, improve sword mastery, and unlock new combat techniques. The progression system rewards both skill and dedication.

Resource Management

Strategically manage coins and resources earned from defeating monsters. Decide whether to invest in weapon upgrades, new gear, or pet eggs. Smart resource allocation is key to optimal character development.

Operation Guide

Movement Controls: - WASD keys or Arrow keys : Move your character in all directions - Mouse : Control camera angle and view

Combat System: Engage monsters automatically when in range. Your character will attack using equipped weapons, while you focus on positioning and strategy. Collect coins and items dropped by defeated enemies.

Upgrade Process: Visit the upgrade menu to enhance weapons using collected coins. Higher-level weapons deal more damage and may have special effects. Invest in pet eggs for powerful companions.

Why Play Sword Masters

Completely Free : Enjoy the full game experience without any cost. No hidden fees or premium subscriptions required.

Cross-Platform Compatibility : Play seamlessly on computers, phones, and tablets through your web browser. No downloads or installations needed.

Social Gaming : Connect with friends in multiplayer mode for shared adventures and friendly competition.

Endless Progression : With multiple worlds, countless weapons, and various pets to collect, the adventure never truly ends.

Accessible Gameplay : Easy-to-learn controls combined with deep strategic elements make it perfect for both casual and dedicated gamers.

Whether you're seeking a quick gaming session or an extended adventure, Sword Masters delivers exciting action-RPG gameplay that keeps you coming back for more epic battles and legendary discoveries.

Frequently Asked Questions (FAQ)