Having the Background or Camera “Scroll” based on charcter position
问题 I'm working on an RPG game that has a Top-Down view. I want to load a picture into the background which is what the character is walking on, but so far I haven't figured out how to correctly have the background redraw so that it's "scrolling". Most of the examples I find are auto scrolling. I want the camera to remained centered at the character until you the background image reaches its boundaries, then the character will move without the image re-drawing in another position. 回答1: Your