Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Don't forget to read Tuesday's email newsletter for your chance to win a free copy of Construct 2!


Making a path of tiles for a unit


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 Renran   Members   -  Reputation: 132

Like
0Likes
Like

Posted 17 May 2012 - 10:48 AM

Hello,

I have a question:
A unit is standing at the top of a triangle.
The triangle is filled with tiles.
So, I have to make a kind of path of tiles where the unit is permitted to
go. The tiles where the unit can go will be lighted, the others not.
What kind of AI can be used to make this path?

Thank You and greetings

Renran

Edited by Renran, 17 May 2012 - 10:48 AM.


Sponsor:

#2 ApochPiQ   Moderators   -  Reputation: 16069

Like
0Likes
Like

Posted 17 May 2012 - 12:58 PM

Have a look at the "A-star" (aka "A*") algorithm. It should do what you need :-)

#3 Renran   Members   -  Reputation: 132

Like
0Likes
Like

Posted 17 May 2012 - 01:12 PM

Thanks, I was not sure what to use.
Greetings,
Renran




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS