T0T0S Posted December 20, 2015 Share Posted December 20, 2015 Hello people,I am making a little isometric game and I need to determine some range of movement. So I wanted to know if someone had a efficient way to get the positions of every tile that the player can reach. Here is a visual exemple of what I need. I've already have basic A* pathfinding. Thanks Quote Link to comment Share on other sites More sharing options...
dimumurray Posted December 21, 2015 Share Posted December 21, 2015 Maybe you need to explore A* pathfinding in more detail.Here's a good article on the topic:http://www.redblobgames.com/pathfinding/a-star/introduction.htmlThere's a section in it about calculating the frontier which seems applicable to your problem. Quote Link to comment Share on other sites More sharing options...
T0T0S Posted December 22, 2015 Author Share Posted December 22, 2015 Thanks dimumurray, It seems I need to switch to Dijkstra pathfinding for this... But at least it's clear now I'll also add this link for more precision. http://www.redblobgames.com/pathfinding/tower-defense/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.