So i am making this sniping game using xLIB, you are looking through a scope, and i use xLib's tile mapping to represent the wall/building/thing you are looking at. And i use the scrolling effect so you can look around.
However, i have run into a predicament.
Since the map is displayed with the top right corner of the map in the top right corner of the screen, the edges of the map can never fall under the center of the screen. I thought of leaving 3 rows of empty space all around the matrix, but that seemed to be a big wast of time…
Any other suggestions?