Multiplayer pong

Get help using Construct 2

Post » Thu Jul 09, 2015 4:58 pm

Hey guys I noticed that the host and the peer are identical sprites is their a way to separate them and also i'm trying to make a win lose ratio system to see who is winning the most games publicly any ideas.
B
4
Posts: 8
Reputation: 216

Post » Thu Jul 09, 2015 5:48 pm

Simply add another animation to the sprite.

In the host group, where the host creates itself, simply set the correct animation there.

On the peer side, on peerobject created, peerobject.peerid = multiplayer.hostid
set animation to host animation.
Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,572


Return to How do I....?

Who is online

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