How do I choose multiplayer solution for a game?

Get help using Construct 2

Post » Mon May 29, 2017 10:37 pm

I have made a demo of a turn based strategy game - viewtopic.php?f=180&t=191884&p=1123522#p1123522. I wish l make it multiplayer, but I don't know what way to choose. The multiplayer concept is the following: when players login they are devided in rooms according to their scores/rank, no more than 2-8 players per room. After the end of the Game the results should be recorded to the database.
What is the best multiplayer solution for this purpuse, what software tools may be used for the server programming?
What are the differences between Multiplayer plugin, Photon plugin, Node.js, WebSockets and etc?
B
20
S
4
Posts: 51
Reputation: 1,104

Post » Tue May 30, 2017 12:17 am

-Moderator delete please,My router went out before i got the chance to post and it double posted and i don't have the ability to delete this post anymore for some reason-
Last edited by Phacanu on Tue May 30, 2017 12:25 am, edited 1 time in total.
B
22
S
11
G
33
Posts: 54
Reputation: 18,435

Post » Tue May 30, 2017 12:23 am

bangoo wrote:I have made a demo of a turn based strategy game - viewtopic.php?f=180&t=191884&p=1123522#p1123522. I wish l make it multiplayer, but I don't know what way to choose. The multiplayer concept is the following: when players login they are devided in rooms according to their scores/rank, no more than 2-8 players per room. After the end of the Game, the results should be recorded in the database.
What is the best multiplayer solution for this purpose, what software tools may be used for the server programming?
What are the differences between Multiplayer plugin, Photon plugin, Node.js, WebSockets and etc?


The multiplayer plugin uses WebRtc to achieve a sort of UDP like speed and is restricted to Peer to peer multiplayer.

Photon plugin uses a client/server architecture and uses web sockets to achieve multiplayer, It's also a cloud service so you don't have to worry about monitoring servers, IF you do decide to host a server yourself it's expensive if you use any server providers due to the price of Windows VPS(The only thing photon runs on).

Websockets plugin is just a wrapper for vanilla web soccket(https://www.scirra.com/manual/153/websocket)

Nodejs is a c++ server that uses javascript as its scripting language(https://nodejs.org/en/)

You could either use photon or a custom web sockets lib
B
22
S
11
G
33
Posts: 54
Reputation: 18,435


Return to How do I....?

Who is online

Users browsing this forum: DjowG, ramyaswetha and 7 guests