Hi!,
It´s not as easy as the titlle says.
What have I done?
-A layout with 2000px width.
-A main Sprite with platfforn and scroll behavior.
-2 more Sprites that are created when you touch the screen, one of them with anchor behavior.
*When you touch the screen this 2 sprites appear on screen, and one of them is anchor to the screen, and the other follow your finger in the screen. This is ok for me, it´s working!!!.
BUT!:
When the main Sprite moves to the right of the layout...when I touch the screen again...the sprite with the anchor behavior appear far from desired to the right.
And don´t know why this happen! And I don´t see a way to solve.
Anyone help?
I link my capx.
https://www.dropbox.com/s/cbc4yvoo1xk0c ... .capx?dl=0