I’m not a professional dev, but I have made a nearly complete game. Due to engine reasons, I’m having to try and recreate the whole thing on a new engine and I thought GDev would be good.
I cannot for the life of me figure out how to do a simple enemy patrol route. I have the U, D, L, R animations, but cannot figure out how to implement them. Player Character is fine because then I can tie the animations to key use, but I cannot figure out how to do a simple “If [Enemy] is moving/facing U/D/L/R” then “Use [X] animation.” TopDown and Pathfinding are sending me in circles. All I get is stupid rotation. And somehow I have to do randomized movement (dog chasing sheep), too.
Edit: This is not a platformer.
I cannot get past what should be the easiest part of development. Seriously, what is this?
(Apologies if I do not reply right away; my internet is spotty and sometimes nonexistent.)