Unity-Technologies / Unity-Technologies/com.unity.netcode.gameobjects
Implement a single player mode (fake host mode) for WebGL
还没有人认领这个 Issue。
- 主要语言
- C#
- 星标
- 2.3k
- 派生
- 461
- 平均合并
- 3 天 16 小时
- 30 天内合并 PR
- 20
描述
Is your feature request related to a problem? Please describe.
I want to have the ability to implement single player mode for WebGL, but host mode is not available there
Describe the solution you'd like
I want to have a solution that allows me to create fake host mode out of the box, without internet connection to use it for singleplayer mode for all platforms, especially for webgl. It is needed to have 1 client/server implementation for singleplayer and multiplayer games.
Describe alternatives you've considered
To create a custom Transport without internet connection. Or maybe to make host mode for webgl that uses other driver inside current Unity Transport
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先检查当前的 Unity Transport,以及 issue 中描述的 WebGL 主机模式限制。将提议的 fake host 模式与自定义离线 Transport 进行比较,然后确定在没有互联网连接的情况下,单个客户端/服务器实现应如何同时支持单人游戏和多人游戏。达成一致的设计,并使 WebGL 和其他平台上的单人游戏主机模式能够正常工作,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- csharp, unity
- 领域
- game-dev, networking
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100