Do clients changes affect anyone else in multiplayer?

Get help using Construct 2

Post » Sat Jan 30, 2016 7:15 am

Hey!

I am wondering just what's been asked in the subject, if someone who isn't host is programmed to do something without making the host control that thing, would that code apply to just the client?
B
5
Posts: 23
Reputation: 273

Post » Sun Jan 31, 2016 1:03 am

It really depends what you mean. I assume you are talking about Multiplayer object (WebRTC channels). Well designed real-time multiplayer game is the game where peer/client cannot cheat. It means that any action which has an impact on the game and the "fairplay" should go through the host and he is the one to say if this move is correct/allowed or not.

But obviously there are some action which does not affect overall gameplay, for instance when player goes to the menu and change some setting (sound volume - that is trivial, but you know what I mean) then there is absolutely no point to inform host or other players about that.

Basicaly when you write multiplayer game it's you (the designer/developer) who decides which data gonna be sinchronized and which won't. Multiplayer object just gives you great tools to do it.
Image
B
30
S
16
G
55
Posts: 862
Reputation: 31,903

Post » Mon Feb 01, 2016 10:23 am

Oh ok thanks, just what I wanted to know!
B
5
Posts: 23
Reputation: 273


Return to How do I....?

Who is online

Users browsing this forum: alajajm, Benjo11, dzert14, imhotep22, Shaun Randle and 4 guests