Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 943 Bytes

README.md

File metadata and controls

28 lines (24 loc) · 943 Bytes

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.3
  • Project is using lix dependency manager. To install lix globally use this command npm i lix -g

Compile server example

lix download
haxe server.hxml
cd bin/server
yarn
node index.js

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)