Duck Life - Train Your Duck Champion

Seele01-Flash
By
Duck Life is an engaging animal training simulation where you raise a duckling from egg to athletic champion. Train your duck through fun minigames, compete in races, and rebuild your tornado-destroyed farm.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Duck Life - Training Runner". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** 2.5D Side-Scroller aesthetic using Low-poly 3D models with a "Toon Shader" (Cell Shading) to mimic the original game's flat, bright cartoon vector art style. * **Camera:** Use an Orthographic Camera positioned for a side profile view (fixed X/Y axis), giving a flat appearance but with 3D depth. * **Characters:** * **Player:** A cute, yellow low-poly duckling (sphere-based body, small orange beak, large eyes). * **Obstacles:** Rolling brown boulders (spheres with rough textures) and wooden logs (cylinders). * **Collectibles:** Floating gold coins (cylinders rotating on the Y-axis). * **Environment:** * **Foreground:** A scrolling textured green plane for the ground. * **Background:** Multiple layers of scrolling hills (Parallax effect) in varying shades of green, set against a bright cyan skybox. * **Mobile Optimization:** Use `THREE.InstancedMesh` for repeating objects like grass tufts or coins to reduce draw calls. Limit shadow casting to the main character only. ### 2. Audio Requirements * **BGM:** A lighthearted, upbeat, looping "Farm/Country" style track (whimsical flute or acoustic guitar melody) that evokes a sense of training and progress. * **Sound Effects (SFX):** * **Jump:** A cute, high-pitched "Quack" sound. * **Coin Collect:** A satisfying high-frequency "Ding" or "Chime". * **Collision:** A cartoonish "Thud" or "Bonk" sound accompanied by a dizzy bird tweet. * **Running:** Soft rhythmic footsteps on grass. ### 3. Gameplay Loop * **Core Mechanic (Running Mode):** The duck runs automatically from left to right. The speed gradually increases over time (difficulty curve). * **Obstacles:** Rocks roll towards the player from the right side of the screen; logs remain stationary on the ground. * **Scoring:** * +10 points for every second survived. * +50 points for every coin collected. * **Win/Loss:** * **Loss:** Direct collision with an obstacle stops the run immediately. Show a "Training Failed" modal with the final score. * **Win:** Infinite runner style (high score based), no definitive "win" state, but display "Level Up!" text floating text every 1000 points. ### 4. Mobile Controls & Interaction * **Screen Orientation:** **Landscape** (Force landscape mode layout via CSS). * **Touch Controls:** * **Tap Anywhere:** Trigger "Jump". * **Long Press:** Trigger "Glide/Flutter" (slow descent) to extend airtime. * **UI Layout:** * **HUD:** Large text Score display in the top-left corner. * **Buttons:** A large, thumb-friendly "Restart" button (min-width 60px) centered on the Game Over screen. * **Feedback:** * **Haptic:** Trigger `navigator.vibrate(50)` on collision. * **Visual:** A small particle explosion (feathers or stars) upon collecting a coin or hitting an obstacle. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Duck Life is the beloved first installment in the popular Duck Life series, combining pet simulation with athletic training gameplay. After a devastating tornado destroys your farm, you're left with only a single duck egg. Your mission is to hatch and train this duckling to become a world-class athlete, earning prize money through competitions to rebuild your destroyed farm.

This charming game perfectly blends casual gaming with strategic planning, as you must balance training, nutrition, and competition to achieve success. With its simple yet addictive gameplay mechanics, Duck Life appeals to players of all ages who enjoy nurturing and progression-based games.

Core Features

Comprehensive Training System

The game offers three distinct training disciplines that develop your duck's athletic abilities:

  • Running Training : Improve speed and endurance through obstacle courses
  • Swimming Training : Build aquatic skills for water-based competitions
  • Flying Training : Develop aerial agility and navigation abilities

Each training session not only improves specific stats but also rewards you with coins, creating a satisfying gameplay loop where effort directly translates to progress.

Strategic Nutrition Management

Proper nourishment is crucial for peak performance. The game features a feeding system where:

  • Blue Seeds : Premium nutrition approved by the duck Olympic committee, providing maximum energy boosts
  • Regular Grains : Standard food for general feeding and maintenance
  • Energy Management : Strategic feeding before races maximizes your duck's competitive potential

Competitive Racing Circuit

Once your duck reaches sufficient skill levels, you can enter various competitions to earn substantial prize money. Races provide the primary income source for farm reconstruction and offer a satisfying payoff for your training investments.

Customization Options

Personalize your duck with various aesthetic upgrades and cosmetic items available in the shop, allowing you to create a unique champion that reflects your style.

Gameplay Instructions

Training Controls

  • Running Mode : Use the up arrow key to jump over obstacles and navigate courses
  • Flying Mode : Use left and right arrow keys to control altitude and direction
  • Swimming Mode : Up arrow to surface/jump, down arrow to dive deeper, left/right arrows for horizontal movement

Game Strategy

  1. Start with Balanced Training : Develop all three skills evenly for maximum race eligibility
  2. Collect Coins : Gather coins during training sessions to fund food purchases
  3. Feed Strategically : Use high-quality seeds before important races
  4. Progress Gradually : Enter easier races first to build funds for better nutrition
  5. Reinvest Winnings : Use prize money for better food and cosmetic upgrades

Why Play Duck Life

Duck Life offers a perfect blend of casual entertainment and engaging progression mechanics. The game provides:

  • Immediate Accessibility : No downloads required - play instantly in your browser
  • Cross-Platform Compatibility : Works seamlessly on desktop and mobile devices
  • Family-Friendly Content : Suitable for all ages with wholesome, non-violent gameplay
  • Satisfying Progression : Watch your duck grow from helpless duckling to athletic champion
  • Strategic Depth : Balance training, nutrition, and competition timing for optimal results
  • Replayability : Multiple approaches to training and different racing strategies keep the game fresh

Whether you're looking for a quick gaming session or a longer-term virtual pet project, Duck Life delivers an entertaining and rewarding experience that has captivated players worldwide.

Frequently Asked Questions (FAQ)