Multiplayer : Sync a timer

Get help using Construct 2

Post » Thu Mar 20, 2014 5:45 pm

Hi,

I'm working on my multiplayer game and I was wondering how to sync the round timer. So my game is made of rounds and each take 30 seconds.

Even if I start the layout at the same time, that doesn't mean every peer will start at the same time. I tried to start when everyone send "ready" to the host, but when applying some lag, it's not sync.

Should I put the timer on an instance variable called "GameManager" and sync this one ?

Any idea ? Tips ?
B
39
S
15
G
5
Posts: 295
Reputation: 6,089

Post » Thu Mar 20, 2014 7:00 pm

I would also like to know that, and how a peer can change an instance variable and sync it.
"It's done when it's done"

Shadows of War
Buy on Steam ;)
B
24
S
10
G
7
Posts: 253
Reputation: 4,931


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 28 guests