How do I make team system in multiplayer game

Get help using Construct 2

Post » Tue Nov 17, 2015 3:45 am

I used instance variable size and color to set size and animation name (color) for each Peer.

How do I make my game detect if Peer sprite is overlap with another Peer and if they have
different color game will subtract size of both Peer?
B
3
Posts: 2
Reputation: 179

Post » Thu Nov 19, 2015 4:01 pm

It seems quite confused what you want to do, can you explain it? Do you want to make a game like the Agar.io
B
32
S
9
G
3
Posts: 280
Reputation: 4,262

Post » Thu Nov 19, 2015 4:04 pm

You can create another variable life for the current player.
With color variable you can assign a number to it, so if the color variable is different from the player's team color, then reduces size and -1 of life when life is less than or equal to zero destroys the player and end game.
B
32
S
9
G
3
Posts: 280
Reputation: 4,262

Post » Sat Nov 21, 2015 4:14 am

Thank you for reply sielxm3d and Yes I want to make game like Agar.io
B
3
Posts: 2
Reputation: 179


Return to How do I....?

Who is online

Users browsing this forum: AndreasR, Blendi1223, kellehk and 25 guests