Multiplayer: Not connecting to Scirra server(after export)

Bugs will be moved here once resolved.

Post » Sat Jun 24, 2017 1:45 pm

I made a project with multiplayer, it is working fine in browser preview,
( i.e. both host and peer shows connecting > Logged in with username >You are the host etc.)
But after export with cocoon canvas plus when i run the apk on my mobile
it gets stuck on "connecting" each time ( i.e.it is not connecting to scirra server)
Its been two days, can anyone help me please please???
B
18
S
7
Posts: 104
Reputation: 1,691

Post » Sat Jun 24, 2017 1:56 pm

Hi .
Canvas + doesn't support WebRTC connection . You should try Web view or Intel Xdk .
B
18
S
8
G
2
Posts: 48
Reputation: 2,504

Post » Sat Jun 24, 2017 2:13 pm

:shock: :(
its really depressing because multiplayer was already tough enough !
Though is there a better way to add multiplayer on construct 2 ???
Please tell me!
PS : what is the deal with google play multiplayer on construct 2??? is it possible?
B
18
S
7
Posts: 104
Reputation: 1,691

Post » Sat Jun 24, 2017 3:41 pm

I posted a thread speacially with this topic i.e.Alternative to multiplayer object as i could not find any such topic
It is here:
viewtopic.php?f=147&t=193264
B
18
S
7
Posts: 104
Reputation: 1,691

Post » Sat Jun 24, 2017 3:44 pm

mehrshadfarahani wrote:Hi .
Canvas + doesn't support WebRTC connection . You should try Web view or Intel Xdk .

Hello there...
Thanks for replying, do you know any alternative way to make multiplayer games with construct 2 ,especially may be with Google Play Multiplayer API???
Thank you
B
18
S
7
Posts: 104
Reputation: 1,691

Post » Sat Jun 24, 2017 3:55 pm

You can also use Photon or Websocket . But why u want to export with canvas + ?
Just for have smaller apk size ?
Web view + has better performance than canvas + .
B
18
S
8
G
2
Posts: 48
Reputation: 2,504

Post » Sat Jun 24, 2017 5:10 pm

mehrshadfarahani wrote:You can also use Photon or Websocket . But why u want to export with canvas + ?
Just for have smaller apk size ?
Web view + has better performance than canvas + .

Thanks for replying!
I don't have a problem with size, but performance is better on canvas+, also it provides ad support and share support, that's why my priority was canvas+
But now i have to go for webview+ , but just wanted to clear a few things here...
1>> the photon and websocket you reffered to, are these easier and better than multiplayer object of construct 2?
2>>Will these work with canvas+ or they also use webRTC??
B
18
S
7
Posts: 104
Reputation: 1,691

Post » Sun Jun 25, 2017 5:52 am

1- you must pay much money for Photon. and also Websocket isn't as fast as peer-to-peer connection .
So for these reasons , i think multiplayer object is a better choose .
2- Yes , they're working fine with canvas +
B
18
S
8
G
2
Posts: 48
Reputation: 2,504

Post » Sun Jun 25, 2017 6:54 am

mehrshadfarahani wrote:1- you must pay much money for Photon. and also Websocket isn't as fast as peer-to-peer connection .
So for these reasons , i think multiplayer object is a better choose .
2- Yes , they're working fine with canvas +

Thank you very much for your help, i will stick with multiplayer object then and use webview+ export!
B
18
S
7
Posts: 104
Reputation: 1,691

Post » Mon Jun 26, 2017 10:33 am

Closing as this is posted in the Bugs forum and it does not follow the guidelines; perhaps you meant to post in a different forum.

Note Canvas+ has not been officially supported for over two years, precisely because of compatibility problems like this.
Scirra Founder
B
400
S
237
G
89
Posts: 24,550
Reputation: 195,527

Next

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest