Code Monkey home page Code Monkey logo

basesrv / kbengine_cocos2d_js_demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kbengine/kbengine_cocos2d_js_demo

0.0 1.0 0.0 133.85 MB

This client-project is written for kbengine(a MMOG engine of server)

Home Page: http://kbengine.org

CMake 0.91% Batchfile 0.02% JavaScript 21.85% Makefile 0.10% C++ 57.30% C 6.87% Java 2.54% Objective-C++ 1.48% Python 1.33% Shell 0.11% PowerShell 0.08% Objective-C 7.02% C# 0.12% GLSL 0.21% Lua 0.06% HTML 0.01%

kbengine_cocos2d_js_demo's Introduction

kbengine_cocos2d_js_demo

This client-project is written for KBEngine(a MMOG engine of server)

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

kbengine_cocos2d_js_demo's People

Contributors

basesrv avatar kbengine avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.