Open ghost opened 5 years ago
I am currently, in your hosted version, and it shows a null ID.
I am however just interested in how you fitted the peerjs calls in phaserjs because I need that for a pet project of mine.
Thanks @earlin , I see this too. I wonder if PeerJS updated something in the last 4 years that isn't backwards compatible.. I'd be happy to review a pull request if anyone wants to take a look at this.
I do have a separate multiplayer with PhaserJS tutorial here that uses Socket.io you might find useful: https://code.tutsplus.com/tutorials/create-a-multiplayer-pirate-shooter-game-in-your-browser--cms-23311
I am actually investigating WebRTC for now, but I will look into WebSockets afterwards.
Just saw this - if you're still running into this issue, let me know!