html5能实现网络游戏吗,kbengine + cocos2d_js实现html5网络游戏mmorpg(全套代码+资源)...
中文
Demo搭建文檔,QQ交流群:16535321,論壇
Releases
sources?????:?https://github.com/kbengine/kbengine_cocos2d_js_demo/releases/latest
binarys?????:?https://sourceforge.net/projects/kbengine/files/
Start:
1.?Download?KBEngine(a?MMOG?engine?of?server):
Download(KBEngine):
https://github.com/kbengine/kbengine/releases/latest
Build(KBEngine):
http://www.kbengine.org/docs/build.html
Installation(KBEngine):
http://www.kbengine.org/docs/installation.html
2.?Use?git?to?get?the?plugin(client)?and?demo-assets(server):
In?the?kbengine_cocos2d_js_demo?directory:
*?Git?command:?git?submodule?update?--init?--remote
*?Or?use?TortoiseGit(menu):?TortoiseGit?->?Submodule?Update:
*?Or?manually?get?the?plugin(client)?and?demo-assets(server)
Download?plugin(client):
https://github.com/kbengine/kbengine_js_plugins/releases/latest
unzip?and?copy?to?"kbengine_cocos2d_js_demo/cocos2d-js-client/plugins/"
(Note:?the?need?to?modify?the?folder?name?as?"kbengine_js_plugins")
Download?demo-assets(server):
https://github.com/kbengine/kbengine_demos_assets/releases/latest
unzip?and?copy?to?"kbengine/"??(The?root?directory?server?engine,?such?as?$KBE_ROOT)
3.?Copy?"kbengine_cocos2d_js_demo\kbengine_demos_assets"?to?"kbengine\"?root?directory
Configure Demo(Optional):
Change?the?login?address:
kbengine_cocos2d_js_demo\cocos2d-js-client\main.js
args.ip?=?"127.0.0.1";
args.port?=?20013;
Start the Servers:
Ensure?that?the?"kbengine_cocos2d_js_demo\kbengine_demos_assets"?has?been?copied?to?the?"kbengine\"?directory
Reference:Start
Check?the?startup?status:
If?successful?will?find?log?"Components::process():?Found?all?the?components!".
Otherwise,?please?search?the?"ERROR"?keyword?in?logs,?according?to?the?error?description?to?try?to?solve.
(More:?http://www.kbengine.org/docs/startup_shutdown.html)
Start?server:
Windows:
kbengine\kbengine_demos_assets\start_server.bat
Linux:
kbengine\kbengine_demos_assets\start_server.sh
(More:?http://www.kbengine.org/docs/startup_shutdown.html)
Start the Client:
1.?We?simply?use?python?to?build?web?service
Download?and?Install?http://www.python.org/ftp/python/3.3.4/python-3.3.4.msi
2.?Excute?the?start_http_service.bat
3.?Enter?the?game
http://127.0.0.1
Screenshots:
https://github.com/kbengine/kbengine_cocos2d_js_demo
總結
以上是生活随笔為你收集整理的html5能实现网络游戏吗,kbengine + cocos2d_js实现html5网络游戏mmorpg(全套代码+资源)...的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: hp5820怎么清洗打印头
- 下一篇: 拔河原理html,大班活动拔河活动教案