I can not understand, is it a bug in the system or am I doing something wrong?
Here is the Joystick and it works fine, BUT as soon as I set the behavior for the player (or just for any object) to Watch (Scroll to) the joystick goes crazy.
I do not understand why, he is not connected with the camera.
Just add a camera behavior to the player to monitor it and see what happens with the joystick.
yadi.sk/d/FHDDfsoqcKXdew
Your layers have different parallax. Try replacing Touch.X with Touch.X("UI"), same for Touch.Y
Here is a demo:
dropbox.com/s/7p6fgru06zrzvpj/Thumbstick8Direction2.capx
Your layers have different parallax. Try replacing Touch.X with Touch.X("UI"), same for Touch.Y Here is a demo: https://www.dropbox.com/s/7p6fgru06zrzvpj/Thumbstick8Direction2.capx?dl=0
https://www.dropbox.com/s/7p6fgru06zrzvpj/Thumbstick8Direction2.capx?dl=0
Thanks now I will try)
--
I added (loopindex, "UI")
Nothing changed(
Where did you see "loopindex" in my comment??
Change all Touch.X with Touch.X("UI")
Change all Touch.Y with Touch.Y("UI")
Everywhere, in all formulas!
Develop games in your browser. Powerful, performant & highly capable.
Where did you see "loopindex" in my comment?? Change all Touch.X with Touch.X("UI") Change all Touch.Y with Touch.Y("UI") Everywhere, in all formulas!
Oh yeah! Thank you so much) I still need to study and study with you)