How do I center sprite to touch?

Get help using Construct 2

Post » Fri Mar 25, 2016 5:13 pm

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
MY APPS ON GOOGLEPLAY
ImageImageImage
B
39
S
14
Posts: 100
Reputation: 2,923

Return to How do I....?

Who is online

Users browsing this forum: digitalsoapbox, RetrocadeMedia and 1 guest