Implement a single player mode (fake host mode) for WebGL

未關閉
#2,361 2 則留言 2 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
25/100
Issue 類型
功能
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
csharp, unity

研究方向

首先檢視目前的 Unity Transport,以及 issue 中描述的 WebGL 主機模式限制。比較提議的 fake host 模式與自訂離線 Transport,接著定義在沒有網際網路連線的情況下,單一客戶端/伺服器實作應如何同時支援單人遊戲與多人遊戲。完成一個已達成共識的設計,並讓 WebGL 與其他平台上的單人遊戲主機模式正常運作,即表示完成。

由索引模型根據 Issue 內容生成。

描述

priority:high stat:imported type:docs

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

主要語言
C#
星號
2.3k
分支
461
平均合併
3 天 16 小時
30 天內合併 PR
20

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

Unity-Technologies/com.unity.netcode.gameobjects 的其他 Issue

查看 Unity-Technologies/com.unity.netcode.gameobjects 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。