開源分布式遊戲服務端引擎kbengine

來源:互聯網
上載者:User

標籤:http   使用   os   檔案   資料   2014   

服務端引擎:

http://www.kbengine.org

什麼是KBEngine?

一款開源的遊戲服務端引擎,使用簡單的約定協議就能夠使用戶端與服務端進行互動, 使用KBEngine外掛程式能夠快速與(Unity3D, OGRE, Cocos2d, HTML5, 等等)技術結合形成一個完整的用戶端。

服務端底層架構使用c++編寫,遊戲邏輯層使用Python(支援熱更新),開發人員無需重複的實現一些遊戲服務端通用的底層技術, 將精力真正集中到遊戲開發層面上來,快速的打造各種網路遊戲。

(經常被問到承載上限,kbengine底層架構被設計為多進程分布式動態負載平衡方案, 理論上只需要不斷擴充硬體就能夠不斷增加承載上限,單台機器的承載上限取決於遊戲邏輯本身的複雜度。)

QQ交流群
群1: 16535321

GO!
更新kbengine外掛程式庫kbengine_plugins:    git submodule update建立AssetBundles    unity3d(菜單上)->Publish->Build Pulish AssetBundles - autoAll    期間可能一直出現"Moving file failed", 需要點擊"try again"讓其繼續,     這可能是unity3d在移動檔案時檔案被佔用造成的。    執行完畢後檢查 Assets->StreamingAssets是否有內容。產生服務端尋路資料:    選中: Assets->Nav_build->xinshoucun->NavmeshBuild->Build & Bake, 等待產生完成之後    選中: Assets->Nav_build->xinshoucun->CAIBakedNavmesh->Save, 將其中srv_xxx.navmesh放到服務端kbengine\demo\res\spaces\xinshoucun中

Build:
unity3d File->Build Settings->Scenes In Build選擇scenes/go.unity->Platform選擇Web Player->Build。

Web伺服器部署檔案夾結構
->(伺服器根目錄)    - StreamingAssets (建立AssetBundles產生的檔案夾)    - ui (Assets下的ui檔案夾可以直接拷貝過來)    - crossdomain.xml    - initLogo.png    - initProgressBar.PNG    - initProgressFrame.PNG    - index.html    - Unity3d.unity3d (在unity3d編譯時間產生的檔案)    - Unity3d.html (在unity3d編譯時間產生的檔案)

運行:
1. 啟動kbengine服務端2. 瀏覽器訪問localhost如不清楚請下載發布版demo, 並按照其中的檔案夾結構放置並看壓縮包內文檔教程如何啟動:https://sourceforge.net/projects/kbengine/files/

日誌:
Windows XP: C:\Documents and Settings\username\Local  Settings\Temp\UnityWebPlayer\logWindows Vista/7: C:\Users\username\AppData\Local\Temp\UnityWebPlayer\log

warring


聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.