Rabbit Samurai 2

Seele01-Flash
By
Rabbit Samurai 2 is an exciting platform adventure game where you play as a ninja rabbit on a rescue mission. Use your grappling hook skills to save trapped bunny friends and collect carrots in a mysterious forest filled with challenging obstacles.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Rabbit Samurai 2". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: A **2.5D Side-Scrolling Platformer** using a "Toon Shaded" (Cell Shading) aesthetic. Use `MeshToonMaterial` for all objects to mimic the cartoon vector art of the original game. * **Character**: A spherical, white rabbit character (`SphereGeometry`) wearing a red ninja mask (a simple red torus or texture band around the eyes). The character must have physics properties (rigid body). * **Environment**: A "Mysterious Forest" setting. * **Platforms**: Floating wooden logs and stone blocks using simple `BoxGeometry` and `CylinderGeometry`. * **Background**: A static, light blue radial gradient skybox with low-poly, flat-colored trees in the distance for parallax depth. * **Collectibles**: Floating Carrots (orange `ConeGeometry` with green tops) placed in arcs or trails. * **Goal**: A wooden Cage (`BoxHelper` style grid) containing a smaller bunny model. * **Hazards**: Spikes (`ConeGeometry`) placed on floor surfaces. * **Mobile Optimization**: Use geometry instancing for repeated objects (trees, carrots, spikes) to maintain 60 FPS on mobile browsers. Limit dynamic lights; use baked lighting or a simple Ambient + Directional setup. ### 2. Audio Requirements * **BGM**: A playful, upbeat "Ninja Arcade" track. It should feature pizzicato strings, a light flute melody, and a steady rhythmic beat to encourage momentum. * **Sound Effects (SFX)**: * **Grapple Throw**: A fast "Swish" or "Whoosh" sound. * **Grapple Hit**: A satisfying wooden "Thwack" or "Clack" when the hook attaches to a wall. * **Bouncing**: A comedic "Boing" sound when hitting bouncy platforms. * **Collection**: A high-pitched "Chime" or "Crunch" when collecting carrots. * **Win**: A "Cheering" sound and fanfare when the cage is broken. ### 3. Gameplay Loop * **Core Mechanic (Grappling Hook)**: The rabbit moves primarily by swinging, not running. * When the player touches the screen, the rabbit shoots a grappling hook towards the nearest valid surface in the direction of the tap (or automatically towards the closest anchor point within a radius). * **Physics Constraint**: Create a rope constraint (distance joint) between the rabbit and the anchor point. The rabbit swings like a pendulum. * **Release**: When the player releases the touch, the hook retracts, and the rabbit flies forward preserving its momentum. * **Objective**: Traverse the level using momentum to swing from point to point. Collect all carrots along the path for a perfect score. * **Win Condition**: Collide with the cage at the end of the level to break it and free the friend. * **Lose Condition**: Falling off the bottom of the screen or hitting a spike (resets the rabbit to the start position). ### 4. Mobile Controls & Interaction * **Touch Input**: * **Tap & Hold**: Shoot grappling hook and hold onto the rope. * **Release**: Detach rope. * The raycasting logic should be generous to assist mobile aiming—if a player taps *near* a wall, the hook should snap to the wall. * **Screen Orientation**: Force **Landscape Mode** preference, but ensure the camera (Orthographic) scales the view frustum correctly to keep the rabbit visible on different aspect ratios. * **Camera Behavior**: The camera must smoothly follow the rabbit's position (`lerp`) on the X and Y axis, keeping the rabbit slightly off-center (towards the direction of movement) so the player can see what is coming ahead. * **Visual Feedback**: * Draw a visible line (`LineBasicMaterial`) representing the rope when connected. * Add a small particle explosion (`PointsMaterial`) when the rabbit hits a wall or collects a carrot. * Screen shake intensity (small magnitude) when hitting walls at high speed. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Rabbit Samurai 2 is the thrilling sequel to the beloved platform adventure series, taking the ninja rabbit action to new heights. This free online game combines platforming challenges with adventure elements, where you embark on a heroic mission to rescue your bunny friends who are trapped throughout a mysterious and dangerous forest.

Core Features

Enhanced Ninja Action

The second installment delivers more dangerous and rewarding gameplay than its predecessor. Master the art of ninja movement as you swing through treacherous terrain using your signature grappling hook. The game demands quick reflexes and strategic thinking to overcome increasingly complex obstacles.

Rescue Mission Gameplay

Your primary objective is to locate and free caged rabbits scattered throughout the forest levels. Each rescued bunny friend adds to your success, creating a compelling rescue adventure that keeps you engaged from start to finish.

Carrot Collection Challenge

Follow the trails of carrots and collect every single one you encounter. These golden collectibles not only serve as guidance through the levels but also add a satisfying completion element to each stage. The question remains: how many carrots can you collect?

Diverse Obstacle Course

Navigate through a variety of challenging environments including: - Complex mazes that test your problem-solving skills - Tree trunk passages requiring precise movement - Spring-loaded platforms for dynamic jumping sequences - Bouncy platforms that add physics-based puzzle elements

Gameplay Mechanics

Grappling Hook System

The core mechanic revolves around your ninja grappling hook , which allows you to: - Launch yourself across gaps and up vertical surfaces - Swing through obstacle courses with momentum-based movement - Reach seemingly impossible locations to rescue trapped friends - Navigate complex level designs with creative solutions

Fast-Paced Action

Success requires fast reflexes and ninja skills as you time your grappling hook deployment perfectly. The game rewards smooth, fluid movement and punishes hesitation in its more challenging sections.

Operation Guide

Simple Controls

The game features intuitive one-button control: - Desktop : Left mouse button click to deploy grappling hook - Mobile : Long-press finger on screen to use grappling hook - Movement : Physics-based swinging and momentum control

Platform Compatibility

Enjoy seamless gameplay across all devices: - Computer : Full browser support for desktop gaming - Mobile Phones : Optimized touch controls for smartphones - Tablets : Perfect for larger mobile screens - No Download Required : Instant play through web browser

Why Play Rabbit Samurai 2

Free Entertainment

This is a completely free online game with no hidden costs or premium content. Jump straight into the action without any financial commitment.

Perfect Difficulty Progression

While more challenging than the original, the game maintains excellent accessibility for players of all skill levels. Each level introduces new mechanics gradually, ensuring a smooth learning curve.

Family-Friendly Adventure

The cute rabbit characters and colorful art style make this perfect for players of all ages. The rescue theme promotes positive values while delivering exciting gameplay.

Instant Accessibility

No downloads, installations, or account creation required. Simply open your browser and start your ninja rabbit adventure immediately.

Mobile-Optimized Experience

Whether you're commuting, taking a break, or relaxing at home, the game adapts perfectly to your device for on-the-go entertainment.

Frequently Asked Questions (FAQ)