I'm trying to make a rpg like game.
I want when I click on my npc Character, it moves to a location. But there are obstacles in the way. I need it to navigate to a certain location.
use the PathFinder behavior on your sprite.
Yes but which actions should I be using?
Develop games in your browser. Powerful, performant & highly capable.
First you need the sprite to "find a path" to somewhere.
Then you need to check if the sprite have found a path "On path found" and in that case it should "move along the path"
Then you add an "On arrived".
there's a tutorial on it..
https://www.scirra.com/tutorials/1118/path-finding
First you need the sprite to "find a path" to somewhere. Then you need to check if the sprite have found a path "On path found" and in that case it should "move along the path" Then you add an "On arrived".
Thank you, this helped!