Help in pathfinding

Get help using Construct 2

Post » Thu Mar 14, 2013 12:15 pm

this is the capx :
http://dl.dropbox.com/u/62939951/patheror2.capx
i'm using r121

i have two layout you can go to the next layout when the player touch the green area, to move the player to green area just touch the green area, but when i run with firefox and IE in the first layout it's fine but in the next layout the pathfinding doesnt work.. but when i test it on chrome and safari it's run well

please test run this capx on firefox and tell me it's work or not.
if doesnt work and you have a solution for this please teach me :-D..

thank you very much
B
13
S
1
Posts: 46
Reputation: 1,527

Post » Thu Mar 14, 2013 3:56 pm

which version of IE? IE9 doesn't support web workers so the game will freeze while it tries to calculate the paths. The more complex the path the longer it takes. IE10 supports web workers so it calculates paths on a separate thread and should behave much better.

Read the manual and tutorials for more info.
B
49
S
11
G
10
Posts: 1,833
Reputation: 14,418

Post » Thu Mar 14, 2013 5:28 pm

i test it in IE10 & firefox.. on the first layout load it's fine but when you go to green area and switch to layout 2 the pathfinding doesnt work..
it's run well on chrome and safari..
B
13
S
1
Posts: 46
Reputation: 1,527

Post » Sun Mar 17, 2013 11:42 am

anyone have a solution for this?
B
13
S
1
Posts: 46
Reputation: 1,527

Post » Sun Mar 17, 2013 1:43 pm

I see... Change Activ layer on Layout 2 to Game.
B
9
S
3
G
3
Posts: 36
Reputation: 2,433


Return to How do I....?

Who is online

Users browsing this forum: Artpunk, Axiomaltd, MACPK, OddConfection and 24 guests