Multiplayer android game

Get help using Construct 2

Post » Sat Nov 28, 2015 11:15 am

Hi there,

I've actually done a game, it's end and it's OP, but now I want to add the other part of the game, the multiplayer, I checked some of your tutorials but I didn't get a thing, how can I do an android multiplayer game based on local network and not internet network, just kind of P2P within 4 phones but with 1 server (me), how do I manage it in the code section ? Because I won't connect to wss:.......[..]... ? I'm really lost and a day passed already but couldn't find anything that I understand. How am I supposed to do it ? To what must I connect ? Is there a way to make it easier than that ?

Sorry for my bad english, not first language so i'm sorry.

Kind regards,
Thanks.
B
2
Posts: 3
Reputation: 156

Post » Sat Nov 28, 2015 11:27 am

Oh I think I god it !

If you change the Global Constant variable text with something no one has only the player of your app will be able to join your server and no one else ? So I can totally use the Official server of scirra to play because no one could come to my application server !

Am I right ?
B
2
Posts: 3
Reputation: 156

Post » Sun Nov 29, 2015 12:23 pm

Nice help on this forum :) so active much wow
B
2
Posts: 3
Reputation: 156

Post » Sun Nov 29, 2015 3:56 pm

vladimirovitch wrote:Oh I think I god it !

If you change the Global Constant variable text with something no one has only the player of your app will be able to join your server and no one else ? So I can totally use the Official server of scirra to play because no one could come to my application server !

Am I right ?


Normally, the forums are pretty active,but if someone doesn't really understand what you're trying to say, then they won't bother to reply.

Yes, you will have to change the Constant variable to your own game name for someone to join your private game room on the official Scirra signalling server.
Image
B
78
S
16
G
4
Posts: 501
Reputation: 8,869

Post » Wed Dec 02, 2015 1:35 pm

vladimirovitch wrote:how can I do an android multiplayer game based on local network and not internet network, just kind of P2P within 4 phones but with 1 server (me),



You can not.


Internet is required to connect to the signalling server which informs you who you can connect to.
Who dares wins
B
56
S
16
G
21
Posts: 1,875
Reputation: 19,406


Return to How do I....?

Who is online

Users browsing this forum: Particle games and 7 guests