Interesting problem

Discussion and feedback on Construct 2

Post » Tue Nov 08, 2011 9:18 am

I have discovered a curious issue.

I am trying to make a simple wall-following method. It is going well. When you test it out as-is it works almost perfectly. Try it here.
Drag the target around and the enemy should seek you.
http://dl.dropbox.com/u/41931267/Pathfinder.capx

However. If one adds any more copies of the enemy, horrible things happen. I am NOT using global variables, so that isn't the problem.

The main issue is the fact that the enemies are getting stuck in walls. With multiple copies of 'enemy' it is easy to reproduce the bug.

Is it a simple programming error? or a native bug?

Interesting...
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Tue Nov 08, 2011 9:45 am

I just tried it with 8 copies and it worked fine. No glitches that I could see. I made sure to drag the target around for a while but they all still behaved themselves :)
If your vision so exceeds your ability, then look to something closer.
Moderator
B
120
S
28
G
68
Posts: 4,841
Reputation: 48,283

Post » Tue Nov 08, 2011 8:05 pm

Hmm, interesting. Very interesting.

It still happens to me:


B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400


Return to Construct 2 General

Who is online

Users browsing this forum: Mirlas, wrighthill and 19 guests