How do I use Moveto with Obstacles

Get help using Construct 2

Post » Sat Dec 10, 2016 9:22 am

Hi guys!

im doing a very simple AI, A square object (player) is being followed by B square object (enemy) in a maze like layout!

Im using the MoveTo behavior from Rex! my events are simple

System 0.1 sec
Enemy Square xy Moveto Player Square xy

im controlling the speed of the enemy with the distance how close and far he is from the player!

I would like to know how I can introduce obstacles in this case. Moveto have a option, Stop by Solid! which actually stop the enemy from moving! at the moment enemy object is not colliding with the maze wall! it passes through!

Posts: 11
Reputation: 1,772

Return to How do I....?

Who is online

Users browsing this forum: PitfallJerry and 7 guests