中文
Demo搭建文档,QQ交流群:16535321,论坛
Releases
sources:/kbengine/kbengine_cocos2d_js_demo/releases/latest
binarys:/projects/kbengine/files/
Start:
1.DownloadKBEngine(aMMOGengineofserver):
Download(KBEngine):
/kbengine/kbengine/releases/latest
Build(KBEngine):
/docs/build.html
Installation(KBEngine):
/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):
/kbengine/kbengine_js_plugins/releases/latest
unzipandcopyto"kbengine_cocos2d_js_demo/cocos2d-js-client/plugins/"
(Note:theneedtomodifythefoldernameas"kbengine_js_plugins")
Downloaddemo-assets(server):
/kbengine/kbengine_demos_assets/releases/latest
unzipandcopyto"kbengine/"(Therootdirectoryserverengine,suchas$KBE_ROOT)
3.Copy"kbengine_cocos2d_js_demo\kbengine_demos_assets"to"kbengine\"rootdirectory
Configure Demo(Optional):
Changetheloginaddress:
kbengine_cocos2d_js_demo\cocos2d-js-client\main.js
args.ip="127.0.0.1";
args.port=20013;
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:/docs/startup_shutdown.html)
Startserver:
Windows:
kbengine\kbengine_demos_assets\start_server.bat
Linux:
kbengine\kbengine_demos_assets\start_server.sh
(More:/docs/startup_shutdown.html)
Start the Client:
1.Wesimplyusepythontobuildwebservice
DownloadandInstall/ftp/python/3.3.4/python-3.3.4.msi
2.Excutethestart_http_service.bat
3.Enterthegame
http://127.0.0.1
Screenshots:
/kbengine/kbengine_cocos2d_js_demo