xingo框架需要切换到no reflect 分支 git checkout noreflect_veriosn
该demo实现了mmo游戏的基础模块aoi(基于兴趣范围的广播), 世界聊天, 空间管理等
xingo地址(https://git.oschina.net/viphxin/xingo)
客户端demo地址(https://git.oschina.net/viphxin/xingo_demo_unity3d)
截图展示:
链接服务器:
游戏主场景:
测试步骤:
消息对应关系如下
msgId | client | server | 描述 |
---|---|---|---|
1 | - | SyncPid | 同步玩家本次登录的ID(用来标识玩家) |
2 | Talk | - | 世界聊天 |
3 | MovePackege | - | 移动 |
200 | - | BroadCast | 广播消息(Tp 1 世界聊天 2 坐标(出生点同步) 3 动作) |
201 | - | SyncPid | 广播消息 掉线/aoi消失在视野 |
202 | - | SyncPlayers | 同步周围的人位置信息(包括自己) |
sudo protoc3 -I=/home/huangxin/workspace/go_fighting/src/xingo_demo/pb --go_out=/home/huangxin/workspace/go_fighting/src/xingo_demo/pb /home/huangxin/workspace/go_fighting/src/xingo_demo/pb/*.proto
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
Activity
Community
Health
Trend
Influence
:Code submit frequency
:React/respond to issue & PR etc.
:Well-balanced team members and collaboration
:Recent popularity of project
:Star counts, download counts etc.