Turing's Forum Posts

  • 3 posts
  • See bug "[Path finding r182] Ignore collision settings" for a solution

  • LOL LOL LOL

    Just fiddling into the source code to see that :

    var cellkey = "" + this.cellSize + "," + this.cellBorder;

    So there is ALREADY multiple obstacle maps. It suffices to add to this key a simple variable from pathfinding behavior config to have multiple obstacle maps.

    For the actual users, just adjust slightly cellSize or cellBorder to have multiple obstacle maps.

    For instance one with cellBorder -1 and one with -2.

    Please implement such simple modification to pathfinding behavior.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Having only one global obstacle map is a serious limitation, and given the way they are actually configurable in the editor, this is a bug.

    It avoids to have ground and air units for instance.

    It avoids to have obstacles traversable by only one kind of units (private gates).

    ...

    A pathfinding behavior shoud be connected to a given obstacle map, that can be shared with some other pathfinding behaviors for performance.

    nimos100 mentioned to use layers to store these obstacle maps which may be a good idea.

    Ashley, do you plan to fix this?

  • 3 posts