Synch TileMapLayers across peers
reddit.com·14w·
Discuss: r/godot

Hello,

Disclaimer: I’m using C#. With that out of the way,

I have a few TileMapLayers that are the representation of the game world (map, characters, etc.).

The way I have implemented things is that if I click on a Cell on screen the program will check if the cell has anything in it and process it accordingly.

The aforementioned check is done via the Dictionary.ContainsKey method (every Layer has a dedicated Dictionary for this purpose and the keys are the Vector2I of the Cells).

Here’s my problem - I can’t find a way to synchronize any of the methods I use across multiplayer. Running multiple instances simply results in having multiple independent games. (I have managed to follow several tutorials and am certain that I managed to get the simulated network to work correc…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help