Limit player movement or walk area when it about to reach the border of layout to keep it at center. The problem is when the player reach the edge of layout. For fixing player control, some angle calculation need to be done. Use z-sort based on Y position to make object behind/over another.
To actualy sort z-order correctly, we need to consider layer/layout rotation so it will picking correct relative y position based rotation. Here the solution:
https://www.dropbox.com/s/1xbj1d26xldtd ... .capx?dl=0