Skip to content

@endel endel released this May 25, 2019

Support for new experimental @colyseus/social API.
See documentation: https://docs.colyseus.io/authentication/

Now available in the client:

  • client.auth:login()
  • client.auth:get_friends()
  • client.auth:get_online_friends()
  • client.auth:get_friend_requests()
  • client.auth:send_friend_request(user_id)
  • client.auth:accept_friend_request(user_id)
  • client.auth:decline_friend_request(user_id)
  • client.auth:send_friend_request(user_id)
  • client.auth:block_user(user_id)
  • client.auth:unblock_user(user_id)
  • client.push:register()
Assets 2

@endel endel released this Apr 23, 2019 · 22 commits to master since this release

Supports polymorphism

Assets 2

@endel endel released this Mar 31, 2019 · 29 commits to master since this release

Compatible with room proxying available on colyseus@0.10.2

Assets 2

@endel endel released this Mar 24, 2019 · 32 commits to master since this release

New state serializer is now available!

See migration guide here: https://docs.colyseus.io/migrating/0.10/

Assets 2

@endel endel released this Feb 14, 2019 · 54 commits to master since this release

  • returns listener on eventemitter's on function.

Allows to do this:

local listener = room:on("message", function()
  -- ...
end)

room:off("message", listener)
Assets 2

@endel endel released this Dec 13, 2018 · 58 commits to master since this release

Prevent crash when calling close()twice. #8

Assets 2

@endel endel released this Dec 6, 2018 · 60 commits to master since this release

Compatibility with defold-websocket 1.5.0

Assets 2

@endel endel released this Dec 5, 2018 · 61 commits to master since this release

Emit "close" when connect is not successful

Assets 2

@endel endel released this Sep 4, 2018 · 63 commits to master since this release

Add a flag for auto-connection on client constructor.

Usage:

client = Colyseus.new("ws://localhost:4657", false)

-- manually tell when to connect
client:connect()
Assets 2

@endel endel released this Jul 22, 2018 · 67 commits to master since this release

Include change.previous_value on "replace" operations

Assets 2
You can’t perform that action at this time.