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
51
S
25
G
107
Posts: 1,581
Reputation: 60,458

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
32
S
12
G
9
Posts: 73
Reputation: 7,079


Return to How do I....?

Who is online

Users browsing this forum: charliesan763, JaredX and 10 guests