Cut the Rope - Physics Puzzle Game

Seele01-Flash
By
Cut the Rope is a beloved physics-based puzzle game where you strategically cut ropes to feed candy to the adorable green creature Om Nom while collecting stars for maximum points.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Cut the Rope". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: 2.5D aesthetic. Use an **Orthographic Camera** to simulate a flat 2D plane while using 3D meshes. The art style should be cartoonish, vibrant, and high-saturation. * **Background**: A textured plane resembling the inside of a corrugated cardboard box. * **Key Models**: * **Om Nom (The Creature)**: A green, low-poly rounded mesh located at the bottom of the screen. It must have a simple "mouth open" state when the candy is near. * **The Candy**: A sphere with a red and yellow swirl texture. * **The Rope**: Rendered not as a simple line, but as a series of small connected segments (chain-link style) or a `TubeGeometry` that reacts to physics. * **Stars**: Gold, 5-pointed star shapes that rotate slowly around their Y-axis. * **Particle Effects**: Small "sparkles" when a star is collected; a "dust puff" or "confetti" explosion when Om Nom eats the candy. * **Performance**: Use simple geometries (SphereGeometry, BoxGeometry) with standard materials to ensure 60fps on mobile browsers. Avoid complex dynamic shadows; use baked shadow textures on the background plane. ### 2. Audio Requirements * **BGM**: A playful, mischievous, and loopable track featuring pizzicato strings or light woodwinds (Marimba/Flute style). * **SFX**: * **Swipe/Cut**: A sharp "swish" or scissor-snip sound. * **Rope Tension**: A subtle creaking sound when the candy swings high. * **Collection**: A high-pitched "ding" or "chime" when the candy touches a star. * **Win**: A funny "Munch-munch-munch" chewing sound followed by a happy chime. * **Lose**: A "sad trombone" or slide-whistle drop sound. ### 3. Gameplay Loop * **Physics Core**: Implement a custom constraint physics system (e.g., Verlet Integration) where the rope is made of nodes. The Candy is a heavy weight attached to the end. * **Start State**: The Candy hangs from one or more ropes (anchored to the top of the screen). Om Nom sits waiting at the bottom. * **Action**: The player swipes across a rope to "sever" the constraint at that point. Gravity takes over, swinging the candy. * **Collection**: If the Candy collides with a Star, the Star is "collected" (removed from scene, score +1). * **Win Condition**: The Candy collides with Om Nom's bounding box within a specific radius. Level Complete UI appears. * **Fail Condition**: The Candy falls below the screen's bottom edge (Y < -10) without touching Om Nom. Reset button appears. ### 4. Mobile Controls & Interaction * **Input Method**: Touch and drag (Swipe). * **Raycasting**: Implement a raycaster that tracks the user's finger movement. Creates a visual "trail" (white line) following the finger. * **Cutting Logic**: If the raycast line intersects with any segment of the Rope mesh, destroy that constraint/link immediately. * **Orientation**: **Portrait Mode** optimized. * **UI/UX**: * A "Restart" button in the top-right corner (min-size 44x44px for touch targets). * Haptic Feedback: Trigger `navigator.vibrate(50)` when a rope is cut or a star is collected (if supported). Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Cut the Rope is an award-winning physics puzzle game that has captivated millions of players worldwide. In this charming game, you'll help feed the hungry green monster Om Nom by cutting ropes at precisely the right moments to deliver candy while collecting valuable stars along the way.

The game combines strategic thinking with perfect timing as you navigate through increasingly complex puzzles. Each level presents a unique challenge where you must analyze rope physics, predict candy movement, and plan your cuts to achieve the highest score possible.

Core Features

Engaging Physics-Based Gameplay

Cut the Rope utilizes realistic physics mechanics that make every rope cut feel satisfying and predictable. The candy swings naturally according to gravity and momentum, creating an intuitive yet challenging puzzle experience.

400+ Challenging Levels

With over 400 levels spread across 17 different themed boxes, the game offers hundreds of hours of puzzle-solving entertainment. Each box introduces new mechanics and obstacles to keep the gameplay fresh and exciting.

Adorable Character Design

Meet Om Nom, the loveable green creature with an insatiable appetite for candy. His charming animations and reactions add personality to every successful puzzle solution.

Progressive Difficulty System

The game starts with simple rope-cutting tutorials and gradually introduces advanced elements like bubbles, air cushions, spikes, and teleporters. This progression ensures players of all skill levels can enjoy the experience.

Star Collection System

Each level contains up to three stars that can be collected for bonus points. Gathering stars unlocks new content and provides additional challenges for perfectionist players.

Game Mechanics

Seasonal Structure

Cut the Rope is organized into three distinct seasons, each featuring unique themed boxes:

Season 1 : Cardboard, Fabric, Foil, Magic, and Valentine's boxes Season 2 : Toy, Gift, Cosmic, Tool, and Buzz boxes
Season 3 : DJ, Spooky, Steam, Lantern, Cheese, Pillow, and Mechanical boxes

Each box contains 25 levels, totaling 75 stars to collect per box.

Special Elements

As you progress, you'll encounter various puzzle elements that add complexity: - Bubbles : Float candy upward - Air cushions : Bounce candy in new directions - Spikes : Destroy candy if touched - Teleporters : Transport candy across the level - Elastic ropes : Stretch and contract dynamically

How to Play

Basic Controls

Use your mouse to click and drag across ropes to cut them. On mobile devices, simply swipe your finger across the rope you want to cut.

Gameplay Strategy

  1. Analyze the level : Study rope positions, star locations, and Om Nom's position
  2. Plan your sequence : Determine which ropes to cut and in what order
  3. Time your cuts : Cut ropes at the right moment to control candy swing direction
  4. Collect stars : Ensure the candy path touches all stars before reaching Om Nom
  5. Feed Om Nom : Successfully deliver the candy to complete the level

Scoring System

Earn stars based on your performance: - 1 Star : Complete the level - 2 Stars : Complete with some stars collected - 3 Stars : Perfect completion with all stars collected

Why Play Cut the Rope

This game excels at providing both casual entertainment and serious brain training. The intuitive controls make it accessible to players of all ages, while the increasingly complex puzzles challenge even experienced gamers.

The game's free-to-play model means you can experience the full gameplay without any cost. It runs smoothly in web browsers without downloads, making it perfect for quick puzzle sessions during breaks or extended gaming sessions.

Cut the Rope's educational value shouldn't be overlooked – it naturally teaches physics concepts, spatial reasoning, and problem-solving skills while remaining thoroughly entertaining.

Platform Compatibility

Play Cut the Rope across multiple platforms: - Web browsers (Chrome, Firefox, Safari, Edge) - Desktop computers (Windows, Mac, Linux) - Mobile devices (iOS and Android via browser) - Tablets (iPad, Android tablets)

The HTML5 version ensures smooth performance across all modern devices without requiring app store downloads.

Frequently Asked Questions (FAQ)