Hi guys ,
I want to make the game like this
https://www.mindgames.com/game/Frog+Escape
In this game , frog will find a way to escape . He auto check if have wall near him he will find the other ways to move . Do you have any suggestion for me to resolve this puzzle .
Thanks you very much
Use PathFinding behavior.
https://www.scirra.com/manual/154/pathfinding
Develop games in your browser. Powerful, performant & highly capable.
Use PathFinding behavior. https://www.scirra.com/manual/154/pathfinding
I've played a few of the types of game mentioned.
Finding the closest tile for a sprite to move to, isn't a very good AI.
— will soon discover this problem.
There are a few plugins for grid-based pahtfinding, see this post:
dop2000 Thanks you very much . Plugins you gave to me is very helpful .