Beaver Builder - Dam Building Survival Game

Seele01-Flash
By
Beaver Builder is an engaging 3D simulation game where you play as a heroic beaver tasked with saving your village from flooding. Build dams, gather resources, and recruit fellow beavers to help protect your community.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Beaver Builder". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Low-poly, vibrant "Hyper-Casual" aesthetic. Use flat shading and bright, saturated colors (Lime Green for grass, Cyan/Blue for water, Chocolate Brown for beavers/wood). * **Player Model**: A cute, blocky beaver character. It must have a visual state change when carrying resources (e.g., a hexagonal log appears on its back). * **Environment**: * **Terrain**: A river bank scene. A central flowing river (using scrolling UV textures for water simulation to save performance) dividing two grassy banks. * **Resources**: Low-poly Pine Trees that wobble when hit. * **Structures**: A "Dam" construction site that visually changes phases (ghost frame -> partially built -> complete) as resources are delivered. * **Performance**: Use `InstancedMesh` for trees and logs to ensure 60fps on mobile devices. Use simple directional lighting with soft shadows. ### 2. Audio Requirements * **BGM**: An upbeat, rhythmic marimba and acoustic guitar track that loops seamlessly. It should feel industrious and cheerful. * **Sound Effects**: * **Harvesting**: A woody "Chop" or "Pop" sound when gathering logs. * **Building**: A rapid construction hammer sound when depositing logs at the dam. * **Water**: Gentle running water ambient noise; a splash sound if the character touches the water. * **Skills**: A "Whoosh" for the Fly skill and a "Roar/Grunt" for the Rage skill. ### 3. Gameplay Loop * **Core Mechanic (Arcade Idle style)**: 1. **Gather**: Player navigates to trees. The character automatically attacks/harvests when standing still near a tree. Wood logs drop and magnetize to the player. 2. **Transport**: Player carries a stack of logs (max capacity limit). Movement speed decreases slightly as the stack grows. 3. **Build**: Player moves to the Dam zone. Logs automatically fly from the player's back to the dam, increasing a completion progress bar. * **Threats**: Enemy animals (e.g., simplistic Wolves) patrol specific areas. If they touch the player, the player drops some wood and gets knocked back. * **Skills (Cooldown based)**: * **Fly (Key 1/Button)**: Player hovers above ground for 5 seconds, moving faster and ignoring water/enemies. * **Rage (Key 2/Button)**:Harvesting speed doubles for 10 seconds. * **Stomp (Key 3/Button)**: AoE stun that pushes back nearby enemies. * **Win Condition**: Fully construct the Dam to stop the water flow (visualized by the water level lowering). ### 4. Mobile Controls & Interaction * **Movement**: A dynamic **Virtual Joystick** on the bottom-left of the screen. It should activate wherever the user touches on the left half of the screen. * **Orientation**: **Landscape Mode** locked. * **Action Buttons**: Three distinct circular buttons on the bottom-right for the skills (Fly, Rage, Stomp). Buttons must show a visual cooldown overlay (radial fill) after use. * **UI Layout**: * Top-Left: Wood resource counter (Icon + Number). * Top-Center: "Dam Progress" Bar. * All touch targets must be at least 44x44 pixels. * **Feedback**: Implement `navigator.vibrate(50)` (Haptic Feedback) when a tree is fully harvested or a dam section is completed. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Beaver Builder is a charming casual simulation game that puts you in the webbed feet of a resourceful beaver facing a critical mission. Your peaceful village is under threat from rising floodwaters, and it's up to you to construct life-saving dams and structures to protect your community. This delightful 3D game combines resource management, building mechanics, and cute animal characters in an engaging top-down perspective.

The game features colorful, family-friendly graphics with a vibrant forest environment where every decision matters. As floods threaten your beaver village, you must think strategically about where to build, what resources to prioritize, and how to effectively manage your growing team of helper beavers.

Core Features

Dam Construction System

The heart of Beaver Builder revolves around constructing sturdy dams to hold back floodwaters. Each dam requires careful planning and the right materials to ensure maximum effectiveness.

Resource Management

Gather essential building materials scattered throughout the environment. Wood, stones, and other resources are crucial for expanding your defensive structures and village buildings.

Village Building

Beyond dams, you'll construct houses, rafts, and other essential structures. Each building serves a specific purpose in your flood defense strategy and village development.

Beaver Recruitment

You don't have to face this challenge alone! Recruit other beavers to join your cause. Each helper beaver increases your efficiency and helps tackle larger construction projects.

Skill System

Utilize special abilities including fly, rage, and stomp skills to overcome obstacles and deal with threatening wildlife that might interfere with your construction efforts.

Multi-Platform Accessibility

Enjoy seamless gameplay across web browsers, mobile devices, and tablets. The game adapts perfectly to different screen sizes and input methods.

Gameplay Mechanics

The game operates on a simple yet engaging loop: explore the environment to gather resources, return to your construction sites to build and upgrade structures, and recruit additional beavers to expand your workforce. As you progress, you'll face increasingly complex flooding scenarios that require more sophisticated dam systems and village layouts.

Wildlife poses an additional challenge, as various forest creatures may interfere with your construction efforts. Strategic use of your special skills and beaver teamwork helps overcome these obstacles.

Operation Guide

The intuitive control scheme makes Beaver Builder accessible to players of all ages:

  • Movement : Use WASD keys, arrow keys, or drag with left-click to navigate your beaver around the environment
  • Interaction : Left-click to interact with buildings, resources, and game interface elements
  • Special Abilities : Press 1 for fly skill, 2 for rage skill, and 3 for stomp skill when facing challenges
  • Construction : Simply approach building sites and interact to begin construction or upgrades
  • Resource Collection : Walk near materials to automatically collect them for your inventory

The game's interface is designed to be intuitive, with clear visual indicators showing available actions and construction options.

Why Play Beaver Builder

Beaver Builder offers a perfect blend of strategy, creativity, and casual fun that appeals to a wide range of players. The game's environmental theme promotes awareness about flood management and teamwork while providing hours of entertaining gameplay.

The stress-free building mechanics make it ideal for relaxation, while the strategic elements provide enough depth to keep players engaged long-term. The adorable beaver characters and vibrant forest setting create a wholesome gaming experience suitable for family play.

Whether you're looking for a quick gaming session or an extended building adventure, Beaver Builder adapts to your preferred play style. The game's accessibility across multiple platforms means you can continue your village-saving mission anywhere, anytime.

Frequently Asked Questions (FAQ)