I recently started using Phaser v3 and I’m enjoying it a lot. However, when it comes to using socket.IO I’m getting a little bit lost on updating multiple players at once. ( update loop I guess? )
I’m using this tutorial to set up a Pathfinding system
And this one for multiplayer settings
However, I ran myself into 2 big problems.
I can’t update players positions to other socket connections, just the active one (current browser).
I can’t move players on AWSD keys properly, just by clicking.
Can you guys please give some tips or ideas on how to fix this? I’m feelin’ a lil’ bit lost in this, kinda ran out of ideas on how to fix it =(
This is my game repo https://bitbucket.org/vini-guerrero/phasergame/admin
I would really appreciate some help to understand this better…
Thanks in advance!
Best regards from Brazil!