hitbox sprite and animation change

Get help using Construct 2

Post » Mon May 12, 2014 9:33 pm

Hi everyone my First post asking for help i think i may have aproched this The wrong way and i want to ask if Im right Or just have a mistake in my logic.

My game has múltiple "target sprites which are just people as a base layer.

They each have sprite hitboxes that are inside a container of The characters sprite.

All characters sprites are inside a family

Now my problem is:

I want to attach an animation to each character so that it plays in reaction of Being hit by The player. When The sprite used as bullet hits a especific character hitbox.

For now i have head and body sprite hitboxes

The event check is like this:
When The sprite used as bullet overlaps The head hitbox inside The family of hitbox set animation to hit

If not clear i can post a screenshots of The code.
hitbox problem.JPG


Thx
You do not have the required permissions to view the files attached to this post.
Last edited by chewienator on Tue May 13, 2014 12:19 pm, edited 1 time in total.
B
7
S
1
Posts: 24
Reputation: 480

Post » Mon May 12, 2014 11:04 pm

posted an image of where i have the question about
B
7
S
1
Posts: 24
Reputation: 480


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 25 guests