How do I Simple platform multiplayer game

Get help using Construct 2

Post » Fri Sep 19, 2014 12:40 pm

I want do very simple platform shooter game but its not that simple for me.
Image

But at first i edit template and add only sprite projectile and change 8 direction move to platform
Problems:
1. when i try move my player other player moves too
2. when i shoot other player shoots too
3. i change aimspot family i add projectie 'bullet' sprite and when bullet is overlapping oponent hp is not substracted
B
111
S
28
G
48
Posts: 1,882
Reputation: 36,426

Post » Fri Sep 19, 2014 3:30 pm

What template did you edit?
Do you want this to be a multiplayer game through network or two players at the same computer?

Both players will move if you haven't changed the controls to custom, I guess..
I have no Idea what the aimspot family is and what it's supposed to do, so futher information or a link to your capx would be appreciated..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Sep 19, 2014 4:11 pm

i think you should disable "Default control", then give your custom input to control the characters
"If you want to move a mountain tomorrow, you should start by lifting stones today."
B
64
S
14
G
2
Posts: 292
Reputation: 6,678

Post » Fri Sep 19, 2014 4:47 pm

delgado wrote:1. when i try move my player other player moves too
2. when i shoot other player shoots too

I think you're not associating object to multiplayer object correctly.

delgado wrote:3. i change aimspot family i add projectie 'bullet' sprite and when bullet is overlapping oponent hp is not substracted

Can't really tell what's your problem is, which is the usual reason why it's better to attach capx.
B
28
S
8
G
4
Posts: 553
Reputation: 4,924

Post » Fri Sep 19, 2014 5:55 pm

@DuckfaceNinja i attached capx
@LittleStain i edit Example multiplayer real time game
You do not have the required permissions to view the files attached to this post.
B
111
S
28
G
48
Posts: 1,882
Reputation: 36,426

Post » Fri Sep 19, 2014 6:42 pm

I think you might missed a few things on the object properties, one is, in the multiplayer example, it has container while you don't, there's a lot of thing happening there and it's not probably just the thing you missed, the problem might be much broader than we see actually, I think you should look hard at your events because it's not easy to narrow down the actual problem.
B
28
S
8
G
4
Posts: 553
Reputation: 4,924

Post » Sat Sep 20, 2014 10:22 am

My experience about C2 dont help me is almost diferent ;p its really dificult to create simple game with multiplayer.
Now i try preview this same game and my peer today cant shoot, lol whats going on ;p
B
111
S
28
G
48
Posts: 1,882
Reputation: 36,426

Post » Sat Sep 20, 2014 11:20 am

Somebody who know multiplayer can check for my capx why peer cant move with wsad keys and why peer dont shoot?
I compare my project with example all looks identical but dont work.
You do not have the required permissions to view the files attached to this post.
B
111
S
28
G
48
Posts: 1,882
Reputation: 36,426


Return to How do I....?

Who is online

Users browsing this forum: sean080 and 6 guests