How do I make object solid for one thing but not a neither

Get help using Construct 2

Post » Fri Mar 20, 2015 11:35 pm

Hello,
I have two spites that the player controls. A blue one and a green one. They have the platform behavior. basically i want the blue sprite to interact with a blue solid but not let the green sprite interact with the blue solid. Any tips?
B
3
Posts: 3
Reputation: 181

Post » Sat Mar 21, 2015 12:27 am

I'm afraid that this is simply not possible with the c2 solid behavior. It's been asked for many times before but has never made it to the top of the to-do list. If you have the time and patience then you can create your own platform behavior using events (you can do collision group filtering using the physics plugin, and you could use that as the basis for your platform behavior).
B
63
S
16
G
63
Posts: 2,170
Reputation: 39,987

Post » Sat Mar 21, 2015 3:03 am

Thank you for the reply. How might I go about creating my own physics plugin? is the a tutorial anywhere? And while I have you here how could i do that group filtering?
B
3
Posts: 3
Reputation: 181

Post » Sat Mar 21, 2015 3:14 am

Welcome to the forum! Making a platform behavior that uses the physics plugin is no easy task, but it can be done with some trial and error (to get the effect you're after). I suggest you experiment with adjusting the example capxs for physics that are bundled with c2; group filtering is achieved by setting enable/disable collisions in the physics behavior. I haven't checked to see if there's a tutorial for using physics to make a platform behavior, but if you're going to use the physics then you need to be fully familiar with how the plugin works (and its limitations) first. If you tag using @ - ie @colludium or whoever then they'll get a notification.
B
63
S
16
G
63
Posts: 2,170
Reputation: 39,987

Post » Sat Mar 21, 2015 3:17 am

Thank you @colludium !
B
3
Posts: 3
Reputation: 181


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 4 guests