Pathfinding breaks when sprite is mirrored

0 favourites
  • 3 posts
From the Asset Store
Units do not overlap each other and use different ways if there are several free ways.
  • Link to .capx file (required!):

    Left click will move the broken sprite to the current mouse location. Right click moves the unbroken, non-mirrored sprite to the current mouse location.

    I realise that it's extremely simple to make mirrored animation sets, but I thought you should know about this bug anyway.

    Steps to reproduce:

    1. Make sprite & give it Pathfinding behaviour

    2. Define conditions for when sprite should be mirrored

    Observed result:

    Sprite moves sporadically when moving in its mirrored state. When moving in its mirrored state it a new path cannot be defined as the sprite stops moving/responding completely. It will move normally when in its unmirrored state. The sprite that is not mirrored at all will function correctly at all times.

    Expected result:

    Sprite should move as it does when not mirrored.

    Browsers affected:

    Chrome: Yes

    Firefox: Untested

    Internet Explorer: Untested

    Operating system & service pack:

    Windows 7, latest service pack.

    Construct 2 version:

    Beta r118

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Same here.

    Tested on Firefox, Chrome and IE.

    Seems like it not only tries to mirror the sprite but also the pathing (it looks like it's constantly pushing to the left while, at the same time, trying to move to the right, and vice versa).

  • Thanks, should be fixed in the next build.

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