The Ninja Game

Seele01-Flash
By
The Ninja Game is a charming action platformer where you master the art of ninja parkour. Scale walls, collect gold coins, and navigate dangerous obstacles in this free browser-based adventure.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**The Ninja Game**". 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 **Low-Poly 3D models** with a **Toon Shader (Cel-shading)** to capture the "Cute" and "Action" tags. The aesthetic should mimic a doodle on paper. * **The Ninja (Player)**: A Chibi-style character (large head, small body) dressed in all black with a visible red headband. Use simple geometries (spheres/capsules) to minimize polygon count. * **Environment**: * **Platforms**: Gray mechanical blocks with dark outlines. * **Background**: A textured "parchment paper" or "rice paper" background plane (creamy beige color) to mimic the original screenshot's texture. * **Hazards**: Bright Red Spikes (cones) and Laser Turrets (simple rotating cubes emitting a red Raycaster line). * **Collectibles**: Spinning Gold Coins with a metallic shader. * **Mobile Optimization**: Use a single directional light with soft shadows. Limit total scene vertex count suitable for mobile browsers. ### 2. Audio Requirements * **BGM**: A fast-paced, looping track combining traditional Japanese instruments (Shamisen or Koto) with an upbeat Chiptune/8-bit beat. * **SFX**: * **Jump**: A quick "Woosh" air sound. * **Wall Slide**: A friction/scraping sound when sliding down walls. * **Coin**: A high-pitched retro "Ding". * **Death**: A comedic "Poof" or smoke bomb sound. * **Laser**: A buzzing electric hum. ### 3. Gameplay Loop * **Core Mechanic**: Precision platforming. The player must reach the exit portal. * **Wall Mechanics**: * **Wall Slide**: If the player moves *into* a wall while falling, gravity is reduced by 50% (sliding). * **Wall Jump**: Pressing jump while sliding launches the player diagonally away from the wall. * **Hazards**: One-hit kill. Touching a spike or a laser beam resets the player to the spawn point instantly. * **Goal**: Collect all Gold Coins in the level to activate the Exit Portal. Entering the portal wins the level. ### 4. Mobile Controls & Interaction * **Screen Orientation**: **Landscape Mode** (force landscape via CSS if possible). * **Control Scheme**: * **Left Zone**: An invisible or semi-transparent **Virtual Joystick** (D-pad) for left/right movement. * **Right Zone**: A large, semi-transparent **Jump Button** (min size 64x64px) with a "JUMP" icon. * **Camera**: A smooth follow camera (using `THREE.MathUtils.lerp`) that tracks the player's X and Y position with a slight delay, keeping the player centered but allowing a view of the path ahead. * **Feedback**: Add a subtle screen shake effect (camera jitter) when the player dies or hits a wall hard. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About The Ninja Game

The Ninja Game is an engaging action platformer that combines ninja stealth with challenging obstacle courses. With its cute art style and smooth wall-climbing mechanics, this game offers an accessible yet thrilling experience for players of all skill levels. The game has earned a solid 3.6/5 rating from the gaming community.

Core Features

This ninja adventure delivers exciting gameplay elements:

  • Wall-Clinging Mechanics : Master the signature ninja ability to stick to walls and surfaces
  • Challenging Obstacles : Navigate through deadly spikes and dodge laser turret attacks
  • Coin Collection System : Gather shiny gold coins scattered throughout each level
  • Cute Visual Style : Enjoy charming pixel art with a friendly, accessible aesthetic
  • Browser-Based Play : No downloads required - play instantly in any modern web browser
  • Smooth Controls : Responsive movement system perfect for precise platforming

Dynamic Ninja Movement

Experience fluid ninja parkour as you leap between platforms, cling to vertical surfaces, and perform acrobatic maneuvers. The intuitive physics system makes wall-climbing feel natural while maintaining the challenge of precise timing.

Strategic Obstacle Navigation

Each level presents unique challenges requiring both quick reflexes and strategic thinking. Time your movements carefully to avoid spike traps and predict laser turret patterns for safe passage.

Gameplay Mechanics

The core gameplay revolves around mastering ninja movement:

  • Wall Clinging : Approach any wall surface and your ninja automatically grips it
  • Parkour Movement : Jump between walls and platforms with fluid motion
  • Coin Collection : Gather all gold coins in each level for maximum score
  • Hazard Avoidance : Study enemy patterns and environmental dangers
  • Level Progression : Complete increasingly challenging stages

Controls Guide

Mouse Controls : The game uses simple mouse-based navigation for movement and actions. Click and guide your ninja through each challenging course with precision timing.

Why Play This Ninja Game

This game perfectly balances challenge with charm, offering:

  • Instant Accessibility : Jump right in with no learning curve
  • Progressive Difficulty : Each level introduces new challenges organically
  • Satisfying Mechanics : Wall-clinging feels responsive and rewarding
  • Cute Aesthetic : Family-friendly visuals appeal to all ages
  • Quick Sessions : Perfect for short gaming breaks or extended play
  • Free Entertainment : Complete gaming experience at no cost

Whether you're looking for a quick platforming challenge or want to master the art of ninja movement, The Ninja Game delivers engaging action wrapped in an adorable package.

Frequently Asked Questions (FAQ)