Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is kbengine+cocos2djs 's mmorpg game demo like?

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

In this issue, the editor will bring you about what kbengine+cocos2djs 's mmorpg game demo is like. The article is rich in content and analyzes and describes it from a professional point of view. I hope you can get something after reading this article.

Releasessources: https://github.com/kbengine/kbengine_cocos2d_js_demo/releases/latestbinarys: https://sourceforge.net/projects/kbengine/files/KBE-Plugins docs https://github.com/kbengine/kbengine_js_plugins/blob/master/README.mdStart: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.html2. 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 directoryConfigure 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 Found all the components start the Servers:Ensure that the "kbengine_cocos2d_js_demo\ kbengine_demos_assets" has been copied to the "kbengine\" directory Reference:StartCheck 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.msi2. Excute the start_http_service.bat3. Enter the game http://127.0.0.1 above is what the mmorpg game demo of kbengine+cocos2djs shared by Xiaobian is like. If you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report