Save My Pets

Seele01-Flash
By
Save My Pets is an addictive casual puzzle game where you draw protective walls to shield adorable pets from attacking bees. Simple drawing mechanics combined with strategic thinking create an engaging gameplay experience.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Save My Pets". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: 2.5D Aesthetic using an **Orthographic Camera** to mimic the flat, 2D vector art style of the screenshot. Use bright, high-saturation colors. * **Background**: A tiling "Graph Paper" texture (white grid on light blue/white background) to emphasize the "drawing" puzzle aspect. * **Character Models (Sprites/Planes)**: * **The Pet**: A round, cute Dog (Shiba Inu style) texture mapped onto a CircleGeometry or Sprites. Needs two texture states: "Normal/Worried" and "Crying/Swollen" (for Game Over). * **The Enemy**: Bees represented as yellow/black striped spheres or sprites with small fluttering wings. * **The Hive**: A static hexagonal orange object hanging in the air. * **Environment**: * **Ground**: Tile-based dirt/grass blocks (static physics bodies). * **Hazard**: Water or spikes at the bottom of the screen (triggering immediate loss). * **The Line (Ink)**: A dynamically generated black tube or thick line (using `THREE.TubeGeometry` or `MeshLine`) that looks like black marker ink. It must look smooth, not jagged. * **Mobile Optimization**: Use simple geometries (Spheres, Planes) to keep draw calls low. Use a single texture atlas if possible. ### 2. Audio Requirements * **BGM**: A playful, goofy, and repetitive "pizzicato string" or "woodwind" track that sounds casual and comedic. * **Sound Effects (SFX)**: * **Drawing**: A scratching/scribbling pencil sound looped while the user drags their finger. * **Bees**: A high-pitched "Buzzing" swarm sound during the attack phase. * **Dog**: A "Whimper" or "Yelp" sound if hit; a "Happy Bark" if the timer runs out successfully. * **UI**: A high-pitched "Pop" or "Ding" when the level is cleared. ### 3. Gameplay Loop * **Phase 1: Drawing (Planning)** * The game starts frozen. The bees are in the hive. * The player draws a line on the screen. The line consumes an "Ink Meter" (optional constraint). * **Crucial Physics**: The drawn line must become a **Dynamic Rigid Body** (using a physics engine like Cannon.js or simple Verlet integration). This means if the player draws a line in mid-air without anchoring it to the ground/hooks, the line will fall due to gravity. * **Phase 2: Simulation (Action)** * Triggered immediately upon `touchend` (releasing the finger). * Bees spawn rapidly from the hive and apply force/velocity towards the Dog's center. * The Bees physically collide with the drawn line (pushing it) and the Dog (pushing it). * A countdown timer (e.g., 10 seconds) starts. * **Phase 3: Resolution** * **Win**: Timer reaches 0, and the Dog has not collided with a Bee or Hazard (Water/Spikes). Show confetti particles. * **Lose**: A Bee collider touches the Dog collider, OR the Dog falls off the platform into the hazard. Change Dog texture to "Swollen face". ### 4. Mobile Controls & Interaction * **Input System**: * Support both Mouse (Web) and Touch (Mobile) seamlessly. * `touchstart` / `mousedown`: Start a new path array. * `touchmove` / `mousemove`: Raycast from camera to the Z=0 plane. Add points to the line geometry. Update the visual mesh in real-time. * `touchend` / `mouseup`: Finalize the mesh, generate the physics body for the line, and wake up the physics simulation (release the bees). * **Screen Adaptation**: * Force **Portrait Mode** layout. * Camera zoom should automatically adjust to fit the Dog, Hive, and Ground within the visible area. * **UI & Feedback**: * **Instruction**: A chaotic "hand animation" overlay hinting at a solution for the first level. * **Timer**: A large, centered countdown clock at the top of the screen. * **Restart Button**: A large (min 44x44px target) reload icon in the top right corner for quick retries. * **Haptic Feedback**: Trigger a short vibration (`navigator.vibrate(200)`) if the dog gets stung. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Save My Pets is a charming casual puzzle game that combines drawing mechanics with strategic thinking. Players must protect cute animals including dogs, cats, and other pets from swarms of angry bees by drawing defensive walls. The game features adorable 2D graphics, simple controls, and increasingly challenging levels that test your creativity and logic skills.

This browser-based puzzle game offers endless entertainment with its unique drawing-to-protect gameplay mechanic. Each level presents new challenges as bees attack from different angles, requiring players to think strategically about wall placement and protection strategies.

Core Features

Creative Drawing Mechanics

The game's core innovation lies in its freehand drawing system. Players can draw continuous lines to create protective barriers of any shape or size. This creative freedom allows for multiple solution approaches to each puzzle, encouraging experimentation and artistic problem-solving.

Adorable Pet Characters

Features a variety of cute animal characters including: - Dogs with expressive faces and animations - Cats in various colors and breeds
- Mice and other small pets requiring protection - Each pet has unique reactions to danger and safety

Progressive Difficulty System

Levels gradually increase in complexity with: - More aggressive bee swarms - Multiple attack angles - Limited drawing materials - Time-based challenges - Special bee types with different behaviors

Brain Training Benefits

This logic-based game helps develop: - Spatial reasoning skills - Creative problem-solving abilities - Strategic thinking patterns - Hand-eye coordination through drawing

Game Mechanics

Drawing System

The intuitive drawing mechanism allows players to: - Create walls of any length and shape - Draw continuously without lifting the mouse - Modify and adjust walls before bee attacks begin - Use minimal lines for maximum protection efficiency

Bee Attack Patterns

Bees follow realistic flight patterns: - They emerge from honeycomb hives - Follow direct paths toward pets - Can be blocked by properly placed walls - Attack in waves with increasing intensity - Some levels feature multiple bee types

Operation Guide

Basic Controls

  • Mouse Drawing : Hold and drag the left mouse button to draw protective lines
  • Continuous Drawing : Keep the button pressed to draw uninterrupted walls
  • Release to Confirm : Let go when satisfied with your protective barrier
  • Wait Phase : Observe as bees attack your defenses
  • Success Condition : Keep pets safe for the required duration

Strategy Tips

  • Analyze Attack Patterns : Study bee flight paths before drawing
  • Minimize Line Usage : Efficient walls score higher points
  • Cover All Angles : Ensure complete protection from all directions
  • Use Environment : Incorporate existing terrain features
  • Plan Ahead : Consider multiple wave attacks in advanced levels

Why Play Save My Pets

Perfect for All Ages

The game's simple mechanics and cute characters make it suitable for players of all ages. Children develop creativity and problem-solving skills, while adults enjoy the strategic challenges and stress-relief aspects.

No Download Required

Play instantly in any modern web browser without downloads or installations. The game runs smoothly on computers, tablets, and smartphones, making it accessible anywhere with internet connection.

Completely Free

Enjoy all game features without payment requirements. No hidden costs, premium upgrades, or pay-to-win mechanics - just pure puzzle entertainment.

Educational Value

Beyond entertainment, the game teaches valuable skills: - Logical thinking development - Creative problem-solving approaches - Spatial awareness improvement - Planning and strategy formation

Stress Relief Gaming

The cute graphics, gentle gameplay, and satisfying protection mechanics make this an ideal stress-relief activity. Successfully saving pets provides a sense of accomplishment and joy.

Related Games

If you enjoy Save My Pets, consider trying other drawing-based puzzle games, animal protection games, or casual brain training titles available on gaming platforms.

Frequently Asked Questions (FAQ)