Devast.io - Survival IO Game

Seele01-Flash
By
Devast.io is an intense multiplayer survival IO game where you must gather resources, craft weapons, and build shelter while competing against real players from around the world for ultimate dominance.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Devast.io: 3D Wasteland Survival**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Low-poly 3D aesthetic with a "Post-Apocalyptic/Radioactive" theme. The color palette should feature desaturated browns/greys for the ground and toxic greens/yellows for UI and atmosphere. * **Camera**: Isometric or Top-Down Orthographic view to mimic the classic IO game perspective. * **Player Model**: A simple, stylized character represented by a cylinder or capsule wearing a yellow/white "Hazmat Suit" with a gas mask detail. * **Environment Objects**: * **Trees**: Withered, leafless, or pine trees (Use `InstancedMesh` for performance). * **Rocks**: Grey boulders containing minerals. * **Scrap**: Metallic piles scattered around. * **Lighting & Atmosphere**: Use a directional light for shadows and a green-tinted `FogExp2` to simulate radiation and limit draw distance for mobile performance. * **Optimization**: Use simple geometries (BoxGeometry, CylinderGeometry) and merge geometries where possible. ### 2. Audio Requirements * **BGM**: A subtle, dark ambient track with industrial drones and occasional wind howling (Synthesized). * **Sound Effects**: * **Action**: "Thud" sound for punching trees/rocks. * **Crafting**: A metallic construction sound when building walls. * **Footsteps**: Soft dirt crunching sounds synced with movement. * **Ambience**: A faint Geiger counter clicking sound that increases in intensity near "radioactive zones" or boundaries. ### 3. Gameplay Loop * **Survival Mechanics**: The player spawns with nothing. They must move to a resource (Tree/Rock) and attack it to gather **Wood** and **Stone**. * **Crafting System**: Once sufficient resources are gathered, the player can build: * **Walls**: To create a safe house/fort. * **Weapons**: Upgrade from fists to a wooden spear or stone bat (increases damage/range). * **Status Bars**: Implement UI bars for **Health**, **Hunger**, and **Radiation**. Hunger depletes over time; Radiation increases if stepping outside the safe zone. * **Combat**: Enemies (AI bots or other players) will try to attack. If Health drops to 0, the player dies and drops their resources (Game Over). ### 4. Mobile Controls & Interaction * **Dual Virtual Joysticks**: * **Left Joystick**: Controls character movement (translation). * **Right Joystick**: Controls character rotation (aiming) and attacks automatically when held at the edge, OR a dedicated "Attack" button next to the right joystick. * **UI/HUD**: * **Crafting Menu**: A row of large, tappable icons (44x44px minimum) at the bottom center of the screen (e.g., "Build Wall", "Craft Spear"). * **Responsive Design**: Ensure UI elements are anchored to screen edges and scale correctly for both Portrait and Landscape modes (Landscape preferred for this genre). * **Feedback**: * **Visual**: The target resource flashes white when hit. Floating text appears showing resource gain (e.g., "+1 Wood"). * **Haptic**: Trigger `navigator.vibrate(50)` when hitting an object or taking damage. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Devast.io is a thrilling free-to-play survival IO game that drops you into a hostile world where only the smartest and strongest survive. With a solid 3.5/5 rating from players worldwide, this browser-based survival experience challenges you to outlast thousands of other real players in an unforgiving multiplayer arena.

Unlike traditional single-player survival games, Devast.io pits you against human intelligence and cunning, making every decision critical to your survival. You'll need to quickly adapt your strategy as other players compete for the same limited resources and territory.

Core Features

Real-Time Multiplayer Survival

Face off against thousands of players from around the globe in intense survival combat. Every opponent is a real person with their own strategies and goals, creating unpredictable and exciting gameplay that never gets old.

Complete Resource Management System

Gather essential materials by punching trees for wood, mining rocks for minerals, and collecting precious resources. Transform raw materials into powerful tools, weapons, and shelter through an intuitive crafting system.

Strategic Base Building

Construct your own fortress and defensive structures to protect yourself from enemy raids. Choose your building location wisely - it could mean the difference between survival and elimination.

Dynamic Combat System

Craft increasingly powerful weapons to defend yourself and raid other players' bases. From basic tools to advanced weaponry, your arsenal grows as you progress through the game.

No Download Required

Play instantly in your browser without any downloads or installations. The HTML5-based game runs smoothly on both desktop and mobile devices.

Game Playstyle

Resource Gathering Phase

Start by punching trees to collect wood - your most basic but essential resource. Progress to mining rocks and precious minerals that provide the foundation for advanced crafting recipes.

Crafting and Building

Transform raw materials into useful items including weapons, tools, and building materials. Construct shelter to protect your resources and provide a safe respawn point.

Player vs Player Combat

Engage in tactical combat with other survivors. Choose when to fight and when to flee - every encounter could result in valuable loot or devastating loss.

Leaderboard Domination

Climb the rankings by eliminating opponents and surviving longer than your competition. Only the most skilled players reach the top of the leaderboard.

Operation Guide

Movement Controls: - WASD Keys or Arrow Keys : Move your character in all directions - Mouse : Orient your character and aim your attacks

Action Controls: - Left Mouse Button : Punch trees, rocks, or attack other players - Right Mouse Button : Perform secondary actions - Mouse Wheel : Navigate through your inventory

Advanced Tips: - Start gathering wood immediately upon spawning - Build shelter before engaging in combat - Monitor other players' movements to avoid early confrontations - Collect food to maintain your health and energy levels

Why Play This Game

Devast.io stands out in the crowded IO game market by combining survival mechanics with competitive multiplayer action. The game offers:

Instant Action : Jump into matches immediately without waiting for lobbies or downloads. Perfect for quick gaming sessions or extended survival marathons.

Skill-Based Gameplay : Success depends on your strategic thinking, resource management, and combat skills rather than luck or pay-to-win mechanics.

Endless Replayability : Every match presents unique challenges as you face different players with varying strategies and skill levels.

Free Entertainment : Enjoy complete gameplay without any cost barriers or premium restrictions. All features are available to every player.

Cross-Platform Compatibility : Play seamlessly on desktop computers, tablets, or smartphones using any modern web browser.

Whether you're looking for a quick competitive match or planning to dominate the leaderboards, Devast.io delivers the perfect blend of survival challenge and multiplayer competition that keeps players coming back for more.

Frequently Asked Questions (FAQ)