I’m working on essentially a miniature wargame where units can move an inch/cm range per turn. I don’t fully know how I would go about displaying that range to the player. I mainly need some pointers or directions to some tutorials or the likes that can help me figure this out.
I need the range to:
- “Stick” to the ground due to hills
- Take into account distance travelled when displaying ranges around buildings or other obstacles.
- Display terrain modifiers like [Road 2x movement] [Mud /2 movement]
My initial idea is to send out some number of A* “tendrils” from the model to a point on a circle some distance away. These tendrils can snake their way around terrain until they run out of their “movement”, then I can somehow draw a range connecting all the endpoints of the tendrils.
I don’t know if this is the best or even a good way of doing it. Despite its validity, I can definitely find some tutorials or guides online for the A* part, however have no idea how I could draw a line connecting all the end points.
I’m relatively new to this so any help would be greatly appreciated.