How do I multiplayer game on iOS

Get help using Construct 2

Post » Tue Sep 15, 2015 1:09 pm

is it possible to make a multiplayer game using the Scirra plugin to work on iOS devices or I will need to use photon plugin? And about Windows 10?

Thanks in advance
B
74
S
14
G
4
Posts: 1,015
Reputation: 8,133

Post » Wed Sep 16, 2015 1:23 pm

UP
B
74
S
14
G
4
Posts: 1,015
Reputation: 8,133

Post » Wed Sep 16, 2015 1:49 pm

This question is something I'm working on.

The Multiplayer plugin, as-is, doesn't work on iOS because that system doesn't support WebRTC.

Meanwhile I'm trying to "modify" the Multiplayer plugin to make it work on iOS through a Cordova plug-in (https://github.com/eface2face/cordova-plugin-iosrtc)

I've had no time to test this. But I think could work.

If you need Multiplayer on iOS working ASAP then go for Photon.
B
6
S
1
Posts: 24
Reputation: 460

Post » Wed Sep 16, 2015 2:50 pm

Thanks @jsj
Last edited by RBuster on Thu Sep 17, 2015 12:08 pm, edited 1 time in total.
B
74
S
14
G
4
Posts: 1,015
Reputation: 8,133

Post » Thu Sep 17, 2015 12:06 pm

@jsj

You'll create a C2 version of this plugin?
Last edited by RBuster on Thu Sep 17, 2015 6:57 pm, edited 1 time in total.
B
74
S
14
G
4
Posts: 1,015
Reputation: 8,133

Post » Thu Sep 17, 2015 4:16 pm

best way wich work on all systems : is socket so :
use socket.io plugin and a nodejs server
B
16
S
6
Posts: 243
Reputation: 1,755

Post » Mon Sep 21, 2015 6:20 am

RenatoB wrote:You'll create a C2 version of this plugin?


Sadly no. I've been doing tests on my own and have decided to go for Photon plugin or something similar. At least until Apple decide to add native support to WebRTC. :(
B
6
S
1
Posts: 24
Reputation: 460

Post » Mon Sep 21, 2015 6:21 am

mahdi71 wrote:best way wich work on all systems : is socket so :
use socket.io plugin and a nodejs server


Sure, but you must invest time creating your own nodejs server, right? or is there an alternative?
B
6
S
1
Posts: 24
Reputation: 460

Post » Mon Sep 21, 2015 7:44 am

jsj wrote:
mahdi71 wrote:best way wich work on all systems : is socket so :
use socket.io plugin and a nodejs server


Sure, but you must invest time creating your own nodejs server, right? or is there an alternative?

no !
you can just make an easy nodejs server for just transfer messages from clients to host
i mean you can do this :
make a client side game
make a host side game
make a nodejs server for transfer messages from client to host
and you can run nodejs and host in the same machine
and now you can program just your host and client game ! ;)
B
16
S
6
Posts: 243
Reputation: 1,755

Post » Mon Sep 21, 2015 10:30 am

mahdi71 wrote:no !
you can just make an easy nodejs server for just transfer messages from clients to host
i mean you can do this :
make a client side game
make a host side game
make a nodejs server for transfer messages from client to host
and you can run nodejs and host in the same machine
and now you can program just your host and client game ! ;)


Ok but if all machines are mobile devices like iPads or iPhones this doesn't seem so easy. And if I must deploy a server of my own to run the nodejs server and the host... then I prefer to go to something more reliable like Photon.
B
6
S
1
Posts: 24
Reputation: 460


Return to How do I....?

Who is online

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