How do I sync instances in multiplayer

Get help using Construct 2

Post » Thu Jan 22, 2015 10:45 pm

I want my game to be multiplayer, but I seem only to be able to sync objects, not instances of objects, attached is a slightly modified pong demo, whats odd is the two sprite instances are transmitted to the client, but the rest are lost.

What am I missing?

Hmm, seems kmsravindra 876478 is the same issue,
You do not have the required permissions to view the files attached to this post.
B
7
S
1
Posts: 33
Reputation: 501

Post » Thu Jan 22, 2015 11:45 pm

Here it is working. I left a few notes where the problems were.

I wish I could tell you exactly what is happening but I haven't experimented with real-time networking enough to explain it.
You do not have the required permissions to view the files attached to this post.
ImageImage
B
123
S
23
G
7
Posts: 1,071
Reputation: 13,091

Post » Tue Jan 27, 2015 11:42 pm

Thank you so much GenkiGenga, it certainly works,
I agree I don't quite understand why the problem occurs for some items (3rd and 4th instances of my sprite) and not others, (the paddle sprite). It's interesting that removing the multiplayer association for the paddle in event 11 does not prevent it working in game.

Thanks again
B
7
S
1
Posts: 33
Reputation: 501


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 34 guests