Cata-Catapult - Physics Cat Puzzle Game

Seele01-Flash
By
Cata-Catapult is a charming physics-based puzzle game where you launch an adorable cat through challenging obstacle courses. Use precise physics calculations to navigate spikes and barriers while collecting dots.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Cata-Catapult**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: 2.5D Retro Pixel Art aesthetics implemented in Three.js. Use an **Orthographic Camera** to maintain a flat, 2D platformer look while utilizing 3D meshes for depth. * **Color Palette**: Strictly adhere to the screenshot's high-contrast palette: Background (Dark Brown/Coffee `#3E2723`), Foreground/UI (Vibrant Orange `#FF9800` or `#FF5722`), and Player/Text (Pure White `#FFFFFF`). * **Models**: * **Player**: A simple white cube or flat sprite representing a "Pixel Cat". * **Targets**: Orange rings (Tori) that turn White when hit. * **Obstacles**: Static walls (blocks) and Spikes (Triangular prisms/cones at the bottom of the screen). * **Background**: A repeating diagonal stripe pattern shader or texture to match the retro style. * **Effects**: * **Trajectory Line**: A dotted line rendered using `THREE.Line` that predicts the physics path when dragging. * **Particles**: pixel-explosion effect (using small `BoxGeometry`) when the cat hits a target or dies. * **Optimization**: Use `InstancedMesh` for repeated geometry (spikes, background tiles) to ensure 60FPS on mobile devices. ### 2. Audio Requirements * **BGM**: Upbeat, looping 8-bit Chiptune track (Nintendo NES style). * **Sound Effects (SFX)**: * **Drag/Tension**: A rising pitch synth sound while aiming. * **Launch**: A retro "Whoosh" or distinct "Meow" sound. * **Target Hit**: A high-pitched coin collection "Ding". * **Death**: A low-bit "Crunch" or static noise. * **Mid-Air Pause**: A "time-stop" warping sound effect. ### 3. Gameplay Loop * **Physics Engine**: Implement simple 2D vector physics (gravity, velocity, collision) or use a lightweight library like `Cannon.js` restricted to the XY plane. * **Core Mechanic**: 1. **Slingshot Aiming**: Player touches and drags anywhere on the screen to pull back a virtual catapult. The reverse vector determines launch direction and power. 2. **Launch**: Release touch to fire the cat. 3. **Mid-Air Re-Jump (Critical Mechanic)**: If the player taps/clicks *while the cat is airborne*, the game pauses (Time Scale = 0), allowing the player to drag and aim again for a second jump in mid-air. * **Victory Condition**: The player must collide with all "Target Balls" in the level. Once hit, a target changes color from Orange to White. Level completes when all targets are White. * **Failure Condition**: Hitting a Spike or a Wall triggers a "Death" state, resetting the level instantly. ### 4. Mobile Controls & Interaction * **Touch Controls**: * **Global Drag**: Support touching anywhere on the screen to aim (not limited to the character's position) to avoid the finger covering the character. * **Release**: Fire projectile. * **Orientation**: Portrait mode (Vertical) is preferred for one-handed play, but the camera should adapt zoom level based on `window.innerWidth`. * **Visual Feedback**: * Highlight the selected trajectory with an oscillating opacity effect. * Screen shake (camera jitter) upon impact with walls or death. * **Haptics**: Trigger `navigator.vibrate(50)` on target hit and `navigator.vibrate(200)` on death. * **UI**: * A "Retry" button in the top-right corner (minimum 44x44px touch area). * Large, pixel-font title "CATA-CATAPULT" on the start screen. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Cata-Catapult is a delightful physics-based puzzle game that combines cute cat characters with challenging obstacle navigation. With a solid 3.45/5 rating from players, this free browser game offers hours of engaging puzzle-solving entertainment. Launch your feline friend from platform to platform, calculating trajectories and timing to perfection while avoiding dangerous spikes and barriers.

The game features charming pixel art graphics with an orange and brown color scheme that creates a warm, inviting atmosphere. Each level presents unique challenges that require both strategic thinking and precise execution to complete successfully.

Core Features

Physics-Based Gameplay

The game's core mechanic revolves around realistic physics simulation. Players must understand momentum, gravity, and trajectory to successfully navigate their cat through each level. This creates an engaging learning experience that's both fun and educational.

Progressive Difficulty System

Each level introduces new obstacles and challenges: - Spikes : Deadly obstacles that end your run instantly - Moving platforms : Dynamic elements that change the playing field - Complex geometry : Intricate level designs requiring precise navigation - Multiple jump mechanics : Advanced movement options for experienced players

Adorable Cat Character

The game features a cute white cat protagonist that appeals to players of all ages. The charming character design adds personality to the physics-based gameplay, making each successful launch feel rewarding.

Instant Browser Play

As an HTML5 game, Cata-Catapult requires no downloads or installations. Simply open your browser and start playing immediately on any device.

Gameplay Mechanics

The objective is straightforward yet challenging: guide your cat to hit every white dot in each level while avoiding all obstacles. Success requires:

  • Strategic planning : Analyze each level layout before making your first move
  • Precise aiming : Click and hold to plot the perfect trajectory
  • Timing mastery : Release at the exact moment for optimal launch angle
  • Advanced techniques : Use mid-air jumps for complex maneuvers

Unique Double-Jump System

What sets Cata-Catapult apart is its innovative mid-air control system. While your cat is airborne, you can click to pause and execute a second jump, allowing for: - Course corrections mid-flight - Reaching previously inaccessible areas - Creating complex multi-stage trajectories - Mastering advanced puzzle solutions

How to Play

Basic Controls

  • Click and Hold : Plot your cat's trajectory by clicking and holding
  • Release : Launch your cat along the plotted path
  • Mid-Air Click : Pause and execute a second jump while airborne
  • Aim Carefully : Precision is key to avoiding obstacles

Winning Strategy

  1. Study the Level : Examine all obstacles and target dots before moving
  2. Plan Your Route : Identify the safest path to collect all dots
  3. Use Physics : Consider gravity, momentum, and bounce mechanics
  4. Master Double Jumps : Practice mid-air corrections for complex levels
  5. Avoid Hazards : Never touch spikes, walls, or moving obstacles

Success Tips

  • Start with gentle launches to understand each level's physics
  • Use the pause feature to plan your second jump carefully
  • Remember that walls and spikes are instant game-overs
  • Each dot must be collected to complete the level
  • Practice makes perfect - don't get discouraged by failed attempts

Why Play Cata-Catapult

Perfect for All Ages

The game's cute aesthetic and easy-to-understand mechanics make it suitable for children, while the challenging physics puzzles provide depth for adult players. It's an excellent choice for family gaming sessions.

Educational Value

Players naturally learn physics concepts like: - Trajectory calculation - Momentum and gravity effects - Cause and effect relationships - Problem-solving strategies

Stress-Free Gaming

With no time limits or pressure mechanics, players can take their time to plan each move. This creates a relaxing gaming experience that's perfect for unwinding after a busy day.

Completely Free

Enjoy the full game experience without any cost. No hidden fees, no premium content locks, and no pay-to-win mechanics - just pure puzzle gaming fun.

Cross-Platform Compatibility

Play on any device with a modern web browser - desktop computers, laptops, tablets, and smartphones all support the game perfectly.

Frequently Asked Questions (FAQ)