How do I Multiplayer PHP servers

Get help using Construct 2

Post » Tue Jun 28, 2016 12:57 am

I came across
https://www.scirra.com/tutorials/721/le ... ial/page-6
Is this a good tutorial for php Multiplayer or is there a better or updated one

Is the multiplayer Signalling server better? Can I use that for a Multiplayer PHP server?

Any tutorials or plugins on Multiplayer PHP servers is helpful
B
48
S
33
G
19
Posts: 58
Reputation: 14,217

Post » Tue Jun 28, 2016 7:33 am

The Multiplayer Plugin together with the Signaling server by Scirra is a Peer to Peer connection, where the Signaling server only establish the connection between peers, so realtime Multiplayer. PHP would make a asynchronous Multiplayer, so you have to use AJAX. The third would be a server with Websocket, that would be realtime or asynchronous Multiplayer, depending on you server code. I made a dedicated server with the Multiplayer Plugin, but didn't post a tutorial yet. Or you use a thirdparty plugin like "Photon".

Witch one works best for your game have you to decide. There are Tutorials for all these variants, but Websocket is a bit more complicated.
B
11
S
4
G
5
Posts: 73
Reputation: 3,431


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 5 guests