Navigation

  • Recent
  • Tags
  • Users
  • Search
  • Login
Colyseus
  • Login
  • Search
  • Recent
  • Tags
  • Users

Documentation GitHub

We're migrating to GitHub Discussions. This forum does not accept new registrations since April 6, 2023.
  1. Home
  2. LukeWood
  3. Posts
  • Profile
  • More
    • Continue chat with LukeWood
    • Flag Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

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 • 10 Apr 2020, 02:55
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 • 10 Apr 2020, 02:45
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 • 6 Apr 2020, 19:23
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 • 5 Apr 2020, 04:11
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 • 5 Apr 2020, 04:09

© 2023 Endel Dreyer