Piggy Wiggy 3

Seele01-Flash
By
Piggy Wiggy 3 is a delightful physics-based puzzle game where you help adorable little pigs collect acorns through creative problem-solving. This brain-teasing adventure combines cute characters with challenging gameplay mechanics.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Piggy Wiggy 3". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: 2.5D "Toon/Cel-Shaded" aesthetic to mimic the original 2D cartoon art. Use bright, high-saturation colors (Hot Pink for pigs, Golden Brown for acorns, Sky Blue for background). * **Characters (The Pigs)**: Low-poly spheres or pill shapes with distinct textures for faces (large cartoon eyes, snout). Include a variation with glasses. Use simple scaling animations (squash and stretch) to simulate "jelly-like" physics. * **Level Elements**: * **Acorns**: The target objects. Gold/Brown, slightly rotating, emitting small particle sparkles. * **Anchor Points**: Floating wooden knobs or metal rings in the air that the pig can attach ropes to. * **Obstacles**: Wooden crates, stone walls, and red "danger" spikes. * **Mobile Optimization**: * Use `MeshToonMaterial` for all assets for performant stylized lighting. * Limit real-time shadows; use baked textures on static environment geometry. * Camera: Fixed Orthographic camera to ensure consistent gameplay across different mobile aspect ratios. ### 2. Audio Requirements * **BGM**: A whimsical, light-hearted track featuring pizzicato strings, tuba, and flute. Tempo should be moderate (100-110 BPM) to encourage thinking but keep the vibe fun. * **Sound Effects (SFX)**: * **Interaction**: A "zip" or "pop" sound when a rope connects/disconnects. * **Pig**: A cute "Oink" upon selection and a squeal when hitting a hazard. * **Win**: A satisfying "Crunch" and "Chime" sound when the pig eats the acorn. * **UI**: Soft "wood block" clicks for button presses. ### 3. Gameplay Loop * **Core Mechanic**: Physics-based swinging puzzle. The pig is a physics body affected by gravity. * **Action**: The player must create rope constraints (links) between the Pig and the Anchor Points to swing the pig across the level. * **Objective**: Guide the pig to collide with the **Acorn**. * **Win Condition**: When the pig touches the acorn, the acorn disappears, confetti particles trigger, and a "Level Complete" modal appears. * **Fail Condition**: If the pig falls off the screen or touches a "Spike" object, the level resets instantly. * **Physics Engine**: Utilize `Cannon.js` or `Ammo.js` (via Three.js integration) to handle rope tension, gravity, and collision detection. ### 4. Mobile Controls & Interaction * **Touch Inputs**: * **Connect Rope**: Tap (Touch Start) on an Anchor Point while the Pig is selected (or drag from Pig to Anchor) to create a rope constraint. * **Cut Rope**: Swipe across a rope or Tap an existing connection to sever the link, causing the pig to fall or fly based on momentum. * **Visual Feedback**: * Draw a dashed line indicating the potential rope path before connecting. * When a rope is active, it should visually look like a taut string or elastic band. * **UI Layout**: * **Restart Button**: Top-right corner (min 44x44px touch target). * **Level Select**: Simple grid at the start. * **Haptics**: Trigger a short vibration (`navigator.vibrate(50)`) when the pig eats the acorn or hits a hazard. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Piggy Wiggy 3 is an engaging physics puzzle game that challenges players to help cute little piggies reach their favorite treat - acorns! This charming game combines adorable pig characters with brain-busting puzzle mechanics, creating an entertaining experience suitable for players of all ages. With its simple concept but increasingly complex challenges, Piggy Wiggy 3 offers hours of thoughtful gameplay.

Core Features

Adorable Character Design

The game features irresistibly cute pig characters with expressive animations and charming personalities. Each piggy has its own unique appearance and behavior, making every level feel fresh and engaging.

Physics-Based Puzzle Mechanics

Piggy Wiggy 3 utilizes realistic physics simulation to create challenging puzzles. Players must understand gravity, momentum, and object interactions to successfully guide the pigs to their acorns. The physics engine adds depth and realism to each puzzle solution.

Progressive Difficulty System

Starting with simple introductory levels, the game gradually introduces new mechanics and obstacles. This thoughtful progression ensures that players of all skill levels can enjoy the game while being appropriately challenged.

Creative Problem-Solving Gameplay

Each level presents a unique scenario requiring creative thinking and experimentation. There's often more than one solution to each puzzle, encouraging players to think outside the box and explore different approaches.

Game Mechanics

Rope and Hook System

The core gameplay revolves around strategically placing ropes and hooks to create paths for the pigs. Players must carefully consider angles, distances, and physics to create successful routes to the acorns.

Environmental Obstacles

Levels feature various obstacles including platforms, barriers, and moving elements that add complexity to each puzzle. Learning to work with or around these obstacles is key to mastering the game.

Multiple Pigs Management

Some levels feature multiple pigs that must all reach their respective acorns. This adds a layer of complexity as players must coordinate movements and ensure all characters reach their goals.

Operation Guide

Basic Controls

  • Mouse : Primary control method for placing and adjusting ropes
  • Click and Drag : Create rope connections between anchor points
  • Keyboard : Alternative control options for menu navigation
  • In-game Tutorial : Comprehensive instructions provided within the game

Gameplay Strategy

  • Study each level carefully before making your first move
  • Experiment with different rope angles and lengths
  • Consider the physics of swinging and momentum
  • Use trial and error to discover optimal solutions
  • Think creatively about unconventional approaches

Why Play Piggy Wiggy 3

Perfect for All Ages

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

Brain Training Benefits

Piggy Wiggy 3 exercises problem-solving skills, spatial reasoning, and logical thinking. Regular play can help improve cognitive abilities while having fun.

Stress-Free Gaming

With no time pressure or penalty for failure, players can experiment freely and learn at their own pace. The relaxing gameplay makes it perfect for unwinding after a busy day.

Free Browser-Based Fun

Enjoy the complete game experience without downloads or installations. Simply open your browser and start playing immediately on any device with internet access.

Frequently Asked Questions (FAQ)