Bullet bounce ignore specific solids

Get help using Construct 2

Post » Thu Apr 20, 2017 3:34 am

Hi everyone, I've a bullet with bounce off solids set to true, so the bullet will bounce against the wall object with solid behaviour without any problems. How do I set the bullet to ignore another new object with solid behaviour (let's say a tree), but still keep bouncing with the wall?
B
23
S
9
G
3
Posts: 114
Reputation: 3,794

Post » Thu Apr 20, 2017 3:40 am

You'll need a custom system for either one of your use cases.

a. Custom movement blocking event for movement solids

or

b. Custom bouncing/reflection event for projectiles.

You can use an invisible sprite dedicated to either bouncing or blocking and place them where appropriate.
Mistakes were made.
B
54
S
28
G
115
Posts: 1,705
Reputation: 65,083

Post » Thu Apr 20, 2017 4:09 am

@oosyrag, thanks for the helpful answer!
B
23
S
9
G
3
Posts: 114
Reputation: 3,794

Post » Thu Apr 20, 2017 8:44 am

@Herks

You could try setting Bullet bounce off solids to No, create a Family (call it Bouncy Solids) for solids you do want to bounce off and add an event: Bullet on collision with Bouncy Solids -> Bullet bounce off object (Bouncy Solids)
Find all the Construct 2 games that were on Steam Greenlight here
B
36
S
10
G
7
Posts: 478
Reputation: 7,021


Return to How do I....?

Who is online

Users browsing this forum: irina and 8 guests