Hello there!
For my game, after the host pressing start in the lobby I want to have a 5 second countdown so the players can prepare for the game to start.
To not get out of sync I do not just use a multiplayer message for the timer to start, but instead I use an invisible sprite object that I named SyncObject. It will have instance variables that I want to keep in sync with all of the, up to 4, other peers with the sync instance variable feature.
The first problem I face is that this SyncObject object will not be created on the peers side If I create that object on the host side. It will only be created if I drag and drop the SyncObject inside the editor on the layout, but not if I create it inside the eventing system with create object.
The second problem is that although I drag and drop the SyncObject and it will be created on the peers side the instance variable will just not sync.
When the timer is started I set the timer variable of the SyncObject to 5 on the host side and after every 1 second I substract 1 from it. But it remains 0 on the peer for the whole duration.
What am I doing wrong? As always, thanks in advance!