Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
how do i choose 1 particular instance as an obstacle in pathfinding?
Hi, after adding a path-finding behavior to your object(lets call it enemy). You go to the event sheet, add a new event - for this I'll use 'On start of layout' and add a new action for 'enemy'. You then scroll down until you see the title "Pathfinding" then you choose 'add obstacle' and you just choose that particular object you want to be an obstacle. That's it!
StormHo try this demo
Develop games in your browser. Powerful, performant & highly capable.
Just 1 instance,not whole sprite of same type
I'm confused by your question, are you wanting to set an instance already on the screen to be an obstacle in pathfinding, or to spawn one in front of the player and have the Player object treat it as an obstacle in pathfinding, or...?
An instance already on screen,particular uid
you mean like this