Proximity Voice extension

Add proximity-based voice chat to your multiplayer GDevelop games. Hear players only when they’re nearby. Walk away and voices fade out. Get closer and they get louder.

Using standard WebRTC with stun/turn servers and a separate signalling server (in Node.js)

https://www.youtube.com/watch?v=augbix7HneI

Perfect for party games, MMOs, hide-and-seek, roleplay servers, and any multiplayer game where “who’s in earshot” matters.

It supports both proximity and “flat” voice chat, as well as multiple rooms (so for example two teams can have separate voice channels). You can also un/mute yourself, all the other players or each player individually.

Go download it here:

https://avram.itch.io/proximity-voice-gdevelop-extension

4 Likes

Cool! Does this only work with the built-in multiplayer, or is it possible without multiplayer?

It works completely separately of, but fits perfectly in the built-in multiplayer.

You can use it with any other kind of multiplayer as long as you can provide it a unique room/lobby/server ID and each player has separate id. But I guess you need some kind of multiplayer, or who are you gonna talk to? :smiley:

1 Like

I’m going to publish the game on Yandex Games, but there’s no built-in multiplayer. And there are no other multiplayer extensions for the lobby, such as 2-player mode…

Well there is THNK and I think Pandako made a multiplayer extension, but that’s out of the scope of this topic.

I mean, technically, you could add it to a single player game too, and have players talk to each other, but nobody would know who they are talking to.

Players can know who they are talking to because Yandex can read the player’s name and ID.
I know these multiplayer extensions, I’ve searched the entire internet.
I think the best solution is photon. But then I’ll create an extension for this.

A-a-a-a-a-a-a-a-a-a-a!!!
I remembered that it wouldn’t work for me. Because the game won’t be allowed if the players spam and aren’t blocked!

We just did a public test with 4 players and it works! Mostly two players speaking here but you can clearly hear how the volume drops down with the distance.

Special thanks to @ZeroX4 and Plum (not sure about his @) for helping me test this! :tada:

2 Likes

Dat fart when i left

I just want to say it wasn’t me

1 Like

I just published the itch.io page for this extension:

https://avram.itch.io/proximity-voice-gdevelop-extension

2 Likes

no problem i didnt have forum yet but now i do

1 Like