IMP1 / turn-based-tactics

A strategy game made in java that hopefully will play like a cross between an RTS like starcraft and a TBS like Advance Wars
0 stars 0 forks source link

Proper pathfinding #2

Closed IMP1 closed 8 years ago

IMP1 commented 8 years ago

That takes into account terrain.

IMP1 commented 8 years ago

Also, allow units to go through friendly units (obvs not ending up in the same location (unless loading)) but not enemy units. Units also can't go through enemy buildings. Units can go through friendly buildings.

IMP1 commented 8 years ago

This just needs the path-finding bit doing. Generating a 2d array of where a unit can move is done.