Composite character/objects with multiple collision areas

Discussion in 'How Can I...?' started by apps, Sep 30, 2015.

  1. Jagabum

    Jagabum Guest

    Joined:
    Sep 25, 2015
    Messages:
    25
    Likes Received:
    5
    I'm looking to create a character with two collision areas, shown in red boxes below:
    [​IMG]

    Essentially, this ring is the character, and there is a line (the enemy) that goes into the circle, or between the two red boxes. Thus, when the ring touches the line, the character dies.

    Should I be creating multiple characters linked by connection, and overlay the two identical characters, one with collision area at the top, the other at the bottom? Or is there a better way to do this please?
     

    Attached Files:

  2. Kamil Kucma

    Kamil Kucma Boxer

    Joined:
    Sep 25, 2015
    Messages:
    62
    Likes Received:
    41
    Haha, I was wandering if you manage to deal with that problem too :> I think the best (and only maybe?) option is to set invisible enemies up and down the line in the proper distance (to match the ring height). When making game in the BB sometime you need to be VERY creative with the little 'walk around' tricks and invisible objects.
     
    Jagabum likes this.
  3. Jagabum

    Jagabum Guest

    Joined:
    Sep 25, 2015
    Messages:
    25
    Likes Received:
    5
    Haha ya I was having that same idea! Just realised that we can't put two characters onto the editing area, and can't think of a way of linking the char to an object which is having the same graphic as the char haha! Thus yeah I guess invisible enemy that will kill the ring should work.... thanks for the nudge again Kamil! :)
     
    Kamil Kucma likes this.

Share This Page