07-10-2016, 03:19 AM
BUMP
to version 1.7
More glitch fixin'!to version 1.7
I discovered a bug within the map drawing system where not all required data was passed into the method that draws the necessary tile into the minimap itself. I had to fix that and thus borne version 1.5
However, I noticed something with fairly large maps... and was a visible issue that related to my fix with version 1.4
Until version 1.4, the minimap system read the entire map before allowing the map itself to be rendered. Granted, that did cause some lag with large maps. But the versions before version 1.4 couldn't handle maps too large in size, so I used a technique that only read an area on the map around the player itself and attempted to update the map as you went. Unfortunately, it didn't update the tiles. And when you went too far outside the initial area the player started, the drawn tiles in the minimap vanished.
I attempted a fix with version 1.6 which refreshed the map every few steps, so the tiles were always visible in the minimap itself, but it was a bit choppy. I guess you could call it a prototype technique... it worked, but the technique erased the whole map, all values, and then redrew everything when it wasn't needed to be 100% rerendered. Slow and clumsy, it caused a tiny bit of visible chop.
However, version 1.7 fixed that with a new call which merely refreshed the system that redrew the tiles themselves. And with that, the issue with the map vanishing when the player walked too far from his/her origin spot.