frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Register

How to make enemy shoot towards player in top down game?

edited January 23 in Game Design
I want to have enemies that are basically turrets that just sit in one spot and every couple of seconds shoot toward the player, but I can't figure out how to get them to shoot towards the player they always shoot straight right. Any suggestions?
Tagged:

Comments

  • I think it might be easier to program the projectile instead of the turret. Let me find a good example for you.
  • I figured out how to do it. I used proximity and pointat so I could track the player and then use the coordinates to fire towards it. Thanks anyway though!
Sign In or Register to comment.

flowlab.io

| make games in your browser
@ 2017 Flowlab.io, All rights reserved.

Contact us

Get In Touch