I wrote about this problem in another thread, but the original topic of the thread was not about this problem so I thought it would be better to create a new one. My current project is currently at a stand-still because of this and I can't proceed until I have solved it :/
The problem I have is that I have some different layers with different x coefficients for scrolling so you get the nice parallax effect. In my game you can create object that are placed on different layers and then saved, and then when you load the game the objects you have placed are supposed to be loaded back. The problem is that objects on layers with a x coefficient different from 1 is always changing their x position so when you save their x position for next time it will be different depending on how far you scroll. So this mess up everything when it is loaded back.
I have created a striped down example of the problem where you can create an object by pressing the "1" key, then you can place it with the mouse.
Then when you restart the frame the objects you have placed will be loaded. It works as long as you don't scroll, but try to scroll and place an object and then reload and you will see that things does not space even anymore and are att different places.
I have also recorded a video of this happening: https://www.dropbox.com/s/8kaco7lupe...63248.wmv?dl=0
Please do anyone know a solution to this? It is driving me mad :/