ecctrl
ecctrl copied to clipboard
multiplayer online functionality
I have a scenario where I need to implement multiplayer online functionality. I will use socket to synchronize players' state information to a local store named players: new Map(). Can I directly use this players data to drive the Ecctrl component for updates?
I think so. Someone had integrated ecctrl to their multiplayer system.
For the same requirement, how should I display other players? Should I use a map loop, and how should actions be handled?