Hey guys
I wonder if someone of you knows the game "Disgaea" or "Final Fantasy Tactics".
I thought about the system that is behind all this and how to code it actually. The theory behind the system is quite simple but the implementation of that system is quite difficult.
this is a map with a grid of 10 x 10 nodes, the green node is my current position, the orange nodes are the move area in which the
player is able to do his turn. I wanted to calculate the move area
related to the Move value each character has. (in this case its 3)
related to the players position i want to calculate this. (as shown in the picture above)
I just tried to calculate every node in the array and set them to 0 which are higher than the move value of the player. the values in the
table above are actually the amount of steps the player would use to reach this node
does anyone have a solution for solving the calculation? I'm getting crazy trying it.
Thanks for replies in advance~
Roxas