I am making a game where the background is bigger than the visible play area. And I want him to be able to move to the edge of the background but no further, how do I set the boundaries so he is only able to move to the right when at the left edge…,How do I set a boundary for the player object to be able to move only to the edge of the background but not through it ?
I have a game where the background is bigger than the visible play area and the player can move further left and right, how do I set it so the player is only able to get to the edge but no further?