加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

kbengine + cocos2d_js实现html5网络游戏mmorpg(全套代码+资源)

发布时间:2020-12-14 21:16:15 所属栏目:百科 来源:网络整理
导读:http://www.kbengine.org 中文 Demo搭建文档,QQ交流群:16535321,论坛 Releases sources:https://github.com/kbengine/kbengine_cocos2d_js_demo/releases/latestbinarys:https://sourceforge.net/projects/kbengine/files/ Start: 1.DownloadKBEngine(aMM

http://www.kbengine.org

中文

Demo搭建文档,QQ交流群:16535321,论坛

Releases

sources:https://github.com/kbengine/kbengine_cocos2d_js_demo/releases/latest
binarys:https://sourceforge.net/projects/kbengine/files/

Start:

1.DownloadKBEngine(aMMOGengineofserver):
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.Usegittogettheplugin(client)anddemo-assets(server):

Inthekbengine_cocos2d_js_demodirectory:

*Gitcommand:gitsubmoduleupdate--init--remote

*OruseTortoiseGit(menu):TortoiseGit->SubmoduleUpdate:

*Ormanuallygettheplugin(client)anddemo-assets(server)

Downloadplugin(client):
https://github.com/kbengine/kbengine_js_plugins/releases/latest
unzipandcopyto"kbengine_cocos2d_js_demo/cocos2d-js-client/plugins/"
(Note:theneedtomodifythefoldernameas"kbengine_js_plugins")

Downloaddemo-assets(server):
https://github.com/kbengine/kbengine_demos_assets/releases/latest
unzipandcopyto"kbengine/"(Therootdirectoryserverengine,suchas$KBE_ROOT)

3.Copy"kbengine_cocos2d_js_demokbengine_demos_assets"to"kbengine"rootdirectory

Configure Demo(Optional):

Changetheloginaddress:

kbengine_cocos2d_js_demococos2d-js-clientmain.js
args.ip="127.0.0.1";
args.port=20013;

Start the Servers:

Ensurethatthe"kbengine_cocos2d_js_demokbengine_demos_assets"hasbeencopiedtothe"kbengine"directory
Reference:Start

Checkthestartupstatus:
Ifsuccessfulwillfindlog"Components::process():Foundallthecomponents!".
Otherwise,pleasesearchthe"ERROR"keywordinlogs,accordingtotheerrordescriptiontotrytosolve.
(More:http://www.kbengine.org/docs/startup_shutdown.html)

Startserver:
Windows:
kbenginekbengine_demos_assetsstart_server.bat

Linux:
kbenginekbengine_demos_assetsstart_server.sh

(More:http://www.kbengine.org/docs/startup_shutdown.html)

Start the Client:

1.Wesimplyusepythontobuildwebservice
DownloadandInstallhttp://www.python.org/ftp/python/3.3.4/python-3.3.4.msi

2.Excutethestart_http_service.bat

3.Enterthegame
http://127.0.0.1

Screenshots:

https://github.com/kbengine/kbengine_cocos2d_js_demo

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读