How do I make multiplayers controls

Get help using Construct 2

Post » Thu Jun 18, 2015 4:52 pm

Hi i'm currently trying to learn how multiplayer works and i read Ashley's tutorials about multiplayer and i'm now trying to make an online modified pong based on the tutorial but for my future games i will need to know how to make multiplayers controls beacause i don't really understand how controls work and English isnt my main language i'm a french schoolboy but anyways is there someone who can explain to me ?


PS : Thanks for reading :)
B
7
S
3
Posts: 11
Reputation: 632

Post » Thu Jun 18, 2015 5:50 pm

The way you implement the controls is greatly effected / determined how your logic works for the object being controlled.

There is not 1 best approach for all.

Just keep in mind, that a peers control actions are required to be executed on each connected peer and that the host's positioning of the synched object is likely the best way to determine location on the layout.

Combining your own peers movement in your screen with movement feedback from the host about your position, combined with some fancy delta time applied mechanics, gives the smoothest results.

This is not an easy concept and very likely to escape most c2's game devs imagination.
Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,567


Return to How do I....?

Who is online

Users browsing this forum: AndreasR, HellMax, tarek2 and 9 guests