Synchronizing a sound?

Posted by jamop
Hi, I was wondering if it is possible for a sound to be played on all clients. What I currently have is a shotgun sound that is played when the player presses the left mouse button, but this sound is not played on other clients. Is it possible to synchronise this?

Replies (3)

Last message on 28 Dec 2017

Pick on 28 Dec 2017, 17:30:01
Hi,

You should see (https://gamemakerserver.com/en/forum/board/4/view/333/) for more information about sound synchronisation. Ytsim has made an excellent tutorial on it.
Size43 (Administrator) on 30 Jun 2017, 11:12:53
Also check out P2P messages, you could send a p2p message (which is not a chat message!) to all other players to indicate that they should play a sound. This should use less resources than using instance sync.
ziad87 on 20 Jun 2017, 18:59:09
maybe you could summon a object that plays the sound, then sync that with gms_instance_sync