The Map Scrolls

That is to say I’ve written the code to grab the current 32×32 area of the 128×128 world map that the player is standing in and display a 9×9 area of that as the viewport. This means wherever the player is, it will be possible to display a 32×32 area map. And the map loops nicely at the edges. Now where did I put that bag of gems of peering?

Leave a Reply

Your email address will not be published. Required fields are marked *