Skip to content
Examples for colyseus-hxjs library.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
haxe_libraries
src
.gitignore
.haxerc project started Apr 8, 2019
README.md moved es6 flag, update readme, update hxjs lib to latest Apr 10, 2019
client.hxml
server.hxml

README.md

colyseus-hxjs-examples

Examples for colyseus-hxjs library ported from official Colyseus examples

  • Note that since ES6 code is required you should use haxe no earlier than 4.0.0-rc.2

Compile server example

lix download
haxe server.hxml
cd bin/server
yarn
node index.js
  • Note you should have lix installed: npm i lix -g

Run client(s) of your choice

Please note that these are only server side examples. You should take care of creating proper client yourself:

  • Either compile and run client.hxml
haxe client.hxml
cd bin/client
yarn
node index.js
  • Or use client provided in official Colyseus examples at /static (don't forget to bundle client lib so that colyseus.js got created)
You can’t perform that action at this time.