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.
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.
Develop games in your browser. Powerful, performant & highly capable.
maybe you can stock the json of a tilemap in a variable and sync that variable