im looking for an enemy ai that goes from left to right , but if there’s a wall, it turns the other way. can anyone help?
please help me,
-KING
im looking for an enemy ai that goes from left to right , but if there’s a wall, it turns the other way. can anyone help?
please help me,
-KING
ah you want goombas:
thank you
ok WHY THE HECK IS THAT SO SATISFYING
oh boy I been waiting for this I made a extension for this https://github.com/neverstopthecoder/moving-extension
its not 100% what you want but it will make a sprite move left for so long and then right and then left and then right etc
Have a look at my code in my Aces Base game. my enemies turn when they hit a wall, but also when they reach the edge of a ledge