Pathinding behavior teleport bug !

Bugs will be moved here once resolved.

Post » Tue Jan 02, 2018 1:37 pm

Sorry for my english im french !

Problem Description
With the pathinding behavior, the concealed objects are teleported if they collide !

Attach a Capx
https://mega.nz/#!4FsHUYBY!ri1eUJzBJ3Ro0_T4Jy26LbfcY2dUyrxvotzWed_ytEs

Description of Capx
Is a fangame of hacking minigame of NieR Automata !

Steps to Reproduce Bug
  • Play game
  • Try to meet the most "enemy" object

Observed Result
Some enemy when they are blocked and when I ask them to find a new way, teleports!

Affected Browsers
  • Chrome: YES
  • FireFox: I don't know
  • Internet Explorer: I don't know

Operating System and Service Pack
Windows 10 with service pack 3

Construct 2 Version ID
Version 244
B
6
S
2
Posts: 1
Reputation: 452

Post » Tue Feb 27, 2018 3:05 pm

That's probably because the enemies are moved with the Pathfinding Behavior directly while having 8 Direction activated. When they collide, the Solid Behavior set their position so that they don't overlap. This may cause the "teleport" problem. You should use the 8 Direction to move the enemies along the Pathfinding nodes (with an instance variable to to keep track of current node).
B
16
S
5
Posts: 141
Reputation: 1,504

Post » Wed Mar 07, 2018 1:32 pm

Closing - please see the bug report guidelines, we do not normally investigate projects like this. Also as @Nabu0001 points out it's probably because you are essentially crushing 8-direction objects with the Solid behavior, and since 8-direction is not allowed to overlap solids, it will move the object somewhere else to avoid solids if there is nowhere else it can go.
Scirra Founder
B
415
S
248
G
92
Posts: 25,295
Reputation: 200,984


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests