Navigation

    Colyseus
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Users
    1. Home
    2. swittk
    swittk

    swittk

    @swittk

    Chat Follow Unfollow
    0
    Reputation
    1
    Posts
    1014
    Profile views
    1
    Followers
    0
    Following
    Joined Last Online

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