This is a demo used nodejs+websocket+cocoscreator to realize a system which clients can make commulication with server.
The demo is a simple chat system.
There are three folders:Server、Client、Protos.
Server used nodejs and websocket to realize all functions.Here i choosed typescript as main dev language.
Client used CocosCreator v2.0.10.
Protos is a folder,you put your proto files in.Make sure you have npm install protobufjs -g
.There are two bat files,they can output static js file for proto files,and d.ts file.
You can get more from my blog,if your are familiar with Chinese.