This is a client of TenIO project base on Phaserjs.
- It's used to simulator the communication between the client and its server via WebSocket.
The wiki provides implementation level details and answers to general questions.
- jquery.min.js
- msgpack.min.js
- bootstrap.min.css
- bootstrap-theme.min.css
- phaser.min.js
This project is currently available under the MIT License.
You can get the sources:
$ git clone https://github.com/congcoi123/tenio-phaserjs.git
Please check out the contributing guideline for more details.
For the client, Phaser is included in the code (js/vendor/phaser.min.js
). You will need npm to install the Node.js packages required for the server. To run the server, you'll need to have Node.js installed.
Clone the repository. Inside the newly created directory, run npm install
to install the Node.js packages listed in package.json
. Then run node server.js
to start the server. The server will listen to connections on port 9999
. You can change that behaviour by editing the code. After that, you can access the app by navigating to http://localhost:9999
.
In the nutshell:
$ cd tenio-phaserjs
$ npm install
$ node server.js
TenIO Cocos2dx |
TenIO Unity |
TenIO Libgdx |
---|
Please start the server in example 7 before running this client.
|-- example
|-- example7
| |-- TestServerPhaserjs.java
Happy coding !