Navigation

    Colyseus
    • Login
    • Search
    • Recent
    • Tags
    • Users
    1. Home
    2. Diederik Van Remoortere
    Diederik Van Remoortere

    Diederik Van Remoortere

    @Diederik Van Remoortere

    Chat Follow Unfollow
    0
    Reputation
    3
    Posts
    1013
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    • Profile
    • More
      • Continue chat with Diederik Van Remoortere
      • Flag Profile
      • Following
      • Followers
      • Topics
      • Posts
      • Best
      • Groups
    Diederik Van Remoortere Follow

    Posts made by Diederik Van Remoortere

    update state from client ?

    Is there an api to update the client properties (from the client, not from server) without (continuously) having to send messages from the client to the sever ?

    For instance: in a multiplayer game where the server is responsible for updating the player's position, the client needs to continuously inform the server in which direction it is going/looking (Vector3).

    This can be done using: this.room.send({direction: {...}});
    But could it be done using: this.client.state.set({direction = {...}};

    posted in Questions & Help •
    RE: colyseus.js: server error: registeredHandler.klass is not a constructor

    Hi all,

    I'm just starting out with your framework and I'm rather new to ES6 as well, so I'm probably a bit confused.

    The things I'm confused about are:

    • should I use babel ? if yes, which version ? @erochOnGit in your nodeGame repo you are using @babel which seems to be a beta version of babel, is this intentionally ?
    • which babel preset should I use ?
    • should I use type script or javascript ? (i prefer the later...)
    • I 'd prefer to write my code using the ES6 syntax (i.e. using import i.s.o require()...), your examples are also written in it...

    It might be a good idea to update your getting started section on the website as it is currently a bit weird to clone a git repo to start a new project instead of using npm install commands.... I'm just being frank here ;)

    I stumbled upon your project by accident for a multiplayer demo game I'm currently co-working on with some colleagues, and it would be nice to continue using Colyseus for it...

    Thanks for your responses, apologies for the late reply.

    Best Regards,
    Diederik

    posted in Questions & Help •
    RE: colyseus.js: server error: registeredHandler.klass is not a constructor

    same error here, any solution ?

    posted in Questions & Help •