How do I make this skull head moving?

Get help using Construct 2

Post » Tue Mar 17, 2015 3:03 am

I want the skull to move foward when the path of rotating asteroids is open.
Currently I use pathfinding behavior. But it seems pathfinding only works when since the beginning there are no obstacles. So in this case, if the path is opening and closing, what should I do to make the skull moving?

Screenshot - 17_03_2015 , 9_56_08.png

Screenshot - 17_03_2015 , 9_55_44.png
You do not have the required permissions to view the files attached to this post.
B
10
S
5
Posts: 220
Reputation: 1,464

Post » Tue Mar 17, 2015 7:17 am

Hi,
You can regenerate obstacle map and wait 0.1s before making your skull to find a path.
Your asteroids need to have solid behaviour by the way.
B
14
S
4
G
2
Posts: 190
Reputation: 3,938

Post » Tue Mar 17, 2015 10:15 am

Ok, now the skull is moving. The asteroid is solid. But the skull can move through the asteroid.
Hmmm... Maybe I have to make a different calculation for this path.
Screenshot - 17_03_2015 , 17_17_33.png
You do not have the required permissions to view the files attached to this post.
B
10
S
5
Posts: 220
Reputation: 1,464

Post » Tue Mar 17, 2015 10:59 am

Calculate path, checks where all the solid objects are (those where it can not move) if your solid objects move around, after calculating path, then its effect is lost, as the solid objects would be out of place.
Who dares wins
B
50
S
10
G
10
Posts: 1,728
Reputation: 12,895


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 7 guests