How do I enemy grid movement / collision checks

Get help using Construct 2

Post » Sat May 28, 2016 1:07 am

Hey guys , I've got a simple problem to explain but difficult to create.
Basically it is grid based enemy movement avoiding obstacles.

I can do the grid based movement no problem, it is getting them to avoid solids that's the issue.

I have tried collision checks with sprites, overlapping at offset checks, all with variables.
Eg spawn Sprite to left of enemy - if it overlaps solid check different direction , if not , move to that spot.
Path finding doesn't work well for it either. It's a 32x32 grid where they warp to next spot instead of smooth movement .
Wondering if you guys had any other ideas.
B
7
S
2
Posts: 24
Reputation: 569

Post » Sat May 28, 2016 2:46 am

I'm also open to the idea of using bullet behaviour for movement, it's just the collision checking I need to figure out. Have swept the forums but its a bit of a dead end so far for figuring it out.
B
7
S
2
Posts: 24
Reputation: 569


Return to How do I....?

Who is online

Users browsing this forum: SERG 04 and 3 guests