Ninja Action 2

Seele01-Flash
By
Ninja Action 2 is an exciting HTML5 ninja adventure game featuring stealth combat, challenging platforming, and fast-paced action. Master the art of the ninja as you navigate through enemy-filled levels.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Ninja Action 2 - Gravity Runner**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Create a "2.5D" endless runner using a flat, vector-art aesthetic similar to the provided screenshot but utilizing Three.js primitives. Use a vibrant color palette: bright cyan for the sky, flat black/dark grey for the ninjas, and contrasting colors (dark purple/brown) for the platforms. * **Main Character:** A simple, low-poly Ninja character composed of spheres and cylinders. The ninja should be black with a distinct red headband (torus or cylinder) and white eyes. * **Environment:** * **Dual Platforms:** Generate two parallel running surfaces: a "floor" and a "ceiling". * **Background:** A scrolling background featuring stylized, flat geometric mountains and clouds (cyan and teal tones) to create a sense of speed. * **Obstacles:** Simple geometric spikes or blocks placed randomly on both the floor and the ceiling. * **Mobile Optimization:** Use simple geometries (BoxGeometry, SphereGeometry) rather than complex imported models to ensure high FPS on mobile browsers. Use basic materials (MeshLambertMaterial) to minimize lighting calculations. ### 2. Audio Requirements * **BGM (Background Music):** A fast-paced, energetic track combining traditional Japanese instruments (like a Shamisen or Koto) with a modern electronic/drum-and-bass beat to emphasize speed and action. * **Sound Effects (SFX):** * **Gravity Switch:** A distinct "whoosh" or "swish" sound whenever the ninja flips gravity. * **Running:** Rapid, light footstep sounds (tapping) that sync with the running animation. * **Coin/Score:** A sharp, high-pitched "ding" or "chime" for collecting items or passing checkpoints. * **Crash/Game Over:** A "thud" followed by a retro-style failure jingle. ### 3. Gameplay Loop * **Core Mechanic:** The game is an endless runner where the ninja runs automatically from left to right. The player controls *gravity*, not jumping. * **Action:** When the screen is tapped, the ninja instantly flips gravity, moving from running on the floor to running upside-down on the ceiling (and vice versa) to avoid obstacles. * **Objective:** Survive as long as possible by dodging obstacles on both the top and bottom paths. * **Scoring:** Score increases based on distance traveled. Bonus points for collecting floating "Shuriken" coins placed in the middle of the path. * **Failure State:** Hitting an obstacle or a wall results in an instant Game Over, displaying the final score and a "Restart" button. ### 4. Mobile Controls & Interaction * **Input:** Single-tap control. The entire screen is the active touch area. * **Tap/Click anywhere:** Toggle gravity immediately (flip character Y-position and rotate 180 degrees). * **Orientation:** Portrait mode (Vertical) preferred for one-handed play, but the camera should adjust FOV if the user is in Landscape. * **UI Layout:** * **Score:** Large, readable font at the top center. * **Start/Restart:** A large, thumb-friendly button (min 60x60px) centered on the screen overlay. * **Feedback:** * **Visual:** A subtle "dust" particle effect trail behind the ninja when running. * **Haptic:** Trigger a short vibration (using `navigator.vibrate(20)`) when the gravity switch occurs and a longer vibration on Game Over. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Ninja Action 2 is an thrilling HTML5 action-adventure game that puts you in the role of a skilled ninja warrior. This browser-based game combines classic platforming elements with stealth combat mechanics, creating an engaging experience that tests both your reflexes and strategic thinking.

Featuring vibrant cartoon-style graphics and smooth gameplay, Ninja Action 2 delivers an authentic ninja experience right in your web browser. The game's intuitive controls and progressively challenging levels make it perfect for both casual players and action game enthusiasts.

Core Features

Authentic Ninja Combat System

Master the ancient art of ninjutsu with fluid combat mechanics. Execute precise attacks, perform stealth takedowns, and use ninja weapons to defeat enemies. The game emphasizes timing and strategy over button mashing.

Challenging Level Design

Navigate through carefully crafted levels filled with obstacles, enemies, and hidden secrets. Each stage presents unique challenges that require different ninja skills to overcome.

HTML5 Technology

  • No Downloads Required : Play instantly in any modern web browser
  • Cross-Platform Compatible : Works seamlessly on desktop, tablet, and mobile devices
  • Smooth Performance : Optimized HTML5 engine ensures fluid gameplay
  • Quick Loading : Fast load times get you into the action immediately

Skill-Based Gameplay

Develop your ninja abilities through practice and progression. The game rewards skillful play with higher scores and access to advanced techniques.

Game Mechanics

Stealth Elements

Use shadows and cover to avoid detection. Plan your approach carefully and strike when enemies least expect it. Stealth gameplay adds tactical depth beyond simple combat.

Platforming Challenges

Jump, climb, and wall-run through complex environments. Master the movement system to access secret areas and find the most efficient paths through levels.

Operation Guide

Basic Controls

  • Arrow Keys or WASD : Move your ninja character left, right, jump, and crouch
  • Spacebar : Perform attacks and interact with objects
  • Mouse : Navigate menus and select options
  • Shift Key : Activate stealth mode or special abilities

Combat Tips

  • Time your attacks carefully for maximum effectiveness
  • Use the environment to your advantage
  • Learn enemy patterns to predict their movements
  • Combine stealth and combat for optimal results

Movement Mastery

  • Practice wall-jumping techniques to reach higher platforms
  • Use momentum to clear long gaps
  • Master the timing of jumps and landings

Why Play This Game

Perfect for Action Fans

If you enjoy fast-paced action games with strategic elements, Ninja Action 2 offers the perfect blend of excitement and challenge. The ninja theme adds an extra layer of cool factor to the gameplay.

Skill Development

This game helps improve hand-eye coordination, reaction time, and strategic thinking. Each level presents new challenges that encourage players to adapt and improve their skills.

Accessible Yet Challenging

While easy to learn, Ninja Action 2 offers enough depth to keep experienced gamers engaged. The difficulty curve is well-balanced, providing steady progression without frustrating difficulty spikes.

Free Entertainment

Enjoy hours of ninja action without spending a penny. The complete game experience is available for free, making it an excellent choice for budget-conscious gamers.

Instant Play

No registration, downloads, or installations required. Simply open your browser, load the game, and start your ninja adventure immediately.

Frequently Asked Questions (FAQ)