Heat seeking pathfinding for moving unit on touch

0 favourites
  • 2 posts
From the Asset Store
SCI-FI Units SFX contains 456 sounds With this pack, you can voice almost all the units in your sci-fi strategy game
  • I was wondering how to make a player heat seek to its selected moving target the sort of an arpg

    while using pathfinding its easily done with LOS on AI but the player seems a little more stubborn

    Also what would be the most efficient way to angle it toward the enemy for projectile attacks using a 8 direction sprite (id imagine set animation based on enemy angle but theres room for discrepency)

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Pathfinding to location if using 8-dir, the 'stubbornness' will be some bugs that need to be ironed out. You could set player to bullet and move at angle toward location but sounds like you are doing an RTS which will work fine with pathfinding. Projectile attacks again use bullet behaviour with set angle toward enemy. If you need any assistance with bugs then feel free to send me capx.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)