Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

PeerJS still uses a server, it's just that they run one for you so you don't have to set up your own. Using PeerJS from godot would require porting their library and negotiation protocol over. Not impossible, but a fair amount of work.

Thanks for the reply, I don't mean to port PeerJS on godot, anyway I'm trying to connect more than 2 players on your project.

Ohh, sorry. Yeah, sure. The original webRTC example that my code is based on can do that.https://github.com/godotengine/godot-demo-projects/tree/master/networking/webrtc...