Multiplayer template

Discussion and feedback on Construct 2

Post » Sat Mar 15, 2014 12:54 pm

Hello i try do some fast test. i add som bullets to shoot, export multiplayer template as html5 on dropbox and try play with friends,
We do not see each other in game, why?
B
109
S
25
G
43
Posts: 1,883
Reputation: 33,553

Post » Sat Mar 15, 2014 2:40 pm

Change the GAME_NAME global variable to something other than the default "scira-multiplayertest"
B
82
S
39
G
15
Posts: 982
Reputation: 16,712

Post » Sat Mar 15, 2014 5:20 pm

@justifun i try change game name now when i try login to game, after few seconds game kick me out
https://dl.dropboxusercontent.com/u/447 ... index.html
B
109
S
25
G
43
Posts: 1,883
Reputation: 33,553

Post » Sat Mar 15, 2014 5:25 pm

There have been many reports that players cannot connect to a host that is on a different computer (and even if you load up a different browser on the same computer).
ImageImageImageImage
B
62
S
19
G
51
Posts: 633
Reputation: 30,816

Post » Sat Mar 15, 2014 5:28 pm

@DatapawWolf So... its a bug? what i must do to play with friends???
B
109
S
25
G
43
Posts: 1,883
Reputation: 33,553

Post » Sat Mar 15, 2014 5:41 pm

delgado wrote:@DatapawWolf So... its a bug? what i must do to play with friends???
@delgado you can't, as far as I know. I think we'll have to wait for @Ashley.
ImageImageImageImage
B
62
S
19
G
51
Posts: 633
Reputation: 30,816

Post » Sat Mar 15, 2014 5:43 pm

Yeah lets listen Ashley
B
109
S
25
G
43
Posts: 1,883
Reputation: 33,553

Post » Sun Mar 16, 2014 4:58 am

Actually I've been trying to change completely the situations of Multiplayer.

The Host -> Peer is simple, but very different.

Everything you do is Peer -> Host -> Other Peers or Host -> Peers. But, if you code anything wrong, it will fail completely.

Try the Chat first, then, proceed.
B
8
S
4
G
1
Posts: 32
Reputation: 1,600

Post » Mon Mar 17, 2014 1:31 am

Anyone knows why other players in my game cant shoot but when i shoot all logged in players are shooting at the same time?
B
109
S
25
G
43
Posts: 1,883
Reputation: 33,553

Post » Mon Mar 17, 2014 1:55 am

delgado wrote:Anyone knows why other players in my game cant shoot but when i shoot all logged in players are shooting at the same time?


Could be wrong, but that really looks like a picking problem, how do you handle the shooting part for the host, and for the others?
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
52
S
22
G
18
Posts: 2,122
Reputation: 17,093

Next

Return to Construct 2 General

Who is online

Users browsing this forum: Colludium and 4 guests

cron