How do I Use the Multiplayer signalling server

Get help using Construct 2

Post » Tue May 24, 2016 10:08 am

I created alot of servers for alot of games [Private Servers] so Im pretty use to this but here Im a little lost. I cant find a tutorial on how I would set this up with construct 2.
{Still New to Construct 2}

I want to Host my Own Multiplayer servers on my own computer. Now, I know I need to use Wamp or Xamp but Im lost when It comes to making a Login and actually having people connect to the Servers.

Questions
1. Where Do I start?
2. Any Tutorials?
3. Any Tips, Tricks or addons I could use?

Please any help is appreciated!
B
53
S
33
G
19
Posts: 65
Reputation: 14,358

Post » Wed May 25, 2016 7:43 pm

First. you need to decide if you want a centralized server or a peer-to-peer system. If you want a centralized server, you have all of the users connect to your server via AJAX, WebSockets, etc. If you decide to use peer-to-peer you can use the Multiplayer plugin which runs through Scirra's signalling server. The signalling server is a temporary connection to serve as a meeting place for game clients to connect directly to one another, so it is not a persistent connection.

If you choose to do a centralized server, you need to select a language to write your backend programs in. Java, Python, PHP, come to mind and design an application program interface for your server and game clients to communicate by and choose a protocol to communicate with (HTTP, AJAX, WebSockets, etc.).

Key words to google:
centralized, peer to peer, api, application program interface, session management, authentication
https://www.ravenheart.ca/home
I don't check the forums much anymore, but I will receive an email for PMs.

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
23
S
6
G
1
Posts: 1,419
Reputation: 4,857

Post » Sat May 28, 2016 11:09 pm

Start with the multiplayer plugin manual article.
It contains link to fully explaining tutorials that takes different steps explaining how everything works. Don't skip them, start with tutorial number one and read carefully up to number four.

Then if you want to set up your own signalling server, you will need to get it from the online store.

Main trick: Always do go and read the manual first.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
294
S
117
G
96
Posts: 7,311
Reputation: 71,086


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 23 guests