kbengine+cocos2djs的mmorpg游戏demo(全套源码)

http://www.kbengine.org

中文

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

Releases

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

KBE-Plugins docs

https://github.com/kbengine/kbengine_js_plugins/blob/master/README.md 

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 

submodule_update1

 * Or use TortoiseGit(menu): TortoiseGit -> Submodule Update: 

submodule_update2

 * 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 

demo_configure

Configure Demo(Optional):

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; 

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:

screenshots1 screenshots2 screenshots3 screenshots4

https://github.com/kbengine/kbengine_cocos2d_js_demo

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/31425366/viewspace-2131813/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/31425366/viewspace-2131813/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值