Skip to main content

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

Hi, great game and code, anyway couple questions, I did a multiplayer game in js using webrtc with peerjs, I can connect multiple players to one id without using any server (just give the generated ID to the others),also signaling with webrtc throught peerjs. Should be possible doing this on Godot? thx

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...