How do I make a bomb explosion effect the other objects

Get help using Construct 2

Post » Sat Nov 05, 2016 4:37 pm

In my game I have some objects which they are shapes such as squares and rectangles, and I added a bomb that when I click it, the bomb is destroyed by using destroy action, but I need to know how can I make the bomb explosion effect the other object by making them fly a little distance against the location of the bomb,
what action or behavior can I use.

any help will be appreciated.
B
4
Posts: 20
Reputation: 240

Post » Sat Nov 05, 2016 5:02 pm

One way would be to add the physics behavior to your shapes. When the bomb is destroyed, apply a negative impulse toward the position the bomb was in to the shapes -- use the "Apply impulse towards position" action from the physics behavior for this.
Moderator
B
113
S
41
G
20
Posts: 1,586
Reputation: 19,106

Post » Sat Nov 05, 2016 6:14 pm

thanks linkman2004 I will try this method
B
4
Posts: 20
Reputation: 240

Post » Sat Nov 05, 2016 6:34 pm

thanks linkman2004 it worked fine you are the best
B
4
Posts: 20
Reputation: 240


Return to How do I....?

Who is online

Users browsing this forum: adamebastin, Bro7hers, marcinkowski and 8 guests