08-29-2020, 03:37 AM
BUMP
to version 2.0
to version 2.0
Well, we have an update and a fix combined....
The mini-map has a feature where the map can shift from one corner or edge to another if you get too close to one side of the map. This allows you to make sure certain items or events do not get accidentally hidden by the mini-map itself.
Well, I just added a little 'buffer' option which can be adjusted with the newly created "DIST_SHIFT" configuration value. So now the switch doesn't happen IMMEDIATELY after you cross the center of the map. Well, it's currently set to '2' so there is a 2-tile difference from the center on either side.... either horizontal and/or vertical. Your choice.
As to the fix, there was an issue where the mini-map and its border background didn't line up. Normally, they line up. But if the player's mini-map shifted from one side to the other and then used a teleport to switch to another map, the two could separate. Well... that sucked.
However, I noted that some formulas in one method were not 'exactly' replicated in another method. The two methods were related to either mini-map and the border. Once the two were made to match.... the issue of shifting mini-map borders was resolved.