hitbox sprite and animation change

0 favourites
  • 2 posts
From the Asset Store
3 pixel charaters with over 8 animations each + animations with a gun
  • 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.

    [attachment=0:9rt40r2p][/attachment:9rt40r2p]

    Thx

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • posted an image of where i have the question about

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)