Crazy Ninja - Free Online Shooting Game

Seele01-Flash
By
Crazy Ninja is a free online physics-based shooting game where you control a skilled ninja armed with throwing stars and shuriken. Navigate through challenging obstacles to pop balloons and defeat ghostly enemies.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Crazy Ninja**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: 2.5D Side-Scrolling Puzzle Shooter. Use a "Cartoon Physics" aesthetic similar to *Angry Birds* but with a Ninja theme. Low-poly 3D models with vibrant, flat colors. * **Camera**: Orthographic camera fixed in a side view (looking at the X-Y plane) to ensure precise aiming mechanics on mobile screens. * **Core Assets**: * **The Ninja**: A stylized, low-poly character positioned on the left side of the screen. (Can be represented by a simple composition of geometric shapes: Sphere head, Cylinder body, Red headband). * **Ammo (Shurikens)**: Metallic, sharp-edged star shapes (CylinderGeometry with 4 sides or a custom shape) that rotate rapidly when thrown. * **Targets**: * **Balloons**: Brightly colored spheres (Red, Blue, Green) that float slightly (sine wave animation). * **Crazy Ghosts**: Black floating spherical meshes with white eyes, slightly translucent. * **Obstacles**: * **Spinning Platforms**: Rectangular blocks that rotate on their Z-axis. * **Sliding Gates**: Vertical barriers that move up and down. * **Background**: A stylized Japanese Dojo wall or a Bamboo forest with a parallax effect if possible, or a simple gradient blue background (referencing the logo color) to keep high contrast for gameplay elements. * **Performance**: Use instanced mesh for shurikens if many are thrown. Keep shadow maps low-resolution or use baked lighting to maintain 60 FPS on mobile devices. ### 2. Audio Requirements * **BGM**: An upbeat, comedic, fast-paced "Oriental/Ninja" track (Think: Shamisen mixed with a hip-hop beat). * **Sound Effects (SFX)**: * **Throwing**: A sharp *Swish* or *Whoosh* air-cutting sound. * **Impact (Wood/Stone)**: A dull *Clunk* or metallic *Clang*. * **Impact (Balloon)**: A satisfying high-pitched *Pop*. * **Impact (Ghost)**: A comical *Poof* or spooky "Eek!" sound. * **Win**: A Gong sound followed by a short cheerful jingle. ### 3. Gameplay Loop * **Core Mechanic**: The player aims and flicks shurikens to destroy all targets on the screen. * **Physics Simulation**: Implement 2D physics (using Matter.js or a simple custom Verlet integration) within the 3D Three.js scene. Shurikens should have gravity and bounce off walls/obstacles but destroy targets on contact. * **Obstacle Logic**: The player must time their shots to pass through moving gaps (spinning platforms or sliding gates) without hitting the obstacle itself. * **Winning Condition**: All Balloons and Ghosts in the level are destroyed. * **Losing Condition**: The player runs out of Shurikens (Ammo count: 5 per level) before clearing all targets. ### 4. Mobile Controls & Interaction * **Control Scheme**: "Slingshot" or "Drag-to-Shoot" mechanic. * **Touch Start**: Touch anywhere on the screen (or specifically on the Ninja) to start aiming. * **Touch Drag**: Pull back (opposite to target direction) to determine power and angle. Display a **dotted trajectory line** to visualize the predicted path of the shuriken. * **Touch End**: Release finger to fire the shuriken. * **Screen Orientation**: Landscape mode preferred, but responsive design should scale the camera zoom to fit the level width if in Portrait. * **UI/UX**: * **Ammo Counter**: Large, clear number or icon row in the top-left corner. * **Restart Button**: A large (min 48x48px) refresh icon in the top-right for quick retries. * **Haptic Feedback**: Trigger a light vibration (using `navigator.vibrate`) when a target is popped and a heavier vibration when hitting an obstacle. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Crazy Ninja is an exciting free online shooting game that combines ninja skills with physics-based puzzle challenges. With an impressive 4.4/5 rating, this HTML5 game puts you in control of a determined ninja on a mission to pop balloons and eliminate spooky ghost faces using precision throwing techniques.

This browser-based ninja adventure offers instant gameplay without any downloads required. Perfect for players of all ages, Crazy Ninja delivers addictive shooting mechanics wrapped in a colorful, engaging package that will keep you coming back for more challenging levels.

Core Features

Physics-Based Shooting Mechanics

Experience realistic physics as you calculate angles and trajectories for your throwing stars and shuriken. Each throw requires skill and precision, making every successful hit satisfying and rewarding.

Progressive Challenge System

Navigate through increasingly difficult levels featuring spinning platforms, sliding gates, and moving obstacles. The game tests your timing, accuracy, and strategic thinking as you progress through each stage.

Multiple Target Types

  • Colorful Balloons : Pop various balloons scattered throughout each level
  • Ghost Faces : Eliminate scary black ghost enemies for bonus points
  • Obstacle Navigation : Avoid hitting platforms and gates that block your path

Cross-Platform Compatibility

Built with HTML5 technology, Crazy Ninja runs smoothly on: - Desktop computers and laptops - Mobile phones and tablets - All modern web browsers - No installation or app download required

Gameplay Mechanics

The core gameplay revolves around precision shooting and obstacle avoidance. You must carefully aim your ninja weapons while accounting for moving platforms and barriers that can block your shots. Success depends on timing your throws perfectly and understanding the physics of each projectile.

Strategic Elements

Each level presents unique challenges requiring different approaches: - Study moving obstacle patterns before making your throw - Plan trajectory paths that avoid spinning platforms - Time your shots to pass through gaps in sliding gates - Maximize points by targeting multiple balloons with single throws

Operation Guide

Desktop Controls

  • Mouse : Point and click to aim and throw shuriken
  • Click and Drag : Adjust throwing power and angle
  • Release : Launch your throwing star toward the target

Mobile Controls

  • Touch and Slide : Use your finger to aim and set throwing direction
  • Tap : Quick taps for precise, short-distance throws
  • Swipe : Longer swipes for powerful, long-range attacks

The intuitive control scheme makes it easy for players of any skill level to jump in and start playing immediately.

Why Play Crazy Ninja

Perfect Casual Gaming Experience

Crazy Ninja strikes the ideal balance between challenging gameplay and accessible fun. Each level can be completed in minutes, making it perfect for quick gaming sessions during breaks or longer play periods when you want to master all the challenges.

Skill Development

The game helps improve: - Hand-eye coordination through precise aiming mechanics - Problem-solving skills via obstacle navigation puzzles - Timing and patience through moving platform challenges - Strategic thinking when planning multi-target shots

Free Entertainment Value

With completely free access and no hidden costs, Crazy Ninja provides hours of entertainment without any financial commitment. The game's replay value comes from perfecting your scores and mastering increasingly difficult levels.

Instant Access Gaming

No downloads, installations, or account registrations required. Simply open your browser, navigate to the game, and start playing immediately. This makes it perfect for gaming on shared computers, at work during breaks, or on devices where you can't install apps.

Frequently Asked Questions (FAQ)