Multiplayer on mobile?

Discussion and feedback on Construct 2

Post » Sat Feb 07, 2015 12:49 pm

@iwissky yes for some reason my app gets stuck at a black screen sometime. I think its the clay.io plugin used so hopefully once I learn / implement Google Play services it will fix it. Also being online helps it load for some reason. (Although the Lite version seems to load fine??). If you get stuck at the black screen, try pressing home button, then bring up the multi task window and reload back into the app. Helps it work for me on my tablet. I am not using the standard multiplayer plugin, but the peerjs one.
B
38
S
11
G
1
Posts: 200
Reputation: 4,467

Post » Sun Feb 08, 2015 12:42 am

OK thank you

but I try to make an application in multiplayer Peer to peer and the plugin peerjs Makes crash my aplication (screen black) you can help me?

And the multiplayer integrated into construct 2 work on mobile. Sorry for all this question but I am lost and I would really like that my game works with multiplayer Peer to peer

Ty again
and sorry for my bad English
B
3
Posts: 7
Reputation: 191

Post » Sun Feb 08, 2015 1:49 am

@iwissky I feel your pain...

r196-2-can-t-connect-to-multiplayer-chat-example_t124403

I logged this bug the other day... do you see an error message like mine at least?
B
71
S
14
G
1
Posts: 151
Reputation: 4,974

Post » Sun Feb 08, 2015 12:22 pm

@iwissky

PeerJS plugin works on Android mobile if creating through XDK compiler. unfortunately it wasn't working on CocoonJS (although not sure if any updates since last 4 months have changed this as I've been away from App making). Are you on skype? I can add you and go through an example of connecting peerJS plugin if you like. I think if I dig through I have an example of just a chat program testing connections at least.
B
38
S
11
G
1
Posts: 200
Reputation: 4,467

Post » Sun Feb 08, 2015 4:32 pm

That does not still work, need help
B
3
Posts: 7
Reputation: 191

Post » Sat Feb 14, 2015 1:52 pm

up!
B
3
Posts: 7
Reputation: 191

Post » Sat Feb 14, 2015 2:36 pm

iwissky wrote:
but he multiplayer plugin of construct2 works on android or not? :?: :idea:


Yes, it works perfectly on android.
But not on samsung phones (s3,s4,s5) Samsung broke something, which they say they will fix (no timeline)
You think you can do these things, but you can't, Nemo!
Just keep reading.
Just keep learning.
B
65
S
16
G
9
Posts: 1,429
Reputation: 12,708

Post » Sat Feb 14, 2015 7:14 pm

Chrome on iOS does not work. :(
B
53
S
16
G
6
Posts: 718
Reputation: 9,150

Post » Sat Feb 14, 2015 10:19 pm

@DUTOIT Would you have an example of use?
B
3
Posts: 7
Reputation: 191

Post » Sun Feb 15, 2015 8:35 am

iwissky wrote:@DUTOIT Would you have an example of use?


Absolutely,
Open C2.
CLICK NEW
Search Multiplayer.
You will get 3 examples
Chat room.
Real Time game (ghost shooter)
Pong

Open pong and export project to android using this tutorial

Sidenote: you will have to change the mouse to touch to make it work on mobile.
You do not have the required permissions to view the files attached to this post.
You think you can do these things, but you can't, Nemo!
Just keep reading.
Just keep learning.
B
65
S
16
G
9
Posts: 1,429
Reputation: 12,708

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 10 guests