I'm trying to make an enemy ai but can't make it work.
It should patrol beetween 2 point, when it reaches a point it would wait for a few seconds and go to the other point. When the player is close to him it should attack.
Hope you can help me cuz I've been trying to make it for 5 hours but nothing works properly.
Develop games in your browser. Powerful, performant & highly capable.
Hello guys, I just made a simple game and when I open the app I cant play because its too laggy.Any ideas?