2DWorlds Forums
... Oh come on. Top down doesn't work in multiplayer. - Printable Version

+- 2DWorlds Forums (http://2dworlds.buildism.net/forum)
+-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4)
+--- Forum: Bug Reports (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=23)
+--- Thread: ... Oh come on. Top down doesn't work in multiplayer. (/showthread.php?tid=9302)

Pages: 1 2 3 4


RE: ... Oh come on. Top down doesn't work in multiplayer. - Jacob__mybb_import1 - 05-08-2012

Probably not, since I don't know how and TCP works well.


RE: ... Oh come on. Top down doesn't work in multiplayer. - noob007 - 05-08-2012

I'm not sure how well TCP will scale as games become bigger/more complex/more demanding. I guess we'll cross the bridge when we get there.


RE: ... Oh come on. Top down doesn't work in multiplayer. - Dignity - 05-08-2012

Noob, what is with you and UDP?


RE: ... Oh come on. Top down doesn't work in multiplayer. - Paradox - 05-08-2012

(05-08-2012, 12:59 AM)Dignity Wrote: Noob, what is with you and UDP?

UDP is much faster than TCP.


RE: ... Oh come on. Top down doesn't work in multiplayer. - Dignity - 05-08-2012

(05-08-2012, 01:01 AM)Paradox Wrote:
(05-08-2012, 12:59 AM)Dignity Wrote: Noob, what is with you and UDP?

UDP is much faster than TCP.

But less reliable.


RE: ... Oh come on. Top down doesn't work in multiplayer. - noob007 - 05-08-2012

The increased speed and reduced overhead of UDP overpowers its minimal unreliability. It's what games should use for packets sent very frequently. TCP is streaming and is designed for streaming data and media, not really games.


RE: ... Oh come on. Top down doesn't work in multiplayer. - Dignity - 05-08-2012

I still have no idea what your talking about.

All I know is what the protocols do.


RE: ... Oh come on. Top down doesn't work in multiplayer. - Qwertygiy - 05-08-2012

From what I can gather,

UDP data sent: 10101 01011 10100 10101 X01X0 10011 10101

TCP data sent: 10110100101001010100101010101010101011101110100


RE: ... Oh come on. Top down doesn't work in multiplayer. - noob007 - 05-08-2012

(05-08-2012, 01:19 AM)Qwertygiy Wrote: From what I can gather,

UDP data sent: 10101 01011 10100 10101 X01X0 10011 10101

TCP data sent: 10110100101001010100101010101010101011101110100

Ah, but there's a common misunderstanding! UDP packets are guaranteed to arrive completely as a whole or not arrive at all. So what can happen is either a packet gets lost or arrives in the wrong order, but that isn't very common in most networks nowadays.


RE: ... Oh come on. Top down doesn't work in multiplayer. - Qwertygiy - 05-08-2012

So more like

UDP data sent: 10101 01011 10100 10101 XXXXX 10011 10101

TCP data sent: 10110100101001010100101010101010101011101110100


With the XXXXX'd one only happening rarely.