nvs / gem

Gem TD+: A Warcraft III Tower Defense
https://discord.gg/PxNNp77
26 stars 2 forks source link

Bug/11 Air Pathing #419

Closed nvs closed 5 years ago

nvs commented 5 years ago

Air Pathing

Attempt at implementing #11.

Testing Version

The event regions used to redirect creeps have been reduced drastically in size. The hope is that the difference between different player orientations in regards to air pathing has been removed or reduced.

Notes

Update 2019-05-18

The above is close to accurate, but not may not always hold true. If region works like how SetTerrainPathable works, then if a point is as the center of four cells:

AB
CD

Then depending on location in the map, the point will represent a different cell. In the upper right quadrant, A will represent the point. In upper left, B will, and so on. To avoid such issues, prefer to reference cells by the center point.

To-Do