How do I best sync sound effects in Multiplayer?

Get help using Construct 2

Post » Mon Jun 30, 2014 11:02 am

Hi. Since collisions seem to be not working properly on peers and the host does all the "work" what is the best way to sync sound effects?
For example there are rockets hitting another object, an explosion spawns and a sound effect is played.

I synced the explosion and the object hit via multiplayer but whats a good way to let the peers know to play a sound? Maybe via an instance variable for the explosion/object hit or via broadcasting a message like "playsound"?

/update: I will try OnCreated for the synced explosion effect but I assume for other events where sound should change or be played a broadcast messagage fits best? (or a synced variable)
Bl4ckSh33p-Soft - Custom Software and Indie Games
Posts: 762
Reputation: 9,615

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 7 guests