Navigation

    Colyseus
    • Login
    • Search
    • Recent
    • Tags
    • Users
    1. Home
    2. lw1990
    L

    lw1990

    @lw1990

    Chat Follow Unfollow
    4
    Reputation
    2
    Posts
    1488
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

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

    Posts made by lw1990

    RE: Persistent sessions

    A colyseus + DB with authentication would be the ideal example IMO
    something like the existing tic tac toe example with a simple user creation (DB) and login (authentication) would be enough

    and it would be all someone needs to make a complete multiplayer game experience

    posted in Questions & Help •
    RE: Phaser 3 Integration - Server and client?

    Client-side logic has the advantage of being low latency, so user experience is better.
    But for multiplayer games, this is a major problem - client side logic can be altered so that cheating works.

    In 2018, for most browser based games, server-side logic is sent fast enough because of internet speeds to not cause a bad user experience, and has the massive benefit of being safe from cheating. It also prevents clients 'getting out of sync' accidentally even if not an intentional cheat. Finally it helps protect your source code from people who would just clone your client and make their own identical game.

    The ideal implementation would be client-side logic which executes first, then server-side logic which executes, and if they mismatch, the game state is updated to the authoritative one dictated by the server. This allows low-latency for the clients and prevents cheating. The problem with this ideal implementation is that it's complicated, and not necessary for most use cases.

    posted in Questions & Help •