Duck Life - Train Your Duck Racing Champion

Seele01-Flash
By
Duck Life is a charming adventure game where you train a duck to become a racing champion in three disciplines. Rebuild your tornado-destroyed farm by earning prize money through strategic training and thrilling races.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Duck Life: 3D Pocket Trainer**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: "2.5D" Toon-shaded aesthetic. Use Three.js `MeshToonMaterial` to mimic the original Flash game's thick lines and flat, saturated colors. The world should look bright, cheerful, and cartoony. * **The Duck (Player Character)**: A cute, low-poly duck model (yellow body, orange beak, large expressive eyes). It needs basic animations: Idle (bouncing gently), Run (waddling), Jump, and Fly (flapping wings). The duck color should be customizable via code variables. * **The Hub (The Farm)**: A central scene featuring green rolling hills, a simple blue skybox with white clouds, and a "Shop" building and a "Training Gym" building represented by clickable 3D structures. * **Performance**: Use low-poly geometries (spheres and cylinders for the duck) to ensure 60FPS on mobile browsers. Avoid expensive shadows; use baked lighting or simple directional light. ### 2. Audio Requirements * **BGM**: A lighthearted, looping acoustic guitar or "chiptune" melody that evokes a peaceful farm atmosphere. Speed up the tempo during training mini-games. * **SFX**: * **Quack**: A distinct sound when clicking/tapping the duck. * **Jump/Flap**: A cartoonish "woosh" or "boing" sound. * **Coin**: A high-pitched "ding" when currency is collected. * **Crash**: A comedic "bonk" sound when hitting obstacles. ### 3. Gameplay Loop * **State Machine**: The game manages three states: `Farm_Hub`, `Training_Mode`, and `Shop_Menu`. * **Farm Hub**: The player views their duck. Tapping "Train" opens a selection menu for 3 disciplines (Running, Flying, Swimming). Tapping "Shop" allows buying energy seeds. * **Training Mini-Games (The Core)**: * *Running*: An endless runner side-scroller. The duck runs automatically. Obstacles (stones/logs) appear. Falling off screen or hitting an object ends the session. XP is awarded based on distance. * *Flying*: A vertical scrolling game. The duck falls by default. Player input moves it up. Avoid clouds/planes. * *Swimming*: A lane-based runner. The duck swims forward. Avoid floating debris by diving or jumping. * **Progression**: Completing training grants "Level Up" points to the specific skill. High levels are needed to win automated "Races" (simulated in background or simple cutscene). * **Energy System**: Training consumes "Energy". If Energy is 0, the duck cannot train. Player must buy "Seeds" in the shop with coins earned from training to restore energy. ### 4. Mobile Controls & Interaction * **Orientation**: Portrait Mode (Vertical) preferred for one-handed play, similar to infinite runners. * **Touch Input Schemes**: * **Running**: **Tap Anywhere** to Jump. * **Flying**: **Touch & Hold** to fly upwards; **Release** to fall (gravity). * **Swimming**: **Swipe Up** to Jump, **Swipe Down** to Dive. * **UI/UX**: * Large, rounded buttons (CSS overlay or 3D planes) for "Train", "Race", and "Feed". Minimum touch target size: 48px. * Display "Energy Bar" and "Coin Count" prominently at the top of the screen. * Visual Feedback: When the user taps, spawn a small particle burst or tween the button scale to indicate a press. 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 a beloved online adventure game that combines pet simulation with competitive racing. After a devastating tornado destroys your farm, you must train a young duckling to become a champion racer across three unique disciplines: running, flying, and swimming. This engaging game offers hours of strategic gameplay as you balance training, racing, and resource management to achieve your ultimate goal of farm restoration.

Core Features

Multi-Discipline Training System

Duck Life features three distinct training modes, each developing different skills:

  • Running Training : Build your duck's speed and endurance for ground-based races
  • Flying Training : Develop aerial agility and stamina for sky competitions
  • Swimming Training : Enhance aquatic abilities for underwater racing challenges

Each discipline requires focused practice to level up your duck's abilities, creating a rewarding progression system that keeps players engaged.

Complete Racing Experience

Compete against other ducks in exciting races across all three disciplines. Victory earns valuable prize money, which serves as the primary currency for:

  • Purchasing energy-restoring seeds from the shop
  • Buying fashionable hats and accessories for your duck
  • Unlocking new colors and customization options
  • Ultimately funding your farm reconstruction project

Strategic Resource Management

Success requires careful management of your duck's energy levels. Training and racing consume energy, making it essential to purchase and feed seeds to maintain peak performance. This adds a strategic layer that prevents mindless grinding and encourages thoughtful gameplay.

Game Mechanics & Strategy

Training Progression

Each training session improves specific stats while consuming energy. Smart players balance intensive training with adequate rest and nutrition to maximize efficiency. The game rewards consistent, strategic training over marathon sessions.

Racing Competitions

Races pit your duck against AI opponents with varying skill levels. Early races are easier, allowing new players to build confidence and earn initial prize money. As your duck improves, competitions become more challenging, requiring well-rounded skills across all disciplines.

Customization & Rewards

The shop system lets you personalize your duck's appearance while the progression system provides constant goals. Unlocking new colors and accessories adds a collectible element that appeals to completionist players.

Operation Guide

Duck Life features intuitive controls optimized for browser gameplay:

Running Discipline

  • Click to Jump : Time your clicks to leap over obstacles during running training and races
  • Master rhythm and timing to achieve optimal performance

Flying Discipline

  • Click and Drag : Control altitude by clicking and dragging up or down
  • Navigate through aerial courses while managing stamina

Swimming Discipline

  • Up Arrow : Jump above water surface
  • Down Arrow : Dive underwater to avoid obstacles
  • Balance surface and underwater navigation

General Navigation

  • Mouse : Navigate menus, shop interface, and training selection
  • Click : Interact with all game elements and confirm actions

Why Play Duck Life?

Duck Life stands out in the crowded adventure game market for several compelling reasons:

Engaging Progression System

Unlike simple arcade games, Duck Life offers meaningful character development. Every training session and race contributes to your duck's growth, creating a genuine sense of accomplishment as abilities improve over time.

Perfect Difficulty Balance

The game starts accessible for newcomers but develops into a strategic challenge. This progression keeps players engaged without overwhelming beginners or boring experienced gamers.

Nostalgic Charm with Modern Accessibility

Originally a Flash classic, Duck Life has been successfully converted to Unity WebGL, ensuring compatibility with modern browsers while maintaining its beloved gameplay feel.

Family-Friendly Entertainment

With charming graphics, simple controls, and positive themes, Duck Life appeals to players of all ages. Parents can comfortably play alongside children, making it an excellent choice for family gaming time.

Completely Free Experience

Enjoy the full Duck Life experience without any cost. No hidden fees, premium content, or pay-to-win mechanics – just pure, engaging gameplay accessible to everyone.

Cross-Platform Compatibility

Play seamlessly across desktop and mobile browsers without downloads or installations. Your progress saves automatically, allowing you to continue your duck's journey from any device.

Frequently Asked Questions (FAQ)