Content-Length: 17950 | pFad | https://itch.io/post/9750864
very interesting game. how did you make the red hunter AI?
Thank you! I think it was as simple as this line of code, or something like this (it's been a while since I've touched Unity..):transform.position = Vector2.MoveTowards(transform.position, player.position, speed * Time.deltaTime);
I will have to experiment with that, I felt like it had some interesting moving patterns in avoiding walls, and exceptional lateral movement in the same cases where it could've stuck
Fetched URL: https://itch.io/post/9750864
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy