MooMoo.io - Multiplayer Survival Building Game

Seele01-Flash
By
MooMoo.io is an exciting multiplayer .io game that combines resource gathering, village building, and survival mechanics. Collect wood and stone, build defenses, and compete against other players in this challenging online survival experience.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "MooMoo.io Style Survival". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: 2.5D Top-Down "Toon" aesthetic. Use an **Orthographic Camera** to simulate the flat look of the original .io game while using 3D geometries. The art style should be "Flat Shaded" (no complex PBR textures, just vibrant solid colors with black outlines if possible using `Three.EdgesGeometry`). * **Terrain**: An infinite scrolling ground plane with a beige/sand-colored grid texture (`#dcd8b6`). * **Characters**: Represent players as simple spheres or cylinders with a distinct "head" and "hands" holding a tool. Ensure a distinct color palette to differentiate the player (Self) from enemies (Red) and neutral animals (Brown Bulls/Cows). * **Resources & Props**: * **Trees**: Green low-poly cylinders or bunched spheres. * **Rocks**: Grey, irregular low-poly boulders. * **Bushes**: Small green spheres with red dots (berries). * **Buildings**: Walls (Cube blocks), Spikes (Cone shapes), Windmills (Cylinders with rotating rectangular blades). * **Mobile Optimization**: Use `THREE.InstancedMesh` for all environmental resources (trees, rocks) and placed buildings to handle hundreds of objects without performance drops on mobile devices. ### 2. Audio Requirements * **BGM**: A lighthearted, looping "farming/adventure" melody. Think upbeat flute and rhythmic percussion, similar to casual RPG village themes. * **Sound Effects (SFX)**: * **Gathering**: A distinct "Thwack" for wood, "Clink" for stone. * **Combat**: A "Whoosh" sound for swinging weapons and a dull "Thud" for impacts. * **Consumption**: A "Crunch" sound when eating fruit to restore HP. * **Building**: A mechanical "Pop" or construction sound when placing walls/windmills. * **UI**: High-pitched "Ding" when leveling up or collecting gold. ### 3. Gameplay Loop * **Core Mechanic**: The player controls a character to gather resources (Wood, Stone, Food) by attacking environmental objects. * **Building System**: Players spend resources to place structures: * **Walls**: Block movement and protect assets. * **Spikes**: Damage enemies who touch them. * **Windmills**: Automatically generate "Gold/Score" over time (the primary win condition). * **Survival**: Manage a Health Bar (HP). Eat food (press button) to heal. Avoid or fight aggressive AI animals (Bulls) and other hostile players. * **Progression**: Gathering and fighting grants XP. Upon leveling up, the player's weapon model should scale slightly larger, and damage output should increase. * **Game Over**: If HP reaches 0, the player respawns, losing all resources and structures. ### 4. Mobile Controls & Interaction * **Movement (Left Hand)**: Implement a virtual **Joystick** in the bottom-left corner for 360-degree character movement. * **Action/Combat (Right Hand)**: * **Attack Button**: Large circular button in the bottom-right. Holding it down activates "Auto-Attack" (continuous swinging). * **Angle Lock**: A smaller toggle button near the attack button to lock the character's facing rotation (strafing). * **Building Hotbar**: A horizontal, scrollable UI bar at the bottom center of the screen containing icons for items (Axe, Sword, Wall, Spike, Windmill, Food). * *Interaction*: Tapping an icon selects it. If a building is selected, a "ghost" preview appears near the player. Tapping the main Attack button places the building. * **Feedback**: * **Haptic**: Trigger `navigator.vibrate(20)` on successful resource hits or taking damage. * **Visual**: Floating damage numbers (TextSprites) popping up from targets when hit. * **Orientation**: Force **Landscape Mode** for a wider field of view. Ensure UI buttons are at least 44px by 44px for touch accessibility. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About MooMoo.io

MooMoo.io is a captivating multiplayer survival game that brings together the best elements of resource management, strategic building, and competitive gameplay. In this challenging .io game, players must gather essential resources like wood and stone while constructing their own village and defending against both wildlife and hostile players.

The game features a unique blend of peaceful resource gathering and intense PvP combat, creating an engaging experience that keeps players coming back for more. With its simple yet addictive gameplay mechanics, MooMoo.io has become a favorite among fans of multiplayer survival games.

Core Features

Resource Gathering and Crafting System

The foundation of MooMoo.io revolves around collecting vital resources: - Wood Collection : Chop down trees to gather wood for construction and crafting - Stone Mining : Break rocks to collect stones for building stronger structures - Food Foraging : Hit fruit bushes to obtain food that restores your health points - Progressive Crafting : Use collected materials to create walls, windmills, and defensive structures

Strategic Building Mechanics

Construct and expand your village with various building options: - Defensive Walls : Build protective barriers around your resources and territory - Windmills : Create point-generating structures that provide passive income over time - Resource Protection : Strategically place buildings to safeguard your valuable materials - Territory Expansion : Grow your village by claiming and developing new areas

Multiplayer Competition and Survival

Engage with players from around the world in this dynamic multiplayer environment: - PvP Combat : Battle other players for resources and territory control - Wild Animals : Survive encounters with dangerous wildlife that roam the map - Leveling System : Gain experience and choose from different character upgrades - Party System : Team up with friends to build stronger communities and defend together

Gameplay Guide

Getting Started

When you first enter MooMoo.io, your primary focus should be on resource collection. Start by gathering wood from trees and stones from rocks. These basic materials form the foundation of your survival strategy and allow you to begin constructing your first defensive structures.

Building Your Village

Once you have sufficient resources, begin building walls around your gathering areas. This protects your marked resources from other players who might try to steal them. Windmills are excellent for generating points over time, but make sure they're well-protected as they become prime targets for enemies.

Combat and Defense

Be prepared for hostile encounters with other players. The game's competitive nature means that conflict is inevitable. Keep food items ready to restore health during battles, and always maintain strong defensive positions around your village.

Operation Guide

Movement Controls

  • WASD or Arrow Keys : Move your character in all directions
  • Mouse Movement : Aim and orient your character

Action Controls

  • Left Click or Space : Gather resources from trees, rocks, and bushes; attack other players or animals
  • Number Keys (1-9) or Left Click : Select different items or buildings from your inventory
  • E Key : Toggle auto-attack mode for continuous combat
  • Q Key : Quick-select food items for fast health restoration

Advanced Controls

  • X Key : Lock rotation to maintain consistent direction
  • R Key : Ping the minimap to communicate with team members
  • C Key : Add markers to the map for strategic planning
  • Enter Key : Open chat to communicate with other players

Why Play MooMoo.io

Completely Free Experience

MooMoo.io is entirely free to play with no hidden costs or premium subscriptions. Jump into the action immediately without any financial commitment.

Cross-Platform Accessibility

Enjoy seamless gameplay across multiple platforms: - Web Browsers : Play directly in your browser on desktop and mobile devices - Android Devices : Download the dedicated mobile app for on-the-go gaming - No Downloads Required : Browser version requires no installation

Engaging Social Gameplay

The multiplayer aspect creates endless replayability. Every session brings new challenges as you interact with different players, form alliances, and compete for resources. The party system allows you to team up with friends for cooperative gameplay.

Skill-Based Progression

Unlike many casual games, MooMoo.io rewards strategic thinking and skillful play. The upgrade system lets you customize your character's abilities, while the building mechanics require careful planning and resource management.

Whether you're looking for a quick gaming session or hours of strategic gameplay, MooMoo.io delivers an engaging multiplayer survival experience that's perfect for both casual and competitive players.

Frequently Asked Questions (FAQ)