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?
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?
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
@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.
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.
Hey all - I'm trying to figure out some matchmaking/lobby creation flows and I was wondering:
can I use joinOrCreateById
?
Thanks in advance!