Family and Pathfinding - Obstacle solid and custom

0 favourites
  • 4 posts
From the Asset Store
A collection of various zombie characters sprites for creating a 2D platformer or sidescroller game
  • Problem Description

    When I put two different objects in a same family with pathfinding behavior on the familie it seem's impossible to use one with the paramters obstacle as custom and the other as solid.

    Is-it a bug ou wanted by design ?

    Steps to Reproduce Bug

    Observed Result

    The two sprites use the same obstacle parameters (and the parameters of the first one created)

    Expected Result

    I expected that only the sprite with custom obstacle could go trough the wall.

    Affected Browsers

    • FireFox: (YES)
    • Internet Explorer: (YES)

    Operating System and Service Pack

    windows 10

    Construct 2 Version ID

    Contruct 2 r239

  • Observed Result

    The two sprites use the same obstacle parameters

    That's because they're both using a family pathfinding behaviour.

    It's not impossible to do, just give them their own separately named pathfinding behaviours if they are going to be different, don't use the shared family one.

  • I'm afraid this is currently by design: the family uses one behavior, and one behavior only uses one shared obstacle map.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ashley Thank you for your answers. I just tried using a second behaviour but it doesn't seem to work differently. I'll try harder this week-end (perhaps I'm a bit too tired this evening).

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