Pathfinding and LOS movement HELP! CAPX attached

Get help using Construct 2

Post » Fri Dec 30, 2016 8:01 pm

Okay, getting annoyed. I have used these same events before in a game I made and it works just fine.

Enemy has random movement throughout the layout, moving around solids and such. When the enemy has LOS to the player, the enemy finds a path towards the player and follows the player.

Should be simple, but for the life of me I am boggled why it works in another game I made and not in this new one I am concept testing.

CAPX: https://www.dropbox.com/s/o3r4irh44tkse ... .capx?dl=0

Any feedback welcome... I must be missing something obvious...
B
18
S
6
G
7
Posts: 44
Reputation: 4,665

Post » Fri Dec 30, 2016 11:40 pm

I am sorry to say, but, i think, this can never have worked.

Try to follow this tutorial.
https://www.scirra.com/tutorials/474/pa ... e-of-sight
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Sat Dec 31, 2016 3:16 am

I took one look at that link you posted and it hit me like a ton of bricks - I knew exactly what I forgot to do.

All Fixed.

THANKS for the prodding, it was all I needed to refresh my brain. Amazing how much you can forget after being absent from using the software for just several months.
B
18
S
6
G
7
Posts: 44
Reputation: 4,665

Post » Sat Dec 31, 2016 10:58 am

ysvw
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950


Return to How do I....?

Who is online

Users browsing this forum: Nicolas951, Shenkai the ssj, Yahoo [Bot] and 26 guests