Roly Poly Cannon - Physics Puzzle Action Game

Seele01-Flash
By
Roly Poly Cannon is an engaging physics-based puzzle game where players use strategic cannon shots to solve challenges and defeat enemies. Combining action and puzzle elements, it offers hours of entertaining gameplay.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Roly Poly Cannon: 2.5D Physics Puzzler**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Modernize the classic Flash aesthetic into **2.5D Low-Poly**. Use an **Orthographic Camera** to simulate a 2D side-view while using 3D models for depth and lighting. * **The Cannon**: A stylized, green military cannon (cylinder and box geometries) placed on the left side of the screen. It must have an articulated barrel that rotates based on player input. * **The Projectiles**: Round black bombs with a visible fuse. Upon firing, they should emit a trail of white "puff" particles (simple sprites). * **The Targets (Roly Polys)**: * **Enemies**: Dark grey or red spheres with angry face textures. * **Civilians**: Yellow or white spheres with happy/scared face textures (must not be killed). * **Environment**: * **Foreground**: Brown textured platforms, wooden crates (destructible/movable physics objects), and stone barriers. * **Background**: A simple, dark blue gradient skybox to mimic the original screenshot, perhaps with distant silhouette mountains for depth. * **Mobile Optimization**: Use simple geometries (BoxGeometry, SphereGeometry) to keep draw calls low. Use a single directional light with soft shadows. ### 2. Audio Requirements * **BGM**: A lighthearted, marching-band style track (Snare drums, tubas) that loops. It should sound "cartoonishly serious." * **SFX**: * **Cannon Fire**: A deep, cartoonish "Thump" or "Boom." * **Fuse**: A hissing sound while the bomb is in the air. * **Explosion**: A satisfying "Ka-pow" sound for bomb detonation. * **Collision**: Wooden "clack" sounds when crates hit each other. * **Victory**: A short trumpet fanfare. ### 3. Gameplay Loop * **Core Mechanic**: The player aims and shoots bombs from the cannon to eliminate all "Enemy Roly Polys" on the screen without harming "Civilian Roly Polys." * **Physics Integration**: Use a physics engine (like Cannon.js or Ammo.js) for realistic gravity, collision, and rolling friction. Bombs should explode after a set time (3 seconds) OR upon impact with an enemy, causing a blast radius that pushes objects. * **Win Condition**: All Enemy Roly Polys fall off the screen or are destroyed by explosions. * **Lose Condition**: Any Civilian Roly Poly is destroyed/falls off the screen, OR the player runs out of ammo. * **Scoring**: Based on the number of shots used (fewer shots = higher star rating). ### 4. Mobile Controls & Interaction * **Touch & Drag Aiming (Slingshot Mechanic)**: * **Interaction**: The user touches anywhere on the screen and drags backward (opposite to the target direction) to determine power and angle. * **Visual Feedback**: Display a **dotted trajectory line** (prediction path) that updates in real-time as the user drags. The line length indicates power; the angle indicates direction. * **Firing**: Release the touch to fire the cannon. * **Screen Orientation**: **Landscape Mode** is required to see the cannon on the left and targets on the right. * **UI Layout**: * **Ammo Counter**: Large, clear icons in the top-left corner (44x44px minimum touch target). * **Reset Button**: Top-right corner for quick restart if the puzzle is failed. * **Haptic Feedback**: Trigger a short vibration (Navigator.vibrate) when the cannon fires and a heavier vibration when a bomb explodes. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Roly Poly Cannon is a captivating physics-based action puzzle game that challenges players to think strategically while enjoying explosive cannon gameplay. With a solid 3.2/5 rating from thousands of players, this game perfectly blends problem-solving with satisfying action sequences.

In this unique gaming experience, you'll master the art of cannon physics to overcome increasingly complex challenges. The game's intuitive mechanics make it accessible to players of all skill levels, while the puzzle elements provide depth that keeps you coming back for more.

Core Features

Physics-Based Gameplay

The heart of Roly Poly Cannon lies in its realistic physics engine. Every cannonball follows natural trajectories, bounces off surfaces, and interacts with the environment in predictable yet challenging ways. Master angles, power, and timing to achieve perfect shots.

Strategic Puzzle Elements

Each level presents unique obstacles and targets that require careful planning. You'll need to consider ricochet shots, environmental interactions, and creative solutions to progress through increasingly difficult stages.

Progressive Difficulty

Start with simple direct shots and gradually face complex multi-step puzzles. The game introduces new mechanics and obstacles at a comfortable pace, ensuring you're always challenged but never overwhelmed.

Browser-Based Convenience

  • Completely Free : No downloads or purchases required
  • Instant Access : Play immediately in any modern web browser
  • Cross-Platform : Works perfectly on desktop computers and mobile devices
  • No Registration : Jump straight into the action without creating accounts

Gameplay Mechanics

Roly Poly Cannon revolves around strategic cannon shooting with physics-based trajectories. Players must analyze each level's layout, identify targets, and calculate the best approach to clear objectives efficiently.

The game features destructible environments, moving platforms, and various enemy types that require different strategies to defeat. Some levels focus on precision shooting, while others emphasize creative problem-solving using environmental elements.

Operation Guide

Basic Controls

  • Mouse : Aim your cannon by moving the cursor
  • Left Click : Fire the cannon (hold for power adjustment)
  • Mouse Wheel : Zoom in/out for better targeting
  • Spacebar : Reset level if needed

Shooting Mechanics

Position your mouse to set the cannon angle, then click and hold to charge your shot power. Release to fire. Watch the trajectory indicator to predict where your cannonball will land and bounce.

Strategy Tips

  • Study each level before shooting to identify the most efficient solution
  • Use ricochet shots to reach difficult targets
  • Experiment with different power levels for various effects
  • Pay attention to destructible objects that can help or hinder your progress

Why Play This Game

Perfect Balance of Action and Strategy : Unlike pure action games or complex puzzles, Roly Poly Cannon strikes an ideal balance that keeps you engaged without overwhelming complexity.

Satisfying Physics : The realistic cannon physics create genuinely satisfying moments when you nail the perfect shot or discover an unexpected solution.

Accessible Yet Challenging : Easy to learn basics make it welcoming for newcomers, while advanced levels provide substantial challenges for experienced puzzle gamers.

Quick Gaming Sessions : Each level can be completed in minutes, making it perfect for short breaks or extended gaming sessions.

Brain Training : Develops spatial reasoning, trajectory calculation, and strategic planning skills while having fun.

Whether you're looking for a quick mental challenge or an engaging way to pass time, Roly Poly Cannon delivers entertaining gameplay that exercises your mind while providing satisfying action sequences.

Frequently Asked Questions (FAQ)