New Multi player style

Get help using Construct 2

Post » Wed May 11, 2016 6:51 pm

Hi. I have a problem with multiplayer system in construct. Imagine a pong game that you are in the left side and your opponent is in the right side. But i don't want the pong like that ! i want both player too See themselves in left side and see the opponent in right side. you can see a example what i say in clash royale , you are blue and your opponent is red. :)
B
18
S
8
G
2
Posts: 48
Reputation: 2,504

Post » Thu May 12, 2016 12:30 pm

This is easily possible, although you may have to break away from the tutorials slightly. I've not brushed up on the manual in a while, but I believe that the way it works is to send the sprites position. However, all that is really required is to send the sprites y coordinate, then each player can be the left side, where the data incoming for the opponents y coordinate is just the coordinate for the right side. As for the ball in pong, the person who is not the host will have to mirror the position of the ball in a vertical line directly through the center.
Nothing goes unanswered!
B
24
S
5
G
1
Posts: 434
Reputation: 3,446

Post » Thu May 12, 2016 3:10 pm

briggybros wrote:This is easily possible, although you may have to break away from the tutorials slightly. I've not brushed up on the manual in a while, but I believe that the way it works is to send the sprites position. However, all that is really required is to send the sprites y coordinate, then each player can be the left side, where the data incoming for the opponents y coordinate is just the coordinate for the right side. As for the ball in pong, the person who is not the host will have to mirror the position of the ball in a vertical line directly through the center.

thanks for your answer. i understand what you say but i can't make the events for it. so is there any way to give me a source ? i really need it :( .
B
18
S
8
G
2
Posts: 48
Reputation: 2,504


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 53 guests