nvs / gem

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

Consider a new range check system #386

Closed nvs closed 5 years ago

nvs commented 5 years ago

This would utilize the system and ideas present here: https://www.hiveworkshop.com/threads/show-me-the-ranges.299681. If this works out well, it should replace the existing range checks completely.

nvs commented 5 years ago

After looking over that system, it seems to rely upon creating images at set locations. In the event of a mobile unit, for example, the images are updated every so often. For Gem, however, all range checks would be done on stationary units. This vastly simplifies matters.

The following images are utilized:

There is mention of the first image's handle ID being 0, which makes the comparison image == null not possible. Need to check on this.

nvs commented 5 years ago

This looks good. About the only thing that may need adjusting is the color. Currently, white is used.

nvs commented 5 years ago

The color is good enough. Done.

nvs commented 5 years ago

Look into using the race styled area of effect circles for selection circles. This would allow better continuity with the ability to select race.