Skip to content

Releases: colyseus/native-sdk

Colyseus Native SDK - Static Library v0.18.10

Choose a tag to compare

@github-actions github-actions released this 15 Oct 01:01

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/include

Zig 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

Choose a tag to compare

@github-actions github-actions released this 15 Oct 01:03

Colyseus Godot SDK v0.18.5

Fixed

  • A failed join's error signal now carries the server's error text, such as
    provided room name "battle" not defined, instead of its JSON body.

Installation

  1. Download the colyseus-godot-0.18.5.zip file
  2. Extract the addons folder into your Godot project root
  3. macOS only: Remove the quarantine attribute by running in the project root:
    xattr -cr addons/colyseus
    
  4. 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

Choose a tag to compare

@github-actions github-actions released this 15 Oct 01:01

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's colyseus_on_* handlers.
  • colyseus_on_error for a failed join now gets the server's error text, such
    as provided room name "battle" not defined, instead of its JSON body
    (unknown on HTML5).
  • colyseus_send() now sends numeric message types, as in
    colyseus_send(room, 7, data). They were dropped without a warning.

Installation

  1. Download colyseus-gamemaker-0.18.6.yymps
  2. In GameMaker, go to Tools → Import Local Package
  3. Select the .yymps file, 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

Choose a tag to compare

@github-actions github-actions released this 09 Oct 17:56

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/include

Zig 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

Choose a tag to compare

@github-actions github-actions released this 09 Oct 17:59

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 a Dictionary (an HTTP reply, a lobby
    room's message) or a JSON String.

Fixed

  • Rooms on a server configured with a publicAddress are now reached at that
    address instead of the client's endpoint.

Installation

  1. Download the colyseus-godot-0.18.4.zip file
  2. Extract the addons folder into your Godot project root
  3. macOS only: Remove the quarantine attribute by running in the project root:
    xattr -cr addons/colyseus
    
  4. 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

Choose a tag to compare

@github-actions github-actions released this 09 Oct 17:57

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 publicAddress are now reached at that
    address instead of the client's endpoint.

Installation

  1. Download colyseus-gamemaker-0.18.5.yymps
  2. In GameMaker, go to Tools → Import Local Package
  3. Select the .yymps file, 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

Choose a tag to compare

@github-actions github-actions released this 02 Oct 16:05

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/include

Zig 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

Choose a tag to compare

@github-actions github-actions released this 02 Oct 16:09

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

  1. Download colyseus-gamemaker-0.18.4.yymps
  2. In GameMaker, go to Tools → Import Local Package
  3. Select the .yymps file, 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

Choose a tag to compare

@github-actions github-actions released this 23 Sep 22:51

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/include

Zig 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

Choose a tag to compare

@github-actions github-actions released this 23 Sep 23:04

Colyseus Godot SDK v0.18.3

Fixed

  • on_add no 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

  1. Download the colyseus-godot-0.18.3.zip file
  2. Extract the addons folder into your Godot project root
  3. macOS only: Remove the quarantine attribute by running in the project root:
    xattr -cr addons/colyseus
    
  4. 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)