Navigation

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

    LukeWood

    @LukeWood

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

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

    Posts made by LukeWood

    RE: ArraySchema not sending removed items to client

    Looks like filter has a TODO down there in:

    https://github.com/colyseus/schema/blob/master/src/types/ArraySchema.ts

    @endel is there an issue open I could take on to fix this?

    posted in Questions & Help •
    ArraySchema not sending removed items to client

    Hey all!

    I've been removing items from an arrayschema as such:

    this.items = this.items.filter(item => item.active)
    

    This is not broadcasted back to the client for some reason.

    Is there a better way to remove a single item from an ArraySchema?

    thanks in advance

    posted in Questions & Help •
    RE: Is it possible to run `joinOrCreateById`?

    @endel very cool! I see how that’s handled now.

    Also very handy to know about the filtering features :). It seems could be really useful in implementing some sort of ranked matchmaking service.

    posted in General Discussion •
    Hey All! I'm Luke

    Hey Everyone!

    My name is Luke and I'm new to using colyseus for my next multiplayer web game.

    My most recent web game was bulletz.io which I wrote from scratch without a framework. As you may imagine I was quite excited to find colyseus! I have been working on creating my next game where lobbies/matchmaking will have a much bigger role.

    Nice to meet everyone! Excited to contribute to the community however I can throughout my time using the framework.

    posted in Introduce Yourself •
    Is it possible to run `joinOrCreateById`?

    Hey all - I'm trying to figure out some matchmaking/lobby creation flows and I was wondering:

    can I use joinOrCreateById?

    Thanks in advance!

    posted in General Discussion •