How do I make AI spawn when player is close + I could use some help with how to make the AI's hit the player with melee weapon when close
thx in advance for answering guys!
Develop games in your browser. Powerful, performant & highly capable.
Try the "distance" system expression ( https://www.scirra.com/manual/126/system-expressions )
distance(x1, y1, x2, y2) Calculate distance between to points