您好,登錄后才能下訂單哦!
這期內(nèi)容當(dāng)中小編將會給大家?guī)碛嘘P(guān)kbengine+cocos2djs的mmorpg游戲demo是怎么樣的,文章內(nèi)容豐富且以專業(yè)的角度為大家分析和敘述,閱讀完這篇文章希望大家可以有所收獲。
sources : https://github.com/kbengine/kbengine_cocos2d_js_demo/releases/latest binarys : https://sourceforge.net/projects/kbengine/files/
https://github.com/kbengine/kbengine_js_plugins/blob/master/README.md
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
Change the login address(Clear browser cache): kbengine_cocos2d_js_demo\cocos2d-js-client\main.js args.ip = "127.0.0.1"; args.port = 20013;
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)
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
上述就是小編為大家分享的kbengine+cocos2djs的mmorpg游戲demo是怎么樣的了,如果剛好有類似的疑惑,不妨參照上述分析進(jìn)行理解。如果想知道更多相關(guān)知識,歡迎關(guān)注億速云行業(yè)資訊頻道。
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。