How do I Sync multiple instances (RTS like) (Multiplayer)

Get help using Construct 2

Post » Mon Mar 17, 2014 4:26 pm

So here's a thing I've been struggling with for quite many hours:
I want Player 1 (Host) to be able to create Units (multiple different, FUnits)
And Player 2 (Peer) to be able to create Units (multiple different, EUnits)
That only they can control:
Player 1 Control his units (FUnits)
Player 2 Control his units (EUnits)
And two variables (Moving and Health) needs to be synced.
Has somebody an idea how to do this?
My main problem is that i don't know how to control what unit's are spawned and how Player 2 can control these units.
I first thought that i should make:
If Player 1 -> Sync FUnits & FUnit Variables
If Player 2 -> Sync EnUnits & EUnit Variables
^^ That would be very easy, but it's not working :/
Thanks in advance, i hope i defined clearly where my problem is.
- Conti
"It's done when it's done"

Shadows of War
Buy on Steam ;)
Posts: 253
Reputation: 4,941

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 15 guests