How do I make a two player platformer.

Get help using Construct 2

Post » Fri May 12, 2017 10:58 pm

Message: ferdiskipteri02 can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
Hi guys.
I need some help.

I'm having a problem with my upcoming 2 player platformer. I have two players in my scene and they both have the Platform behavior. The orange guy was done first and after that i added the second yellow guy. I added the platform behavior to the second player and how he also has the same exact event list. The problem now is that what ever i change on one of them also applies to the other. I want them both to have the platform behavior but with different event sheets. Images below.

Images : http://imgur.com/a/nvuvX

Is this a real problem or is it something that i haven't heard of in Construct?
Thank you.
B
3
Posts: 2
Reputation: 179

Post » Fri May 12, 2017 11:55 pm

From those images it appears only the orange suited fish has events.

Making separate event sheets won't help if Construct doesn't know which object to work with. You can do it all in one event sheet. You just have to make two separate sets of events that apply to each player independently. The platform behavior is bound to certain keys by default so I would assume player 1 would use those. When you make player two you will need to use the behavior events with on-keypress "simulate control" movement/jump/etc. and set the second's behavior "default controls" option to NO.

Here is a super small .capx with 2 person controls. One is default and the other is controlled via W,A, and D.
https://1drv.ms/u/s!ApREGYJdm9zRgQJwDqj04FjKeRus
Check out my completed games on the Arcade! Capt. Doe Save the Universe! & Clicker Wizard!
B
70
S
19
G
8
Posts: 639
Reputation: 9,674

Post » Sat May 13, 2017 3:40 pm

Thank you for your help.
The problem was that for both of the characters "default controls" was set to Yes. Once i changed that i was able to simulate the controls for the second character on WASD.

Thank you again.
B
3
Posts: 2
Reputation: 179


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 22 guests