This project is under active development! We may introduce breaking changes at any time.
Cross-platform Native SDK for Colyseus. Aimed to be used for all native targets, such as Godot, Unreal Engine, Game Maker, and more.
| Release | Description | Platforms |
|---|---|---|
| Godot | GDExtension plugin for Godot 4.x | Windows, macOS, Linux, iOS, Android, Web |
| GameMaker | Native extension for GameMaker | Windows, macOS, Linux, iOS, Android, HTML5 (WASM) |
| Static Binaries | Pre-built static libraries (C API) | Windows, macOS, Linux, iOS, WebAssembly |
git submodule update --init --recursive
zig build
# Run example
zig build run-examplenative-sdk/
├── build.zig # Build configuration
├── include/ # Public API headers
├── src/ # Implementation
├── examples/ # Example programs
├── docs/ # Documentation
└── third_party/ # Dependencies (cJSON, sds, uthash, wslay)
- cJSON - JSON parser (included)
- sds - String library (included)
- uthash - Hash table library (included)
- wslay - WebSocket library (included)
- mbedTLS - TLS library (system install required)
Work in progress. API is subject to change.
See LICENSE file for details.