Repository navigation
Releases: colyseus/native-sdk
Release list
Colyseus Native SDK - Static Library v0.18.10
Pre-built Binaries
Download the appropriate archive for your platform:
| Platform | Architecture | File |
|---|---|---|
| macOS | arm64 (Apple Silicon) | colyseus-macos-arm64.tar.gz |
| macOS | x86_64 (Intel) | colyseus-macos-x86_64.tar.gz |
| Linux | x86_64 | colyseus-linux-x86_64.tar.gz |
| Linux | arm64 | colyseus-linux-arm64.tar.gz |
| Windows | x86_64 | colyseus-windows-x86_64.zip |
| iOS | arm64 | colyseus-ios-arm64.tar.gz |
| WebAssembly | wasm32 | colyseus-wasm32.tar.gz |
| Apple (SwiftPM) | macOS, iOS, tvOS | Colyseus.xcframework.zip |
Swift
.package(url: "https://github.com/colyseus/colyseus-swift", from: "0.18.10")That package resolves Colyseus.xcframework.zip below. Declare the
binary target yourself only to reach the C API directly:
.binaryTarget(
name: "CColyseus",
url: "https://github.com/colyseus/native-sdk/releases/download/v0.18.10/Colyseus.xcframework.zip",
checksum: "66eb6f4ebd662e81f20e63a3c42c515159f523246238055ff55fdf6d09b09982"
)Usage
Extract the archive and link the library:
// Include headers
#include <colyseus/client.h>
#include <colyseus/room.h>
// Link: -L/path/to/lib -lcolyseus
// Include: -I/path/to/includeZig Build System
exe.addObjectFile(.{ .cwd_relative = "path/to/lib/libcolyseus.a" });
exe.addIncludePath(.{ .cwd_relative = "path/to/include" });Full Changelog: v0.18.9...v0.18.10
Godot SDK v0.18.5
Colyseus Godot SDK v0.18.5
Fixed
- A failed join's
errorsignal now carries the server's error text, such as
provided room name "battle" not defined, instead of its JSON body.
Installation
- Download the
colyseus-godot-0.18.5.zipfile - Extract the
addonsfolder into your Godot project root - macOS only: Remove the quarantine attribute by running in the project root:
xattr -cr addons/colyseus - Enable the plugin in Project Settings > Plugins
Supported Platforms
- Web
- macOS (arm64)
- iOS (arm64)
- Windows (x86_32, x86_64)
- Linux (x86_64)
- Android (arm32, arm64, x86_64)
GameMaker SDK v0.18.6
Colyseus GameMaker SDK v0.18.6
Fixed
- A room joined after another was freed, or after a join failed, no longer runs
the old room'scolyseus_on_*handlers. colyseus_on_errorfor a failed join now gets the server's error text, such
asprovided room name "battle" not defined, instead of its JSON body
(unknownon HTML5).colyseus_send()now sends numeric message types, as in
colyseus_send(room, 7, data). They were dropped without a warning.
Installation
- Download
colyseus-gamemaker-0.18.6.yymps - In GameMaker, go to Tools → Import Local Package
- Select the
.yympsfile, select all resources, and click Import
Supported Platforms
- Windows (x86_64)
- macOS (arm64, x86_64)
- iOS (arm64)
- Linux (x86_64)
- Android (arm64, arm32, x86_64)
- HTML5 (WASM)
Colyseus Native SDK - Static Library v0.18.9
Pre-built Binaries
Download the appropriate archive for your platform:
| Platform | Architecture | File |
|---|---|---|
| macOS | arm64 (Apple Silicon) | colyseus-macos-arm64.tar.gz |
| macOS | x86_64 (Intel) | colyseus-macos-x86_64.tar.gz |
| Linux | x86_64 | colyseus-linux-x86_64.tar.gz |
| Linux | arm64 | colyseus-linux-arm64.tar.gz |
| Windows | x86_64 | colyseus-windows-x86_64.zip |
| iOS | arm64 | colyseus-ios-arm64.tar.gz |
| WebAssembly | wasm32 | colyseus-wasm32.tar.gz |
| Apple (SwiftPM) | macOS, iOS, tvOS | Colyseus.xcframework.zip |
Swift
.package(url: "https://github.com/colyseus/colyseus-swift", from: "0.18.9")That package resolves Colyseus.xcframework.zip below. Declare the
binary target yourself only to reach the C API directly:
.binaryTarget(
name: "CColyseus",
url: "https://github.com/colyseus/native-sdk/releases/download/v0.18.9/Colyseus.xcframework.zip",
checksum: "8c397bac37f5ee87fa30b58a356c894d589f4637a9931f2673976e30397f5246"
)Usage
Extract the archive and link the library:
// Include headers
#include <colyseus/client.h>
#include <colyseus/room.h>
// Link: -L/path/to/lib -lcolyseus
// Include: -I/path/to/includeZig Build System
exe.addObjectFile(.{ .cwd_relative = "path/to/lib/libcolyseus.a" });
exe.addIncludePath(.{ .cwd_relative = "path/to/include" });Full Changelog: v0.18.8...v0.18.9
Godot SDK v0.18.4
Colyseus Godot SDK v0.18.4
Added
client.consume_seat_reservation(reservation)joins a room with a seat your
server reserved and handed over, as aDictionary(an HTTP reply, a lobby
room's message) or a JSONString.
Fixed
- Rooms on a server configured with a
publicAddressare now reached at that
address instead of the client's endpoint.
Installation
- Download the
colyseus-godot-0.18.4.zipfile - Extract the
addonsfolder into your Godot project root - macOS only: Remove the quarantine attribute by running in the project root:
xattr -cr addons/colyseus - Enable the plugin in Project Settings > Plugins
Supported Platforms
- Web
- macOS (arm64)
- iOS (arm64)
- Windows (x86_32, x86_64)
- Linux (x86_64)
- Android (arm32, arm64, x86_64)
GameMaker SDK v0.18.5
Colyseus GameMaker SDK v0.18.5
Added
colyseus_client_consume_seat_reservation(client, reservation)joins a room
with a seat your server reserved and handed over, as a struct (an HTTP reply,
a lobby room's message) or a JSON string.
Fixed
- Rooms on a server configured with a
publicAddressare now reached at that
address instead of the client's endpoint.
Installation
- Download
colyseus-gamemaker-0.18.5.yymps - In GameMaker, go to Tools → Import Local Package
- Select the
.yympsfile, select all resources, and click Import
Supported Platforms
- Windows (x86_64)
- macOS (arm64, x86_64)
- iOS (arm64)
- Linux (x86_64)
- Android (arm64, arm32, x86_64)
- HTML5 (WASM)
Colyseus Native SDK - Static Library v0.18.8
Pre-built Binaries
Download the appropriate archive for your platform:
| Platform | Architecture | File |
|---|---|---|
| macOS | arm64 (Apple Silicon) | colyseus-macos-arm64.tar.gz |
| macOS | x86_64 (Intel) | colyseus-macos-x86_64.tar.gz |
| Linux | x86_64 | colyseus-linux-x86_64.tar.gz |
| Linux | arm64 | colyseus-linux-arm64.tar.gz |
| Windows | x86_64 | colyseus-windows-x86_64.zip |
| iOS | arm64 | colyseus-ios-arm64.tar.gz |
| WebAssembly | wasm32 | colyseus-wasm32.tar.gz |
| Apple (SwiftPM) | macOS, iOS, tvOS | Colyseus.xcframework.zip |
Swift
.package(url: "https://github.com/colyseus/colyseus-swift", from: "0.18.8")That package resolves Colyseus.xcframework.zip below. Declare the
binary target yourself only to reach the C API directly:
.binaryTarget(
name: "CColyseus",
url: "https://github.com/colyseus/native-sdk/releases/download/v0.18.8/Colyseus.xcframework.zip",
checksum: "a448fbd2f68ea1f3eeefcfd4996ed0ff3631b98bf39b617628d4988fcf299030"
)Usage
Extract the archive and link the library:
// Include headers
#include <colyseus/client.h>
#include <colyseus/room.h>
// Link: -L/path/to/lib -lcolyseus
// Include: -I/path/to/includeZig Build System
exe.addObjectFile(.{ .cwd_relative = "path/to/lib/libcolyseus.a" });
exe.addIncludePath(.{ .cwd_relative = "path/to/include" });Full Changelog: v0.18.7...v0.18.8
GameMaker SDK v0.18.4
Colyseus GameMaker SDK v0.18.4
Fixed
- Android: server URLs with a hostname now connect instead of failing with
TemporaryNameServerFailure. IP addresses were unaffected.
#33 #22
Installation
- Download
colyseus-gamemaker-0.18.4.yymps - In GameMaker, go to Tools → Import Local Package
- Select the
.yympsfile, select all resources, and click Import
Supported Platforms
- Windows (x86_64)
- macOS (arm64, x86_64)
- iOS (arm64)
- Linux (x86_64)
- Android (arm64, arm32, x86_64)
- HTML5 (WASM)
Colyseus Native SDK - Static Library v0.18.7
Pre-built Binaries
Download the appropriate archive for your platform:
| Platform | Architecture | File |
|---|---|---|
| macOS | arm64 (Apple Silicon) | colyseus-macos-arm64.tar.gz |
| macOS | x86_64 (Intel) | colyseus-macos-x86_64.tar.gz |
| Linux | x86_64 | colyseus-linux-x86_64.tar.gz |
| Linux | arm64 | colyseus-linux-arm64.tar.gz |
| Windows | x86_64 | colyseus-windows-x86_64.zip |
| iOS | arm64 | colyseus-ios-arm64.tar.gz |
| WebAssembly | wasm32 | colyseus-wasm32.tar.gz |
| Apple (SwiftPM) | macOS, iOS, tvOS | Colyseus.xcframework.zip |
Swift
.package(url: "https://github.com/colyseus/colyseus-swift", from: "0.18.7")That package resolves Colyseus.xcframework.zip below. Declare the
binary target yourself only to reach the C API directly:
.binaryTarget(
name: "CColyseus",
url: "https://github.com/colyseus/native-sdk/releases/download/v0.18.7/Colyseus.xcframework.zip",
checksum: "6f1fd06aab3c910cfb83a4f955308ff730e4f85b014523cbefa629ff723f3cc8"
)Usage
Extract the archive and link the library:
// Include headers
#include <colyseus/client.h>
#include <colyseus/room.h>
// Link: -L/path/to/lib -lcolyseus
// Include: -I/path/to/includeZig Build System
exe.addObjectFile(.{ .cwd_relative = "path/to/lib/libcolyseus.a" });
exe.addIncludePath(.{ .cwd_relative = "path/to/include" });Full Changelog: v0.18.6...v0.18.7
Godot SDK v0.18.3
Colyseus Godot SDK v0.18.3
Fixed
on_addno longer fires a second time for items of a primitive map
(t.map("number"),t.map("string"), ...) when the server re-sends an
unchanged value, as it does in the first patch after a join.
Installation
- Download the
colyseus-godot-0.18.3.zipfile - Extract the
addonsfolder into your Godot project root - macOS only: Remove the quarantine attribute by running in the project root:
xattr -cr addons/colyseus - Enable the plugin in Project Settings > Plugins
Supported Platforms
- Web
- macOS (arm64)
- iOS (arm64)
- Windows (x86_32, x86_64)
- Linux (x86_64)
- Android (arm32, arm64, x86_64)