Obby: Pull a Sword - Incremental Clicker Game

Seele01-Flash
By
Obby: Pull a Sword is an exciting incremental clicker game where you build strength, draw legendary swords, and battle epic bosses. Train your warrior, collect powerful pets, and compete against other players in this free-to-play adventure.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Obby: Pull a Sword**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: "Roblox-inspired" Low-poly aesthetic. Use primitive shapes (cubes, cylinders) to construct characters and environment to ensure high performance on mobile devices. Bright, saturated colors (Sky Blue background `0x87CEEB`, Neon Green grass `0x7CFC00`). * **Character Design**: * **Player**: A blocky, articulated character (head, torso, arms, legs). As the "Strength" stat increases, scale the Torso and Arms slightly larger to visually represent power growth. * **Boss**: A much larger, red-tinted blocky character positioned in a designated "Arena Area". * **Environment**: * A main floating island platform. * **Sword Zone**: A line of 5 distinct swords embedded in stones, ranging from a basic Wooden Sword to a glowing Crystal Sword. Each sword should have a floating 3D text label above it indicating the "Strength Required" to pull it (e.g., 100, 500, 1k, 5k, 10k). * **Training Zone**: A small area with dumbbell racks (decorative). * **Visual Effects**: Simple particle explosions (squares) when a sword is successfully pulled or a boss is defeated. Floating text pop-ups ("+1 Strength") when the player trains. ### 2. Audio Requirements * **BGM**: An upbeat, looping "Sim-Cade" style track (synthesizer-based, happy mood) typical of Roblox simulator games. * **SFX**: * **Training**: A comical "grunt" or "whoosh" sound every time the player taps to train. * **Sword Pull**: A heavy stone grinding sound followed by a magical "ting" upon success. * **UI**: High-pitched "pop" sounds for button clicks. * **Failure**: A "buzzer" sound if the player tries to pull a sword they are too weak for. ### 3. Gameplay Loop * **Core Mechanic - Training**: The player has a "Strength" counter. There is a large "TRAIN" button. Tapping it plays an animation (lifting a dumbbell) and adds +1 Strength (exponentially scalable). * **Core Mechanic - Pulling Swords**: The player walks up to a sword in the "Sword Zone". * **Interaction**: A "PULL" button appears when close. * **Logic**: If `Player.Strength >= Sword.Requirement`, the sword is removed from the stone and "equipped" (attached to the player's right hand), and the player gains a damage multiplier. * **Core Mechanic - Boss Battle**: The player enters the "Arena". The Boss has a health bar. * **Combat**: The player taps the screen to swing their sword. Damage = `Base Damage * Sword Multiplier`. * **Win Condition**: Defeating the boss awards "Wins" (currency) which can be used to buy "Pets" (simple spheres following the player) that give passive Strength multipliers. ### 4. Mobile Controls & Interaction * **Camera**: Third-person follow camera (slightly elevated, behind the player). It must smoothly track the player's movement. * **Movement (Left Hand)**: Implement a virtual joystick on the bottom-left of the screen (using a library like Nipple.js or custom Canvas logic) for smooth WASD-style movement. * **Action (Right Hand)**: * Place a large, circular "TRAIN / ATTACK" button on the bottom-right (easy thumb reach). * Place a smaller "JUMP" button near the attack button. * **UI Overlay**: * **Top Center**: "Strength" and "Wins" counters (large, bold font, text-shadow for readability). * **Responsiveness**: Ensure UI elements are anchored correctly for both Portrait and Landscape modes (though Landscape is preferred for this genre). * **Feedback**: Haptic feedback (vibration) on mobile devices when successfully pulling a sword or landing a critical hit on the boss. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Obby: Pull a Sword is an action-packed incremental clicker game that combines strength training, sword collection, and epic boss battles. Start as a novice warrior and grow your power through every click, swing, and victory. With each battle, you'll become stronger, unlock new abilities, and collect unique companions on your journey to becoming the ultimate sword master.

This free-to-play online game features vibrant 3D graphics, dynamic camera angles, and engaging multiplayer competition. Whether you're pulling legendary blades from stone or facing off against mighty bosses, every moment brings new challenges and rewards.

Core Features

The game offers a rich progression system that keeps you engaged:

Strength Training System

Every click and swing increases your power. The more you train, the stronger you become, allowing you to wield more powerful weapons and face tougher challenges. Your character's growth is visible and rewarding, making each training session meaningful.

Legendary Sword Collection

Discover and pull unique swords with different abilities and power levels. From basic training blades to legendary weapons of immense power, each sword offers new possibilities in combat. Test your worthiness by attempting to draw ancient blades from stone.

Epic Boss Battles

Challenge mighty bosses across various worlds and environments. These formidable foes guard their domains fiercely, but defeating them unlocks new areas, rewards, and progression opportunities. Each boss requires strategy and skill to overcome.

Pet Companions

Collect and unlock unique pets that assist you in battle. These loyal companions provide extra help during fights and add personality to your adventure. Each pet offers different benefits and abilities.

Multiplayer Competition

Compete against other players in real-time battles. Test your skills and strength against warriors from around the world, climb leaderboards, and prove you're the strongest sword wielder.

Gameplay Mechanics

The core gameplay loop is simple yet addictive:

  1. Train Your Strength : Click to build power and increase your abilities
  2. Pull New Swords : Test your strength against legendary weapons
  3. Battle Enemies : Fight bosses and other challenges to earn rewards
  4. Explore Worlds : Unlock new locations with fresh challenges
  5. Collect Companions : Gather pets to aid your journey
  6. Compete Online : Challenge other players in multiplayer battles

Controls and Operations

The game features intuitive controls for both desktop and mobile:

Desktop Controls: - WASD or Arrow Keys: Move your character - Left Mouse Button: Draw swords and attack - Spacebar: Jump over obstacles - Mouse Wheel: Zoom camera in/out for better views

Mobile Controls: - Virtual Joystick: Character movement - Touch Controls: Sword drawing, jumping, and camera control - Optimized interface for touch gameplay

Visual Experience

Enjoy dynamic camera perspectives that make every battle immersive. View the action from above, below, or even in first-person mode. The colorful 3D graphics and smooth animations bring the warrior world to life, making each sword pull and boss battle visually exciting.

Why Play This Game

Obby: Pull a Sword offers the perfect blend of idle progression and active gameplay. It's ideal for players who enjoy:

  • Incremental Progress : Watch your character grow stronger with every action
  • Collection Mechanics : Discover and unlock powerful swords and cute pets
  • Competitive Play : Challenge friends and players worldwide
  • Casual Gaming : Easy to pick up and play, perfect for short sessions
  • Free Entertainment : Complete game experience without any cost

The game respects your time with meaningful progression that continues even during short play sessions. Whether you have a few minutes or hours to spare, there's always something to achieve and discover.

Frequently Asked Questions (FAQ)