- Home /
2D Pathfinding Top Down
Hello, I am new in Unity and I make a game based on this game (here is project file, tutorials and a game), but difference of this game with mine is that I added walls, so enemies are stupid and they don't see them, so I decided to use A* Pathfinding Project, made everything as in this guide, but I couldn't make and then find good script for enemy's movements(all of them did not work correctly). Maybe someone knows how to make movement of enemies right as it is without obstacles, but with them and with using A* Pathfinding.
Have you tried the example scenes and example script provided with the APP? The AIFOllow script, for example, is a good start.
I tried a lot of scripts and than I found script that Aron Granberg made for 2D top down games, it works, but I have problem- player starts the game on the middle of the screen but enemies move to another place and stay there(target is player). If it is possible for you, can you look on my project, maybe you will find a mistake.
Sorry, that is beyond what I'm willing to do. I suggest asking your question directly over at Granberg's own forum, he has his own Question & Answer system over tehre is is generally very helpful, as is the rest of the small community.
Yes, I agree, it is helpful. I asked my questiion there too.