|
Post by jaypickle on May 13, 2015 20:42:29 GMT
Hello Everyone,
I'm new to Honey Hex and I was wondering if there was any built in way to provide a path preview. For example, if I select a unit/actor is there a way to show a path preview that points to the hex my mouse is over?
I could probably alter the roads to do this somehow, but if there is an already built in way, it would save me some work.
I'm fairly familiar with Unity and C#, but until now I've only made really simple games as a hobby. Trying to step my game up now.
Great product by the way, keep up the good work!
Thanks, Jay
|
|
|
Post by khash on May 13, 2015 23:18:20 GMT
Hi! Nice to see you here You can use exactly the same algorithm which returns path to the actor which moves along to show where he would go instead. At the moment path goes straight to actor, while what you want is to convert it into positions and send it to Marker class and mark hexes on the path, or if you like you can even use road system to show smooth path from your current location to target which would look way nicer There is no "turn on" option for it but its easy to code, you have all blocks required for it.
|
|
|
Post by jaypickle on May 14, 2015 17:30:33 GMT
Awesome,
Thanks for the reply!
|
|