Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser

Quick Information

A server authoritative top-down multiplayer game that is inspired by browser-based Survivor.io games, optimized to run with HTML5 Web exports, utilizing Websocket connection with SSL to run on your server or itch.io.Features:• Authoritative Multiplayer Server• Noise Map Generation• Character Customization• PvP Combat• Inventory System• Crafting• Player Scoring• Day-Night Cycle• Mob Spawning and Combat• Ranged and Melee Combat• Dedicated Server• Chat System• Minimap• Durability• Export Templates
SurvivorIO
Welcome to SurvivorIO – a multiplayer web game designed to demonstrate multiplayer features within the Godot 4.x. This project specifically targets implementation of an authoritative multiplayer MMO structure utilizing WebSocket with SSL to support HTML5 exports, similar to .io games commonly played in browsers. Experience a rich blend of survival, crafting, and PvP combat in a dynamic and immersive environment.
Features
- Authoritative Multiplayer Server: Ensures consistent and fair gameplay with reliable synchronization across all players. Utilized Godot's MultiplayerSynchronizer and MultiplayerSpawner nodes in action, blended with custom RPCs.
- Noise Map Generation: Creates procedurally generated landscapes that offer diverse and visually appealing environments.
- Character Customization: Personalize your character with unique features to distinguish yourself in the game world.
- PvP Combat: Engage in intense player-versus-player battles, testing your skills against others.
- Inventory System: Efficiently manage your items and resources with a user-friendly interface.
- Crafting: Develop weapons, tools, and various items essential for your survival and progression.
- Player Scoring: Players gain score and stats by killing enemies and destroying resources.
- Day-Night Cycle: Experience the realistic passage of time with dynamically changing lighting conditions.
- Mob Spawning and Combat: Encounter and combat various hostile creatures, each presenting unique challenges.
- Ranged and Melee Combat: Utilize a variety of weapon types to defeat enemies from a distance or up close.
- Dedicated Server: Enjoy stable and responsive gameplay on a robust server infrastructure.
- Chat System: Communicate in real-time with other players, enhancing the multiplayer experience.
- Minimap: Easily navigate the game world with an intuitive minimap feature.
- Durability: Manage your equipment's durability, ensuring you plan and execute your actions strategically.
- Export Templates: Export templates for Web Client and Linux Server are included.
Getting Started
Prerequisites
Installation
- Clone the repository:
git clone https://github.com/yourusername/SurvivorIO.git
- Navigate to the project directory:
cd SurvivorIO
Running the Game
- Set the server IP:
- Open
Constants.gd
autoload and setDEFAULT_SERVER_IP
to"localhost"
for local testing.
var DEFAULT_SERVER_IP = "localhost"
- Open
- Start the server from the Godot editor. Server is designed to be a headless instance so it is not playable.
- Launch the web client or another instance from the Godot editor to automatically connect to server.
Deployment
If you want to upload to your server or itch.io, you need to use
wss
:- Generate Let's Encrypt certificates.
- Place them in the
assets/certs
folder. - Set host info and cert paths in
Constants.gd
, andUSE_SSL
totrue
. - The clients will automatically connect to the server using these certificates.
You can use predefined export templates for linux server and web client.
Development Status
Completed
- 2D Noise map generation
- Character customization
- Authoritative multiplayer server
- Synchronization & Replication
- Web client
- Character animation
- PvP combat
- Object spawner replication
- Reconnecting player replication
- Item and drop system
- Object types
- Inventory UI
- Harvesting (axe, pickaxe)
- Weapons
- Crafting
- Object spawner timer
- Day-night cycle & UI by bitbrain
- Torch and lighting
- Mob spawner
- Mobs
- Player ranged attack
- Mob ranged attack
- Projectile types
- Item durability
- Minimap
- Dedicated server
- Server Deployment
- Chat
- Movement localization
- Content
To Do
- Fix small error with player despawn: ```sh get_node: Node not found: "/root/Game/Level/Main/Players/(playerId)" (absolute path attempted from "/root")
A server authoritative top-down multiplayer game that is inspired by browser-based Survivor.io games, optimized to run with HTML5 Web exports, utilizing Websocket connection with SSL to run on your server or itch.io.
Features:
• Authoritative Multiplayer Server
• Noise Map Generation
• Character Customization
• PvP Combat
• Inventory System
• Crafting
• Player Scoring
• Day-Night Cycle
• Mob Spawning and Combat
• Ranged and Melee Combat
• Dedicated Server
• Chat System
• Minimap
• Durability
• Export Templates
Reviews
Quick Information

A server authoritative top-down multiplayer game that is inspired by browser-based Survivor.io games, optimized to run with HTML5 Web exports, utilizing Websocket connection with SSL to run on your server or itch.io.Features:• Authoritative Multiplayer Server• Noise Map Generation• Character Customization• PvP Combat• Inventory System• Crafting• Player Scoring• Day-Night Cycle• Mob Spawning and Combat• Ranged and Melee Combat• Dedicated Server• Chat System• Minimap• Durability• Export Templates