Knife Rain - Free Online Throwing Game

Seele01-Flash
By
Knife Rain is a free online throwing game that challenges your precision and timing. Throw knives, wrenches, and other objects at spinning targets while unlocking new weapons in this addictive cute-shooter experience.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Knife Rain**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** 3D Cartoon/Low-poly aesthetic with vibrant, high-saturation colors similar to the "Cute" tag description. Use Flat Shading (MeshLambertMaterial or MeshToonMaterial) for a clean, performant look. * **Camera:** Use an **OrthographicCamera** to maintain a 2D gameplay feel within a 3D space. The view should be fixed front-facing. * **Core Models:** * **The Target:** A central cylinder (Wood Log) or sphere (Atomic Cell/Bomb) positioned in the upper middle of the screen. It must allow for rotation animations. * **The Projectile (Knife):** A simplified low-poly knife model. * **Background:** A solid or radial gradient Teal/Green-Blue background (referencing the title screen screenshot color, approx `#006D77` to `#83C5BE`). * **Effects:** * Simple particle explosion (using PointsMaterial) when the target is destroyed. * A subtle "flash" white effect on the target when hit. * **Optimization:** Use `InstancedMesh` for the knives if possible, or reuse a single Geometry/Material for all knife instances to minimize Draw Calls on mobile devices. ### 2. Audio Requirements * **BGM:** A lighthearted, fast-paced, rhythmic track (Synth-pop or Casual Arcade style) that loops seamlessly. * **SFX:** * **Throw:** A quick "Whoosh" or "Swish" sound. * **Hit (Success):** A satisfying, woody "Thwack" or "Thud". * **Hit (Fail):** A harsh "Metal Clang" or "Ricochet" sound. * **Level Win:** A crumbling/breaking sound combined with a short positive chime. ### 3. Gameplay Loop * **Core Mechanic:** The central Target rotates continuously. The rotation speed and direction should vary per level (e.g., slow, fast, stop-and-go, reverse). * **Action:** The player has a set number of knives (displayed in UI). Tapping the screen throws a knife straight upward from the bottom center. * **Collision Logic:** * If the knife hits the Target: It becomes a child of the Target mesh (sticks to it) and rotates with it. Score increases. * If the knife hits *another knife* already stuck in the target: **Game Over**. * **Win Condition:** All available knives are successfully embedded in the target. The target breaks apart, and the game transitions to the next level. * **Progression:** Increase difficulty by adding pre-existing knives on the target, increasing rotation speed, or erratic rotation patterns. ### 4. Mobile Controls & Interaction * **Controls:** Full-screen tap detection. * `touchstart` (for low latency on mobile) and `mousedown` events. * Prevent default browser behaviors (zooming/scrolling) on touch. * **Orientation:** Portrait mode (Vertical) layout. * **Haptic Feedback:** Trigger `navigator.vibrate(20)` on a successful hit and `navigator.vibrate([50, 50, 50])` on a crash/game over (if supported by the browser). * **UI Layout:** * **Top:** Current Level indicator and Score. * **Bottom Left/Right:** Remaining knives counter (represented by small knife icons that dim when used). * **Game Over Screen:** A distinct overlay with a large, touch-friendly (min 44x44px) "RETRY" button. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Knife Rain

Knife Rain is an engaging free online throwing game that puts your accuracy and timing to the ultimate test. With an impressive 4.3/5 rating from thousands of players, this cute-shooter game transforms simple knife throwing into an addictive precision challenge. Whether you're a casual gamer looking for quick entertainment or a competitive player aiming for the leaderboard, Knife Rain delivers hours of satisfying gameplay.

Core Features

Completely Free to Play

Enjoy unlimited access to all game content without any payment required. Play instantly in your browser with no downloads, subscriptions, or hidden fees.

Progressive Weapon System

Start with basic knives and unlock an exciting variety of throwing objects as you progress: - Sharp Knives : Classic throwing weapons for precision strikes - Heavy Wrenches : Powerful tools with different flight patterns
- Kitchen Spatulas : Unique implements that add variety to gameplay - Special Items : Discover more unusual throwing objects as you advance

Cross-Platform Compatibility

Perfectly optimized for both desktop and mobile devices: - Desktop : Smooth mouse controls for precise aiming - Mobile : Intuitive tap-to-throw mechanics for on-the-go gaming - HTML5 Technology : Runs seamlessly in all modern browsers

Diverse Target Challenges

Face various spinning targets that test different aspects of your throwing skills: - Atomic Cells : Fast-spinning scientific targets requiring perfect timing - Wooden Logs : Classic targets that split satisfyingly when hit - Cartoon Bombs : Explosive targets that add excitement to each throw - Moving Obstacles : Dynamic challenges that increase difficulty progressively

Game Mechanics

Knife Rain combines simple controls with deep gameplay mechanics. Each level presents spinning targets that require careful timing and accurate aim to hit. The spinning motion creates a constant challenge - you must predict where to throw based on the target's rotation speed and your weapon's flight time.

As you successfully complete levels, you earn points and unlock new throwing implements. Each weapon has unique characteristics affecting flight speed, accuracy, and impact, adding strategic depth to weapon selection.

Operation Guide

The game features intuitive controls designed for immediate accessibility:

Desktop Controls

  • Left Mouse Button : Click to throw your weapon at the target
  • Mouse Movement : Aim your cursor where you want to throw
  • Timing : Wait for the perfect moment when the target rotation aligns

Mobile Controls

  • Tap to Throw : Simply tap the screen to launch your weapon
  • Aim Prediction : The game helps guide your throws on touch devices
  • Hold and Release : Some versions support hold-and-release mechanics for power control

Strategy Tips

  • Study the Rotation : Each target has a consistent spinning pattern
  • Lead Your Shots : Aim slightly ahead of where you want to hit
  • Practice Timing : Develop rhythm to consistently hit moving targets
  • Weapon Selection : Choose the right tool for each target type

Why Play Knife Rain

Instant Entertainment

No registration or download required - click and play immediately in any web browser. Perfect for quick gaming sessions during breaks or extended play when you have more time.

Skill Development

Improve your hand-eye coordination, timing, and precision through engaging gameplay that feels rewarding rather than frustrating.

Stress Relief

The satisfying impact of hitting targets combined with cute, non-violent graphics creates a relaxing yet engaging experience.

Competitive Element

Challenge yourself to reach higher levels and unlock all available weapons. The leaderboard system adds motivation for continued improvement.

Universal Appeal

Suitable for all ages with its cute aesthetic and easy-to-understand mechanics, while still providing enough challenge to engage serious gamers.

Whether you're looking for a quick distraction or a game to master over time, Knife Rain offers the perfect balance of accessibility and depth that keeps players coming back for "just one more throw."

Frequently Asked Questions (FAQ)