kbengine + cocos2d-js实现html5 mmorpg游戏(源代码)
2015-05-08 08:56
691 查看
kbengine_cocos2d_js_demo
https://github.com/kbengine/kbengine_cocos2d_js_demohttp://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. 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
Configure Demo(Optional):
Change the login address: 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:
相关文章推荐
- HTML5 + js 贪吃蛇游戏设计与实现
- cocos2d-js实现 双击android后退按钮 即退出游戏
- 100行JS实现HTML5的3D贪吃蛇游戏
- http://www.jsbreakouts.org/---各种html5框架实现打砖块游戏 breakout
- HTML5 贪吃蛇游戏实现思路及源代码
- cocos2d-html5 游戏实战源代码大集合和下载(包括flappy,popstar等----持续更新中----)
- 系列文章之二 用cocos2d-js和pomelo开发MMORPG传奇手游-启动游戏续(一)
- 100行JS实现HTML5的3D贪吃蛇游戏
- Cocos2D-html5 发布游戏js编译为jsc
- Cocos2d-JS 贝塞尔曲线根据时间设定即时坐标位置 C++到JS 绑定实现(联网游戏客户端Bezier同步功能实现)
- 系列文章之二 用cocos2d-js和pomelo开发MMORPG传奇手游-启动游戏(一)
- js&html5实现消星星游戏
- Cocos2d-X游戏【泰然网《跑酷》】JS到C++移植3:游戏主菜单界面的实现
- node.js websocket+html5实现的简单联网tank大战的游戏模型
- Cocos2D-html5 公布游戏js编译为jsc
- cocos2d-JS 进阶主题 - H5游戏开发 实现实时更新游戏数据技巧
- cocos2d-html5 游戏实战源代码大集合和下载(包括flappy,popstar等----持续更新中----)
- 非html5实现js版弹球游戏示例代码
- 非html5实现js版弹球游戏示例代码
- Cocos2d-js04_游戏触摸交互的监听和实现