Duck Life 2 - Adventure Racing Game

Seele01-Flash
By
Duck Life 2 is an engaging adventure game where you train your duck in multiple disciplines including running, flying, swimming, and climbing to become the world's best duck adventurer.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Duck Life: Mobile Training Academy**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: 3D Toon-Shaded / Cell-Shaded aesthetic to mimic the original 2D flash game style. Use bright, saturated primary colors (Lemon Yellow for the duck, Sky Blue for the background, vibrant Green for grass). * **The Duck Model**: A low-poly, cute duck character composed of simple geometric shapes (Sphere for head/body, Cones for beak). It must have a "Hello My Name Is" sticker texture on its chest. * **Environment (The Hub)**: A simple grassy training field. * **Environment (The Race Track)**: An infinite scrolling runner track with varied themes (Grassland, Scottish Highlands, Egyptian Sand) based on progress. * **Mobile Optimization**: Use `THREE.BoxGeometry` and `THREE.SphereGeometry` with low segment counts to ensure high FPS on mobile browsers. Avoid expensive realistic shadows; use baked lighting or simple directional light. ### 2. Audio Requirements * **BGM**: A lighthearted, looping, upbeat "farm/adventure" melody (think whimsical flute or marimba). * **SFX**: * **Quack**: A distinct "Quack" sound when the duck is tapped in the Hub. * **Jump**: A cartoonish "Boing" or "Whoosh" sound. * **Coin**: A high-pitched "Ding" when collecting currency. * **Crash**: A comical "Thud" or "Squeak" when hitting an obstacle. * **Eating**: A "Crunch" sound when feeding seeds. ### 3. Gameplay Loop The game should feature two distinct states: **The Hub** and **The Race (Running Mode)**. * **State 1: The Hub (Tamagotchi Style)** * The duck stands in the center. * **Stats**: Display "Energy" and "Level" bars. * **Action**: Player taps a "Feed" button to consume coins and restore Energy (Seed feeding). * **Action**: Player taps "Race" to switch to the Running Mode. * **State 2: The Race (Endless Runner)** * The duck runs forward automatically. * **Obstacles**: Crates, rocks, or rolling logs spawn and move toward the player. * **Currency**: Coins float in the air to be collected. * **Failure**: Hitting an obstacle ends the run and returns to the Hub with earned loot. * **Progression**: Running successfully increases the duck's "Running Level," making it slightly faster in future runs. ### 4. Mobile Controls & Interaction * **Orientation**: Portrait Mode (Vertical) for one-handed play. * **Hub Controls**: * **Tap Duck**: Triggers a "Quack" animation and sound. * **UI Buttons**: Large, thumb-friendly buttons (min 60px height) at the bottom of the screen for "Shop/Feed" and "Race". * **Race Controls (Running Mode)**: * **Tap Screen**: **Jump**. (Replaces the "Up Arrow" key). * **Double Tap**: **Double Jump** (if unlocked). * **Feedback**: * **Haptic**: Trigger `navigator.vibrate(50)` on coin collection and `navigator.vibrate(200)` on crash. * **Visual**: A subtle screen shake when 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 2 is a charming adventure racing game that combines skill development with exciting competition. In this delightful sequel, you take on the role of a duck trainer, guiding your feathered athlete through comprehensive training programs across four different disciplines. The game features colorful cartoon graphics and intuitive gameplay that appeals to players of all ages.

Your journey takes you across five stunning international locations, each offering unique racing challenges and visual experiences. The game perfectly balances training mechanics with competitive racing, creating an engaging progression system that keeps players motivated.

Core Features

Duck Life 2 offers an impressive array of features that set it apart from typical racing games:

Multi-Discipline Training System

Train your duck in four distinct skills: running for speed and agility, flying for aerial maneuvers, swimming for aquatic challenges, and climbing for vertical adventures. Each discipline requires different strategies and offers unique mini-games.

Global Racing Adventure

Compete in races across five exotic locations: the rolling hills of Scotland, the countryside of England, the ancient pyramids of Egypt, the tropical paradise of Hawaii, and the serene landscapes of Japan. Each location features distinctive visual themes and racing challenges.

Comprehensive Progression System

Earn coins through training sessions and successful races. Use your earnings to purchase nutritious seeds to maintain your duck's stamina, or splurge on fashionable accessories to customize your champion's appearance.

Engaging Mini-Games

Each training discipline features its own mini-game with unique controls and objectives, ensuring variety and preventing repetitive gameplay.

Gameplay Mechanics

The game revolves around a satisfying cycle of training, racing, and upgrading. You'll spend time in training modes to improve your duck's abilities in specific areas, then put those skills to the test in competitive races against other ducks.

Stamina management adds a strategic element - your duck needs proper nutrition through seed feeding to maintain peak performance. This creates meaningful decisions about when to train, when to race, and when to rest.

Operation Guide

Mastering Duck Life 2 requires understanding the unique controls for each discipline:

Running Training and Races: - Use the Up Arrow Key to make your duck jump over obstacles - Timing is crucial for maintaining speed and avoiding barriers

Flying Challenges: - Left and Right Arrow Keys guide your duck's flight path - Navigate through aerial courses while avoiding obstacles

Swimming Events: - Up Arrow makes your duck jump above water - Down Arrow allows diving beneath the surface - Left and Right Arrows control horizontal movement through the water

Climbing Adventures: - Left and Right Arrow Keys help your duck jump between canyon walls - Master the rhythm to scale vertical challenges efficiently

General Tips: - Keep your duck well-fed with seeds before races - Balance training time across all disciplines - Save coins for both stamina and cosmetic upgrades

Why Play Duck Life 2

This game offers the perfect combination of casual gaming and strategic depth. The adorable duck protagonist and colorful art style create an immediately appealing experience, while the multi-layered progression system provides long-term engagement.

Unlike simple racing games, Duck Life 2 rewards patience and planning. Success comes from dedicated training and smart resource management, making victories feel truly earned. The international racing locations add variety and excitement to the competitive aspects.

The game is completely free to play through your web browser, requiring no downloads or installations. It's perfectly suitable for quick gaming sessions or longer play periods, adapting to your available time.

Whether you're a casual gamer looking for charming entertainment or someone who enjoys progression-based challenges, Duck Life 2 delivers an engaging experience that combines the best elements of training simulators and racing games.

Frequently Asked Questions (FAQ)