multiplayer over the network

Find quick help here to get you started with Hollywood
peceha
Posts: 111
Joined: Tue Dec 13, 2016 8:39 am
Location: Poland

Re: multiplayer over the network

Post by peceha »

Well, looks like UDP is a waaaay faster - at least for me it works very well - pressing arrow on one computer moves the sprite on the other one on the fly.
Thanks

But anyway, have another question (because I'm not sure if I understood correctly the documentation):
to use UDP do I have to create UDP Object on each computer I want to communicate with (and with the same parameters) ? - so far I did like this and it works but maybe it is not the right way.

Code: Select all

createUDPObject(1,5912)
Post Reply