Skip to content

colyseus/native-sdk

Repository files navigation

Colyseus Native SDK

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.

Releases

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

Building

git submodule update --init --recursive
zig build

# Run example
zig build run-example

Project Structure

native-sdk/
├── build.zig              # Build configuration
├── include/               # Public API headers
├── src/                   # Implementation
├── examples/              # Example programs
├── docs/                  # Documentation
└── third_party/           # Dependencies (cJSON, sds, uthash, wslay)

Dependencies

  • cJSON - JSON parser (included)
  • sds - String library (included)
  • uthash - Hash table library (included)
  • wslay - WebSocket library (included)
  • mbedTLS - TLS library (system install required)

Documentation

Status

Work in progress. API is subject to change.

License

See LICENSE file for details.

About

WIP: Shared native cross-platform SDK aimed to be used on Godot, Unreal, Game Maker, etc.

Resources

License

Stars

Watchers

Forks

Contributors