How do I make this chess game live?

Get help using Construct 2

Post » Tue Mar 18, 2014 2:12 pm

I've already incorperated some online capabilities such as only the host can move the white and only peers can move the black... but how to I make it live? I have a chat.. and they can move, but they don't move for the other player... It would mean a lot if you could take a look and help me with this. :)
https://dl.dropboxusercontent.com/u/211 ... sgame.capx
B
12
S
2
G
4
Posts: 78
Reputation: 3,327

Post » Tue Mar 18, 2014 2:36 pm

Well, you haven't online code for your game...
The objects move locally.

If the host move a chess, you have to send a message to the peer saying that the host moved a thing to a position... and do the same for the peer.
B
39
S
15
G
5
Posts: 295
Reputation: 6,089

Post » Tue Mar 18, 2014 3:02 pm

@Joskin
I know that.. but how??
B
12
S
2
G
4
Posts: 78
Reputation: 3,327

Post » Tue Mar 18, 2014 3:09 pm

Wait for the third tutorial on multiplayer or look at the second multiplayer template. It's impossible to explain how it works on a forum post.
B
39
S
15
G
5
Posts: 295
Reputation: 6,089

Post » Tue Mar 18, 2014 3:17 pm

@Joskin I've checked the template out but I don't really understand how I'm supposed to do that in a turn-based game... will it take a lot of time to pull off? Can I keep developing my game and change it later? or do I have to do more work the more stuff I put in?
B
12
S
2
G
4
Posts: 78
Reputation: 3,327

Post » Tue Mar 18, 2014 3:24 pm

It should be "easy" to add the networking functionnality for a turn based game, you don't need lag compensation, input prediction ...

I think you should try first to add networking, before adding more stuff.
B
39
S
15
G
5
Posts: 295
Reputation: 6,089

Post » Tue Mar 18, 2014 6:10 pm

@Joskin Would you mind showing me how? :o
B
12
S
2
G
4
Posts: 78
Reputation: 3,327

Post » Tue Mar 18, 2014 6:30 pm

I can't sorry, I'm busy on my own multiplayer game. :/
B
39
S
15
G
5
Posts: 295
Reputation: 6,089

Post » Tue Mar 18, 2014 6:43 pm

@ashley Could you help me? :O
B
12
S
2
G
4
Posts: 78
Reputation: 3,327

Post » Tue Mar 18, 2014 7:05 pm

He will help you with the 3rd tutorial about multiplayer :)
B
39
S
15
G
5
Posts: 295
Reputation: 6,089


Return to How do I....?

Who is online

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