King of Thieves

Seele01-Flash
By
King of Thieves is an exciting casual platform adventure where you navigate treacherous levels filled with spikes and enemies to reach precious treasure chests. Master the art of stealth and precise jumping in this challenging yet accessible game.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "King of Thieves". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** 2.5D "Toon" style. Use an **Orthographic Camera** to simulate a flat platformer look while using 3D geometries. The color palette should be vibrant and cartoonish (Bright Greens, Wood Browns, Gold, and Deep Purples/Blacks for the thief). * **Player Character (The Thief):** A small, black/dark-purple cube or rounded slime-like shape (`BoxGeometry` with slightly rounded corners or distinct eyes using small spheres). It needs a trail renderer or particle emitter behind it to emphasize speed. * **Environment (The Dungeon):** * **Walls/Floors:** Blocky, grid-based dungeon tiles with wood or stone textures. * **Hazards:** Red Spikes (`ConeGeometry`) and Rotating Sawblades (`CylinderGeometry` with jagged textures) that move along defined paths. * **Goal:** A Golden Treasure Chest (`BoxGeometry` + `Torus` for the lock) emitting a soft point light. * **Background:** A static or slowly parallaxing background plane with a blurred green "forest/dungeon" gradient to match the screenshot atmosphere. * **Performance:** Use `InstancedMesh` for repeated obstacles (spikes). Keep geometry simple (Low Poly). Use basic Phong or Toon materials; avoid expensive real-time shadows on mobile—use baked shadow blobs beneath the character. ### 2. Audio Requirements * **BGM:** A "Sneaky but Playful" track. Think pizzicato strings, light woodwinds, and a catchy bassline. It should loop seamlessly. * **Sound Effects (Synthesized or Placeholder URLs):** * **Jump:** A springy, cartoonish "Boing" or "Woosh". * **Wall Slide:** A friction scraping sound. * **Death:** A "Splat" or retro digital disintegration sound. * **Win/Chest:** A magical chime or coins rattling sound. ### 3. Gameplay Loop * **Core Mechanic (One-Button Auto-Runner):** * The Thief **automatically runs** in one direction (left or right). * **Collision Logic:** When the Thief hits a vertical wall, they automatically **turn around** and run the other way. * **Jump Logic:** Tapping the screen makes the Thief jump. * **Wall Jump:** Tapping while sliding down a wall performs a "Wall Jump" (trajectories away from the wall and upwards). * **Objective:** Navigate from the starting point to the Treasure Chest without touching any hazards. * **Hazards:** Touching a Spike, Sawblade, or Enemy results in immediate death (particle explosion) and instant respawn at the start position. * **Physics:** Custom arcade physics (not rigid body). Gravity should be snappy (heavy fall) to allow for precision platforming. Friction is applied only when sliding down a wall. ### 4. Mobile Controls & Interaction * **Input Scheme:** **Whole-screen tap**. * `touchstart` / `mousedown`: Triggers Jump or Wall Jump. * No on-screen joystick or D-pad is needed (One Button gameplay). * **Screen Orientation:** **Landscape Mode** is preferred to see the level layout, but the camera should zoom in/out slightly to keep the player and the immediate obstacles in view. * **Feedback:** * **Visual:** "Squash and Stretch" the player mesh slightly on jump and landing. * **Haptic:** Trigger `navigator.vibrate(50)` on death and `navigator.vibrate(20)` on wall impact. * **UI:** A minimal "Restart" button in the corner (at least 44x44px safe area). A level counter at the top center. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

King of Thieves is a captivating casual platform adventure that combines stealth mechanics with precise jumping gameplay. In this thrilling treasure-hunting experience, you'll take on the role of a skilled thief navigating through dangerous levels filled with deadly obstacles and cunning enemies. Your mission is simple yet challenging: reach the treasure chest while avoiding all hazards along the way.

The game features beautifully crafted levels that test your timing, patience, and strategic thinking. Each stage presents unique challenges that require careful planning and execution to overcome.

Core Features

Stealth-Based Gameplay

Unlike traditional platform games that focus on speed, King of Thieves emphasizes stealth and careful movement . Success depends on your ability to observe enemy patterns, time your movements perfectly, and choose the safest path to your objective.

One-Button Simplicity

The game's elegant one-button control system makes it accessible to players of all skill levels. Despite its simple controls, the game offers deep and challenging gameplay that will keep you engaged for hours.

Progressive Difficulty

Start with straightforward levels to learn the mechanics, then face increasingly complex challenges featuring: - Deadly spike traps that require precise timing - Moving enemies with predictable patrol patterns - Multi-layered obstacles that test your problem-solving skills - Hidden passages and alternative routes to discover

Cross-Platform Adventure

Enjoy seamless gameplay across all your devices. The game runs perfectly on: - Desktop computers via web browsers - Mobile phones and tablets for gaming on the go - No downloads required - play instantly in your browser

Gameplay Mechanics

Treasure Hunting Objectives

Each level centers around reaching a treasure chest positioned at the end of increasingly complex obstacle courses. The path to riches is never straightforward, requiring you to: - Navigate through spike-filled corridors - Avoid or outsmart patrolling enemies - Use wall-jumping techniques to reach higher platforms - Plan your route carefully to minimize risks

Wall-Jumping System

Master the advanced wall-jumping mechanic to access hard-to-reach areas. Jump against walls to propel yourself higher and discover secret paths that lead to your treasure.

Operation Guide

Simple Controls

The game uses an intuitive control scheme: - Space Bar or Left Mouse Click : Jump - Wall Contact : Automatically enables wall-jumping for higher jumps - Timing : Hold or tap for different jump heights and distances

Success Strategies

  • Observe first : Study enemy movement patterns before making your move
  • Plan your route : Identify the safest path to the treasure
  • Use walls strategically : Wall-jumping can help you avoid ground-level dangers
  • Patience pays : Rushing often leads to failure - take your time

Why Play King of Thieves

Perfect for All Players

Whether you're a casual gamer looking for a relaxing challenge or a platform game enthusiast seeking precise gameplay, King of Thieves delivers an engaging experience. The game's progressive difficulty curve ensures that beginners can learn while experts face meaningful challenges.

Instant Accessibility

No downloads, no installations, no waiting. Simply open your web browser and start your treasure-hunting adventure immediately. The game works flawlessly on both desktop and mobile devices.

Skill Development

Improve your: - Reaction timing through precise jump mechanics - Strategic thinking by planning optimal routes - Pattern recognition by observing enemy behaviors - Hand-eye coordination through challenging obstacle navigation

Endless Replayability

With multiple levels featuring different layouts and challenges, King of Thieves offers substantial replay value. Perfect your techniques, discover new strategies, and aim for flawless treasure collection runs.

Frequently Asked Questions (FAQ)