Navigation

    Colyseus
    • Login
    • Search
    • Recent
    • Tags
    • Users
    1. Home
    2. tng2903
    T

    tng2903

    @tng2903

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

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

    Posts made by tng2903

    RE: Unity3d request position at time

    @halome Yup, do it like that you can raise the security bar of your game, if you want to use navagent, you should take a look at Unity headless master server :D

    posted in Questions & Help •
    RE: Unity3d request position at time

    I'm totally new to Colyseus but I've worked on multiplayer games for a while, and here is my idea about your problem: server calculate, client do.

    In your particular scenario, it should be step like these:

    • Player clicked on location, Client send the action (clicked, [location]) to server
    • Server process, so at time 0.2s, player model will be at x, which direction like so, speed like so, send that information (0.2, [x], [dir],[speed]) to user
    • Client display those information, and wait for next move from server

    Then, no matter how many clients connected to your server, they will received the same game state

    posted in Questions & Help •