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