How do I create impact effects based on angle?

Get help using Construct 2

Post » Fri Apr 04, 2014 8:04 pm

Hi everyone

I've been struggling a bit with this problem and I figured its time to bring it to you guys :) What I'm trying to achieve is this:

Image

1. the player fired off a bullet at an enemy
2. the bullet impacts at a certain angle.
3. IF the health of this particular enemy instance is 0 or below, blood splatter appears on the opposite side of the enemy.

I have tried to use an instance variable on the enemies that stores the last impact angle of a bullet impact, but I cant figure out how to retrieve it and use it to set the angle for anything else I want to spawn. Anyone has an idea of how this could be done? :)
B
8
S
2
Posts: 28
Reputation: 546

Post » Fri Apr 04, 2014 8:32 pm

Are you looking for something like this?
You do not have the required permissions to view the files attached to this post.
It's time for me to return the favor :)
B
32
S
9
G
8
Posts: 132
Reputation: 4,870

Post » Fri Apr 04, 2014 9:51 pm

Yes, thanks so much! I see what I've been doing wrong there, great and clear example. Cheers!
B
8
S
2
Posts: 28
Reputation: 546


Return to How do I....?

Who is online

Users browsing this forum: zsoldiers and 6 guests