{"repo":"xiaonanln/goworld","free":true,"listed":false,"github":"https://github.com/xiaonanln/goworld","clone":"git clone https://github.com/xiaonanln/goworld.git","description":"Scalable Distributed Game Server Engine with Hot Swapping in Golang","language":"Go","stars":2720,"topics":["golang","rpc","entity-framework","packets","entities","game-server"],"license":"Apache-2.0","category":"game-templates","readme_excerpt":"GoWorld Scalable Distributed Game Server Engine with Hot Reload in Golang Features Architecture Introduction Get GoWorld Manage GoWorld Servers Demos Chatroom Demo Unity Demo: GoWorldUnityDemo.zip --------------------------------------- 中文资料 中文文档 游戏服务器介绍 目录结构说明 使用GoWorld轻松实现分布式聊天服务器 游戏服务端开源引擎GoWorld教程 1.安装和运行 2.Unity示例双端联调 3.手把手写一个聊天室 4.多个频道的聊天室 5.登录注册和存储 6.移动同步和AOI 7.源码解析之启动流程和热更新 8.码解析之gate 9.源码解析之dispatcher 10.源码解析之entity --------------------------------------- 欢迎加入Go服务端开发交流群：662182346 --------------------------------------- Features Spaces & Entities : manage multiple spaces and entities with AOI support Distributed : increase server capacity by using more machines Hot-Swappable : update game logic by restarting server process Multiple Communication Protocols : supports TCP, KCP and WebSocket Traffic Compression & Encryption : traffic between clients and servers can be compressed and encrypted Architecture Introduction GoWorld server adopts an entity framework, in which entities represent all players, monsters, NPCs. Entities in the same space can visit each other directly by calling methods or access attributes. Entities in different spaces can call each over using RPC. A GoWorld server consists of one dispatcher, one or more games and one or more gates. The gates are responsible for handling client connections and receive/send packets from/to clients. The games manages all entities and runs all game logic. The dispatcher is responsible for redirecting packets among game","default_branch":null,"files":null,"tree":[],"storefront":"/r/xiaonanln","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/xiaonanln/goworld/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}