[go: up one dir, main page]

colyseus

Colyseus Multiplayer SDK
https://github.com/colyseus/colyseus-haxe/

To install, run:

haxelib install colyseus 0.17.6 

See using Haxelib in Haxelib documentation for more information.

README.md



Discussion forum

Multiplayer Game Client for Haxe
View documentation

Running the demo project

First, download and install Haxe.

The example project can be compiled to html5, neko, cpp, ios, etc.

Compiling the demo project to html5

git clone https://github.com/colyseus/colyseus-haxe.git
cd colyseus-haxe/example/openfl
haxelib install openfl
haxelib install lime
haxelib install tink_http
haxelib install tink_await
haxelib install swf
haxelib install colyseus-websocket
haxelib run lime test project.xml html5

Running the server

The demo project uses the SDK Test Server. You can start the server by running the following commands:

git clone https://github.com/colyseus/sdks-test-server
cd sdks-test-server
npm install
npm start

Development

Running the test-suite:

haxe hxml/test.js.hxml

Troubleshooting

Error#500: Chunked encoding is not supported and the content-length header is required.

Make sure your HTTP responses from the server-side don't respond with Transfer-Encoding: chunked header. Include the Content-Length: xxx header to avoid "chunked" responses.

Dependencies

colyseus-haxe depends on colyseus-websocket

License

MIT

Contributors
endel
Version
0.17.6
Published
2 days ago
Dependencies
License
MIT

All libraries are free

Every month, more than a thousand developers use Haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on GitHub!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on GitHub