Pathfinding breaks when sprite is mirrored

Bugs will be moved here once resolved.

Post » Sat Feb 09, 2013 4:44 pm

Link to .capx file (required!):
http://sdrv.ms/WB1ss1

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 r118Wrangler2013-02-09 16:54:10
slap it onto the flappy bird template...
bang it on google play with all the other shovelware...
sorted...
B
36
S
7
G
4
Posts: 322
Reputation: 8,170

Post » Sun Feb 10, 2013 8:21 pm

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). Blinx1232013-02-10 20:22:22
B
6
S
2
Posts: 206
Reputation: 1,685

Post » Mon Feb 11, 2013 7:06 pm

Thanks, should be fixed in the next build.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests