BDS Software

Hex vs. Square - Page 10



The Upper-Left Convention for Hexes (continued)

Having looked at the corner points, let's now look at the edge lines:

Here we see the edge lines near hex 0101. The blue lines belong to hex 0101. The red lines belong to it's neighboring hexes:


Hex Map Lines


In the enlarged view below, we can see that, if the upper line (blue) were to be considered as simultaneously part of each and every hex that it touched, then it would be a part of hexes 0100, and 0101:


Hex Map Upper Line


Here, we can see that, if the upper-left line (blue) were to be considered as simultaneously part of each and every hex that it touched, then it would be a part of hexes 0000, and 0101:


Hex Map Upper-Left Line


And here, we can see that, if the lower-left line (blue) were to be considered as simultaneously part of each and every hex that it touched, then it would be a part of hexes 0001, and 0101:

If our player happened to click directly on one of those three lines, it would then be very difficult to try to determine which hex had actually been clicked.

Instead, my "Upper-Left" Convention simply declares that those three particular lines belong to hex 0101; and only to hex 0101.


Hex Map Lower-Left Line


Now consider this:


Hex Map Zoom Lines


This shows the area of the map near hex 0101, blown up ten times. Note the blue lines which are labled "ML" which stands for "My Line", i.e. an Edge Line which belongs to "This Hex". The red lines are labeled "NL" which stands for "Neighbor's Line", i.e. an Edge Line which belongs to a hex other than "This Hex":


To follow my investigation into how to best determine which hex has been clicked, continue to the Next Page.





                                                                                                                                                                M.D.J. 2022/08/27