Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/colyseus/colyseus-haxe
⚔ Colyseus Multiplayer SDK for Haxe
https://github.com/colyseus/colyseus-haxe
colyseus haxe haxelib multiplayer netcode networking
Last synced: 2 months ago
JSON representation
⚔ Colyseus Multiplayer SDK for Haxe
- Host: GitHub
- URL: https://github.com/colyseus/colyseus-haxe
- Owner: colyseus
- License: mit
- Created: 2018-07-09T02:36:45.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-30T17:50:52.000Z (4 months ago)
- Last Synced: 2024-10-28T02:07:40.645Z (3 months ago)
- Topics: colyseus, haxe, haxelib, multiplayer, netcode, networking
- Language: Haxe
- Homepage: https://docs.colyseus.io/getting-started/haxe-client/
- Size: 332 KB
- Stars: 75
- Watchers: 15
- Forks: 16
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-haxe-gamedev - colyseus-hx - Multiplayer Game Client. (Networking)
README
## Running the demo project
First, download and install [Haxe](https://haxe.org/download/).
The [`example`](https://github.com/colyseus/colyseus-haxe/blob/master/example/openfl) project can be compiled to `html5`, `neko`, `cpp`, `ios`, etc.
It uses the `state_handler` room from the [colyseus-examples](https://github.com/colyseus/colyseus-examples) project, which you can find [here](https://github.com/colyseus/colyseus-examples/blob/master/rooms/02-state-handler.ts).
### 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 colyseus-websocket
haxelib run lime test project.xml html5
```## Development
Running the test-suite:
```
haxe hxml/test.js.hxml
```## Dependencies
[colyseus-haxe](https://github.com/colyseus/colyseus-haxe) depends on [`colyseus-websocket`](https://github.com/colyseus/colyseus-websocket-hx)
## License
MIT