Navigation

  • Recent
  • Tags
  • Users
  • Search
  • Login
Colyseus
  • Login
  • Search
  • Recent
  • Tags
  • Users

Documentation GitHub

We're migrating to GitHub Discussions. This forum does not accept new registrations since April 6, 2023.
  1. Home
  2. swittk
swittk

swittk

@swittk

Chat Follow Unfollow
0
Reputation
1
Posts
1.8k
Profile views
1
Followers
0
Following
Joined 15 May 2018, 14:27 Last Online 2 Jun 2018, 12:18

  • Profile
  • More
    • Continue chat with swittk
    • Flag Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups
swittk Follow

Posts made by swittk

Colyseus Objective-C Client

Hi guys.
I discovered Colyseus a while ago while trying to find a library to simplify my online game creation workflow. However, as you know, the main clients are for Javascript and C# (Unity).

I'm mainly an iOS developer, so I thought I might do some contribution, just in case.

GitHub : Colyseus-ObjC

So, here's my translation of the C# Unity client into Objective-C.
The Fossil delta algorithm is taken from the C++ library someone did for Cocos2D.
Websocket communication is done via the PSWebSockets library.
MessagePack decoding is done by the MPMessagePack library.

It's still a work in progress for sure, I haven't done a lot of testing on it, but so far, state synchronization works, and basic messaging seems to work for me.

Colyseus is a very useful tool, and I would like to see more interpretations of it in other languages, too.

posted in Announcements • 15 May 2018, 14:36

© 2023 Endel Dreyer