1. 程式人生 > >kbengine服務端引擎+cocos2dx搭建網路遊戲

kbengine服務端引擎+cocos2dx搭建網路遊戲

原始碼:https://github.com/cnsoft/kbengine_cocos2dx_demo

什麼是KBEngine?

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

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

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

KBEngine Homepage

Demo sources

  unity3d     : https://github.com/kbengine/kbengine_unity3d_demo
  unity3d     : https://github.com/kbengine/kbengine_unity3d_warring
  ogre        : https://github.com/kbengine/kbengine_ogre_demo
  html5       : https://github.com/kbengine/kbengine_html5_demo
  cocos2dx    : https://github.com/kbengine/kbengine_cocos2dx_demo

KBEngine-cocos2dx

2014-07-01 PreAlpha is ready. Now, cocos2dx client can chat with unity3d client in the KBE same game server . by cnsoft

2014-08-03 next branch: add in game chat kit with seemless integratation. e.g: player broad msg to others. change single player game to multiply player internal-chat game . like a mmorpg. chat in some channel. 工會.好友.交易.組隊.

screenshots1

until now, you can extend your system according this demo. e.g: define more system and implemented it in server side and client side. that's the start kit. next update, i want to create a more powerful demo.