Board Thread:Questions and Answers/@comment-14600979-20130814232345/@comment-15296152-20130817061808

You will need to offset each sprite with the position of the backgrounds to put them into screen-space.

ScreenX=SpriteX-BGX: ScreenY=SpriteY-BGY

Since you can't read the position of the bakgrounds, you'll have to hold the positions yourself in variables, and when you move the background, you change the position variables to match it as yu set BGOFS each frame. You then take the sprite positions (which will be relative to the level/map), and offset them as shown above. You then apply the results with SPOFS.