Duck Life

Seele01-Flash
By
Duck Life is a charming adventure game where you train a lovable duck in three disciplines to win races and earn prize money. Your mission: rebuild your tornado-damaged farm through skillful training and strategic racing.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Duck Life: Mobile Remastered**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** 3D "Toon Shaded" aesthetic. Mimic the original Flash vector art style by using bright, solid colors (high saturation) and implementing an **inverted-hull outline effect** on the 3D models to create thick black outlines around the duck and objects. * **The Duck Character:** A procedural character composed of simple geometries (sphere for head, ovoid for body). * **Dynamic Material:** The duck's body material must be modifiable (color parameter) to support the in-game shop customization. * **Animations:** Procedural bobbing (idle), rotation (rolling/running), and squashing/stretching (jumping). * **The Environment (The Farm Hub):** A central 3D scene with a green rolling hill floor, a simple barn structure (flat shaded), and designated "Zones" (portals) for the three training disciplines: Running, Flying, Swimming. * **Mobile Optimization:** Use `THREE.InstancedMesh` for background elements (trees, clouds, coins) to maintain 60FPS on mobile. Use a simple gradient Skybox (Blue to Light Blue). ### 2. Audio Requirements * **BGM:** A cheerful, looping "barnyard arcade" track. Upbeat tempo, using flute or synth-organ melodies similar to classic Flash games. * **Sound Effects (SFX):** * **Quack:** A distinct sound played on interaction or jumping. * **Jump:** A cartoonish "boing" or "whoosh". * **Coin Collect:** A high-pitched retro "ding". * **Crash/Fail:** A comedic thud or cymbal crash. * **Eating:** A crunchy munching sound for the energy feeding mechanic. ### 3. Gameplay Loop The game consists of a **Hub State** and **Three Mini-Game States**. * **Stats System:** The Duck has `Energy` (0-100), `RunLevel`, `FlyLevel`, and `SwimLevel`. Energy depletes during training/racing and is restored by feeding seeds. * **The Hub (Farm):** The player views their duck. They can click a "Shop" button to buy seeds (restore energy) or hats. They tap a Training Zone to start a mini-game. * **Mini-Game 1: Running Training:** * **Perspective:** Side-scrolling 3D. * **Mechanic:** Endless runner. Avoid rolling logs and gaps. Collecting coins increases XP. * **Mini-Game 2: Flying Training:** * **Perspective:** Side-scrolling 3D. * **Mechanic:** "Jetpack" style gravity. The duck falls automatically; input pushes it up. Avoid obstacles in the air. * **Mini-Game 3: Swimming Training:** * **Perspective:** Side-scrolling underwater view. * **Mechanic:** Lane-switching or float/dive. Avoid rocks and fish. * **Progression:** Earning XP in mini-games levels up the respective stat. Higher stats mean the duck moves faster in the final "Race" mode (automated simulation based on stats). ### 4. Mobile Controls & Interaction * **Orientation:** **Landscape Mode** (Mandatory for side-scrolling view). * **Hub Controls:** Raycasting for tap detection on the Shop, Inventory, and Training Portals. * **Mini-Game Controls:** * **Running:** **Tap anywhere** on screen to Jump. * **Flying:** **Touch & Hold** to ascend, **Release** to descend (gravity). * **Swimming:** **Swipe Up** to jump/surface, **Swipe Down** to dive. * **UI Layout:** * Large, thumb-friendly buttons (Shop, Race, Menu) placed at the bottom corners of the screen. * Top Left: Energy Bar and Coin Count. * Top Right: Current Level Stats. * **Feedback:** * **Haptic Feedback:** Trigger a short vibration (`navigator.vibrate(200)`) when the duck hits an obstacle. * **Visual Feedback:** Screen shake effect on collision. Particle explosion when collecting coins. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Duck Life

Duck Life is an engaging online adventure game that combines skill training with competitive racing in a heartwarming story of resilience and determination. After a devastating tornado destroys your farm, you must train a young duck to compete in races across three disciplines: running, flying, and swimming. Through dedicated training and strategic racing, you'll earn the prize money needed to rebuild your home.

This beloved game features colorful cartoon graphics, intuitive gameplay mechanics, and a progression system that keeps players engaged for hours. The charming yellow duck protagonist has captured the hearts of millions of players worldwide, making Duck Life one of the most popular browser-based animal games available.

Core Features

Triple Discipline Training System

Duck Life offers three distinct training disciplines, each with unique gameplay mechanics:

  • Running Training : Develop your duck's speed and endurance through obstacle-filled courses
  • Flying Training : Master aerial navigation while avoiding hazards and collecting bonuses
  • Swimming Training : Build aquatic skills through underwater challenges and diving exercises

Comprehensive Progression System

Every training session and race contributes to your duck's development:

  • Level-based advancement across all three disciplines
  • Energy management requiring strategic rest and feeding
  • Coin collection through training achievements and race victories
  • Customization options including fancy hats and color variations

Farm Rebuilding Adventure

The compelling storyline drives gameplay forward as you work toward the ultimate goal of restoring your tornado-damaged farm. Each race victory brings you closer to having enough prize money to rebuild your home.

Free Browser Gaming

Enjoy Duck Life completely free without downloads or installations. The game runs smoothly in modern web browsers and has been optimized for both desktop and mobile play.

Gameplay Mechanics

Training Your Duck

Success in Duck Life depends on balanced training across all three disciplines. Each training session costs energy but provides valuable skill points and coins. Monitor your duck's energy levels and purchase seeds from the shop to maintain peak performance.

Racing Competition

Once your duck reaches competitive levels, enter races against AI opponents. Victory rewards substantial prize money, while defeats provide valuable experience. Strategic players balance training time with racing opportunities to maximize earnings.

Resource Management

Coins serve multiple purposes in Duck Life: - Purchase energy-restoring seeds - Buy cosmetic items like hats and color changes - Invest in advanced training equipment - Save toward the ultimate farm rebuilding goal

Operation Guide

Running Controls

  • Click : Make your duck jump over obstacles
  • Timing : Perfect your jumping technique for maximum speed

Flying Controls

  • Click and Drag Up : Ascend through the air
  • Click and Drag Down : Descend to avoid obstacles
  • Smooth Movement : Maintain steady flight patterns for optimal performance

Swimming Controls

  • Up Arrow : Surface jump to grab items or avoid hazards
  • Down Arrow : Dive deeper underwater
  • Strategic Movement : Balance surface and underwater navigation

General Tips

  • Monitor your duck's energy levels before races
  • Balance training across all three disciplines
  • Collect coins during training sessions
  • Purchase seeds regularly to maintain energy
  • Experiment with different training strategies

Why Play Duck Life

Duck Life offers a perfect blend of skill development, strategic planning, and heartwarming storytelling that appeals to players of all ages. The game's progression system provides clear goals and measurable improvement, while the charming graphics and upbeat soundtrack create an enjoyable gaming atmosphere.

The three-discipline system ensures varied gameplay that never becomes repetitive. Whether you're perfecting your jumping technique in running training or mastering aerial maneuvers in flying mode, each discipline offers unique challenges and rewards.

The farm rebuilding narrative adds emotional depth to the gameplay, transforming simple training sessions into meaningful progress toward a larger goal. This storytelling element elevates Duck Life above typical skill-based games.

With its accessibility, family-friendly content, and engaging progression mechanics, Duck Life has earned its place as a classic in the adventure game genre. The game's conversion to modern web technologies ensures it remains playable across all devices and browsers.

Frequently Asked Questions (FAQ)