I am editing game map so that the player is always in the centre of the screen.
What I want is that if the player reaches the edge of the map, they just see a black void.
Well, it turns out maps tile in empty space like that. Does anyone have any idea how to stop this tiling/wrapping?
Imagine I've just walked to point (-5, 10) -- instead of being on a copy of the map, I want to be on complete black.
At the moment, let's say I've set the player to always be in the middle of the screen, and I walk to the far left of the map. Instead of there being nothing next to me, I see the far right of the map, looping. I want for there just to be -nothing there at all. Just black space.
What I want is that if the player reaches the edge of the map, they just see a black void.
Well, it turns out maps tile in empty space like that. Does anyone have any idea how to stop this tiling/wrapping?
Imagine I've just walked to point (-5, 10) -- instead of being on a copy of the map, I want to be on complete black.
At the moment, let's say I've set the player to always be in the middle of the screen, and I walk to the far left of the map. Instead of there being nothing next to me, I see the far right of the map, looping. I want for there just to be -nothing there at all. Just black space.