Platformer: Door system used by Ennemies and Player

● ARCHIVED · READ-ONLY
Started by SlySly 4 posts View original ↗
  1. Hello,

    I've got a lot of problem trying to do a door system.

    For now, I created doors with a gadget.

    With the player, it's working perfectly: Player used B button to open the door and going to next room. He can smash it and after a moment the door break.

    But I've got problem with my enemies: When walking there they pass trough the door, so that's not good. And If I set collision with other gadget, door block them.

    But every enemy meeting an other one will block the other enemy :/

    No col = pass trough. Col = block other enemies

    I don't know how to make my door system working for my player and enemies without having weird behavior (two zombies blocking their own way because they're colliding each other it's a little weirdo).

    Basicely, I need enemies collide with doors, but don't collide with other ennemies.

    I really need advices.

    Kain? :)

    Thanks
  2. I am a little busy lately, but if you email me your GPD I'll take a look and see if I can find a solution for you.

    kainvinosec@gmail.com
  3. I think I found a way with tile and collision. So basically, gadgets will detect the wall and stop. And I remove it when door open.

    It's a little bit tricky but it's working.
  4. Awesome. I am going to close this thread then.