Hello !
I'm wondering how to handle views so that I can always have the character at the center of the screen except when it approaches the border of the map.
My map is a tile-based vertexarray which is largest than the screen.
I wonder if I need to use one view for both the background and the character and center the view on the character (wouldn't it be jerky ?) or against the border of the map, OR two views, one for the background and one for the character (it would be positioned relatively to the screen) but it'd be complicated to calculate as I wouldn't have the absolute coordinates.
What's the right way to do it ?
Thanks !