Coco Monkey - Physics Puzzle Platformer

Seele01-Flash
By
Coco Monkey is a charming physics-based puzzle platformer where you help a lovable monkey navigate challenging obstacles using coconuts as tools. Combine creativity with physics in this free browser game.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Coco Monkey". 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 an Orthographic Camera to maintain the flat, retro aesthetic of the original screenshot while utilizing 3D geometry. Implement a "Toon Shader" or Flat Shading material strategy to mimic vector art. * **Color Palette**: High saturation. Sky background should be a gradient of Cyan/Teal (#00CED1). Ground should be split into two layers: a vibrant Lime Green (#32CD32) grass top layer and a dark Chocolate Brown (#8B4513) soil layer. * **Key Models**: * **Player**: A low-poly monkey constructed primarily from sphere and cylinder primitives (brown fur, beige face). * **Coconuts**: Brown spheres with a slightly rough texture. Essential for physics interactions. * **Hazards**: Spikes (Cones) placed in pits. * **Environment**: Simple background hills (layered planes) with parallax scrolling effect. * **Mobile Optimization**: Use simple geometry (Primitives) rather than complex imported meshes to ensure 60 FPS on mobile browsers. Limit dynamic lights to one directional light (sun) and use baked ambient occlusion if possible. ### 2. Audio Requirements * **BGM**: Upbeat, tropical island-themed loop featuring marimbas, steel drums, and bongos to match the playful cartoon tone. * **Sound Effects (SFX)**: * **Jump**: A cartoonish "Boing" or rising whistle. * **Throw**: A "Whoosh" air-cutting sound. * **Coconut Impact**: A hollow wooden "Thock" sound when hitting the ground or spikes. * **Death**: A comical "Squeak" or descending tone when hitting spikes. * **Win**: A short triumph jingle/fanfare. ### 3. Gameplay Loop * **Objective**: Navigate the monkey from the left side of the level to a "Goal" zone (e.g., a bunch of bananas) on the far right. * **Core Mechanic**: The player has a limited inventory of coconuts. The terrain contains impassable hazards (wide spike pits, high walls). * **Physics Puzzle**: * **Bridge Building**: The player must throw coconuts into spike pits. The coconuts must physically pile up, covering the spikes to create a safe walking surface. * **Balancing**: The player may need to stand on a coconut and roll it to cross gaps (referencing the "Balance" tag). * **Win/Loss**: * **Win**: Touching the goal object triggers a particle confetti explosion and a "Level Complete" UI. * **Loss**: Colliding with a spike (Cone) resets the player to the start position instantly. ### 4. Mobile Controls & Interaction * **Orientation**: **Landscape Mode** (Force landscape if possible via CSS warning). * **Control Scheme**: * **Left Screen (Movement)**: A floating Virtual Joystick (Dynamic center) for moving Left/Right. * **Right Bottom (Jump)**: A distinct circular button (icon: Up Arrow) for jumping. * **Right Upper/Center (Throwing)**: Implement a "Slingshot/Angry Birds" style aiming mechanic. touching and dragging on the right side of the screen pulls back an aim vector. Releasing the touch throws the coconut. * **Visual Feedback**: Draw a dotted trajectory line when the player is dragging to aim the coconut, showing where it will land. * **Haptics**: Trigger `navigator.vibrate(50)` when the monkey lands on the ground or throws a coconut. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Coco Monkey

Coco Monkey is an innovative physics-based puzzle platformer that combines the charm of retro gaming with modern HTML5 technology. This delightful side-scrolling adventure puts you in control of an adorable monkey who must overcome various obstacles using nothing but coconuts and clever thinking. With its unique blend of platforming action and puzzle-solving mechanics, Coco Monkey offers hours of engaging gameplay that will challenge your creativity and problem-solving skills.

Core Features

Physics-Based Gameplay

The heart of Coco Monkey lies in its realistic physics system. Every coconut you throw follows natural physics laws, creating countless possibilities for creative solutions. You'll need to master trajectory, momentum, and timing to succeed.

Creative Problem Solving

Each level presents unique challenges that can be solved in multiple ways. Use coconuts as stepping stones, projectiles, or counterweights to overcome obstacles like spikey pits, towering cliffs, and complex mechanical puzzles.

Retro-Styled Graphics

Enjoy beautifully crafted pixel art that captures the nostalgic feel of classic platformers while maintaining crisp, modern visual quality. The charming monkey character and vibrant environments create an instantly appealing aesthetic.

Progressive Difficulty

Start with simple challenges and gradually face more complex puzzles that will test your understanding of physics and creative thinking. Each level builds upon previous concepts while introducing new mechanics.

Browser-Based Gaming

Play instantly in your web browser without any downloads or installations. The HTML5 technology ensures smooth performance across different devices and platforms.

Game Mechanics

Coconut Manipulation System

Your coconuts serve multiple purposes in this versatile puzzle system: - Throwing : Launch coconuts to hit switches or break barriers - Stacking : Build platforms and bridges to reach higher areas - Weight Distribution : Use coconuts to balance scales and activate mechanisms - Momentum Transfer : Create chain reactions and complex interactions

Environmental Challenges

Navigate through diverse obstacles including: - Deadly spike traps that require careful timing - High cliffs that need creative climbing solutions - Moving platforms and mechanical contraptions - Physics-based puzzles requiring precise coconut placement

Controls Guide

Master these simple yet versatile controls: - W, A, S, D Keys : Move your monkey character in all directions and jump - Mouse Movement : Aim your coconut throws with precision - Left Mouse Button : Launch coconuts at your target

The intuitive control scheme makes it easy to learn but offers depth for advanced techniques and speedrun strategies.

Why Play Coco Monkey

Unique Gaming Experience

Few games successfully combine platforming, puzzle-solving, and physics simulation as seamlessly as Coco Monkey. The coconut-based mechanics create a truly original gameplay experience that stands out in the crowded puzzle genre.

Mental Stimulation

Every level is a brain teaser that encourages creative thinking and problem-solving. Players develop spatial reasoning skills while having fun, making it both entertaining and educational.

Accessible Yet Challenging

While easy to pick up and play, Coco Monkey offers significant depth for players who want to master its mechanics. The learning curve is perfectly balanced for both casual and dedicated gamers.

Free Entertainment

Enjoy premium gaming quality without any cost. No hidden fees, no pay-to-win mechanics – just pure, skill-based puzzle platforming fun.

Perfect for All Ages

With its cute monkey protagonist and family-friendly content, Coco Monkey appeals to players of all ages while offering enough complexity to engage adult puzzle enthusiasts.

Technical Excellence

Built with modern HTML5 technology, Coco Monkey delivers smooth 60fps gameplay directly in your browser. The game's physics engine provides realistic coconut behavior while maintaining optimal performance across various devices and browsers.

Frequently Asked Questions (FAQ)