[Multiplayer Plugin] Sync complex movement between peers

Get help using Construct 2

Post » Wed Apr 09, 2014 4:07 pm

Hello all! A friend is on fire about this new feature and ask me something that i don't know either.
Can we sync movement mechanics more complex than simple key presses?
For example a swipe with starting and ending point (touch or click) but uncertain destination for the object itself?
Or a limited draw line for a character to move along, like the movement in "Flight Control".

Those kind of movement can still be synced and send as a normal packet between host and peers?
I'm worry with the packet sending more than the ability to sync the movement on all peers.


Hopefully you understood what kind of movements i'm talking about. If not then i will clarify with more examples.

Thanks!
B
31
S
4
G
4
Posts: 110
Reputation: 4,593

Post » Wed Apr 09, 2014 9:27 pm

Have you read the three multiplayer tutorials? Syncing does not involve any transmission from peer to host, that's done by client input values, which you can send pretty much any data with.
Scirra Founder
B
399
S
236
G
89
Posts: 24,546
Reputation: 195,436

Post » Thu Apr 10, 2014 3:43 am

Yes i read them. I didn't meant to say that the syncing was from peer to host. I was worry about what kind of data can be sent as a signal to move something.
A key press is one thing but a drawn line maybe was an overkill. But if you say there's no dangerous limitations on client inputs i will make some happy around here.
I will recheck the third tutorial anyways. This is a project i was not involved and i could mess up what i say to my friends :s

Thanks Ashley for your time to answer.
B
31
S
4
G
4
Posts: 110
Reputation: 4,593


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, humanescape, jezjones24 and 28 guests