So, I am making a top-down view game and I have programmed the enemies to make a vertical sine movement, but he is always "looking" at the same direction, I want to know how to make the enemies look at the direction they are walking towards to.
Doing so is entirely possible and pretty easy, but it depends on how you programmed the movement of the enemy, please attach a screenshot of the enemy's code so that we can reach a solution.
Develop games in your browser. Powerful, performant & highly capable.
like this?Capx Dowload
cheers