How to improve my ai

hi does know how I can improve my ai here’s the link https://arcade.makecode.com/S37888-60168-03152-32948 thank you.

Maybe you can make if there isn’t a wall between the player and the AI, use follow sprite movement, otherwise use tile-based movement to make it a bit more smooth.

I would say make some adjustments to the collision, because sometimes it clips through walls.

ok thanks

heres an updated version of the ai what should I add to make it smarter or better https://arcade.makecode.com/S37888-60168-03152-32948

1 Like