I have my game set up in a true widescreen ratio, and the window width does not divide by 48, my tile size. To make a 'one-screen' map I therefore have a map width very slightly wider than the window width. However, this means that the camera will scroll one tile to the left or right depending on which half of the room the player is in, when I want it to stay static. If I make the map slightly less wide than the camera width, I get black bars at either side of the window, which looks bad since my interior locations are surrounded by a dark green colour.
There are two possible solutions to my problem as I see it:
1) Stop the camera following the player while they are in a one-screen location, then start it again when they leave.
2) Change MV's background colour from the default black to my dark green and make the map narrower.
Any advice on how I'd achieve either of the above? Thanks!
There are two possible solutions to my problem as I see it:
1) Stop the camera following the player while they are in a one-screen location, then start it again when they leave.
2) Change MV's background colour from the default black to my dark green and make the map narrower.
Any advice on how I'd achieve either of the above? Thanks!