Hi,
I'm currently creating a top-down space exploration game, and am working on the AI side of things today. I've got AI enemies spawning from System -> Create Object and then moving to the player through fam_enemies_sml -> Set angle toward (player.X, player.Y), and moving via Simulate Car pressing Accelerate but this naturally moves the enemy to sit on top of the player object. How could I implement AI movement towards the player to within a certain distance at any angle?
Furthermore, how could I make the AI circle around the player? The only thing I can think of for the latter thus far is making four variables, being top, bottom, left and right around the player, then setting them to player.X or .Y minus distance variable, updating each tick and moving the AI to each in sequence? No idea how I'd pull that off though as of this moment.