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
Hi, do you know how to set the Pathfinding so that the ball doesn't take the first way but the second way? I need the ball to move exactly on the Pathnodes vertically or horizontally, without turning to sides.
You'll have to implement your own movement. You can use the expressions Sprite.Pathfinding.NodeXAt(Index) and Sprite.Pathfinding.NodeYAt(Index) to get the next x,y coordinates to move to. And Sprite.Pathfinding.NodeCount will give you the number of nodes in the path.
I'll try it. Thanx for advice.
Develop games in your browser. Powerful, performant & highly capable.
You can disable diagonal movements in the pathfinding properties. You you set the cell size properties to the same size as your graphics, you should get the result you want