How do I Sync a tilemap?

Get help using Construct 2

Post » Tue Mar 22, 2016 7:59 pm

Basically I want to know how do I Sync a tilemap for multiplayer?

When the one player clicks to remove a block or place down a block I want all the players to see the block placed or removed.
B
23
S
8
Posts: 115
Reputation: 2,640

Post » Tue Mar 22, 2016 8:41 pm

The host should take care of the syncing. Basically the player will send a message to the host with data regarding the input (placing which block where) and the host will change the tilemap based on that input. The host will then sync the tilemap object to all the peers.
Mistakes were made.
B
53
S
27
G
114
Posts: 1,695
Reputation: 64,438

Post » Tue Mar 22, 2016 8:43 pm

maybe you can stock the json of a tilemap in a variable and sync that variable
My Twitter:

@Sirvoidd

My Tutorial:

Multiplayer with Photon
B
33
S
12
G
9
Posts: 73
Reputation: 7,114


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 8 guests