Cocos2d-x   发布时间:2022-05-03  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了kbengine + cocos2d_js实现html5网络游戏mmorpg(全套代码+资源)大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

http://www.kbengine.org

@H_450_5@

中文

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

@H_450_5@

Releases

sources:https://github.com/kbENGIne/kbENGIne_cocos2d_js_demo/releases/latest
binarys:https://sourceforge.net/projects/kbENGIne/files/

@H_450_5@

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_demo\kbENGIne_demos_assets"to"kbENGIne\"rootdirectory

@H_450_5@

Configure Demo(Optional):

ChangetHeloginaddress:

kbENGIne_cocos2d_js_demo\cocos2d-js-client\main.js
args.ip="127.0.0.1";
args.port=20013;
@H_450_5@

Start the Servers:

Ensurethatthe"kbENGIne_cocos2d_js_demo\kbENGIne_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:
kbENGIne\kbENGIne_demos_assets\start_server.bat

Linux:
kbENGIne\kbENGIne_demos_assets\start_server.sh

(More:http://www.kbENGIne.org/docs/startup_shutdown.html)
@H_450_5@

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
@H_450_5@

Screenshots:

https://github.com/kbENGIne/kbENGIne_cocos2d_js_demo

大佬总结

以上是大佬教程为你收集整理的kbengine + cocos2d_js实现html5网络游戏mmorpg(全套代码+资源)全部内容,希望文章能够帮你解决kbengine + cocos2d_js实现html5网络游戏mmorpg(全套代码+资源)所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。