Got as far as duplicating this implementation perfectly within my game but can not figure out how to make the joystick scroll as the viewport scrolls:
https://drive.google.com/file/d/1p3ovv8wsa9SS1PW2Vni6sOYDalllDm4L/view?usp=sharing
I am using the fana version included in this Construct file.
I tried making the joystick objects on a layer that has 0 parallax but I can not figure out how to get it to work. The following version of the game has the joystick objects on the character layer with 100% parallax.
Here is a link to my current game:
https://drive.google.com/file/d/1JeNpDQJTsvVHULnoZoI6IvCtZ5jiaO61/view?usp=sharing
Would greatly appreciate any help on this! Please let me know if I didn't explain well enough.
Controls need to be on UI layer with 0 parallax, and use Touch.X(layer) and Touch.Y(layer) expressions.
See these demo projects:
dropbox.com/s/7p6fgru06zrzvpj/Thumbstick8Direction2.capx
dropbox.com/s/0l5amqlmxbpe17l/ThumbstickFloatingMultitouch.capx
Develop games in your browser. Powerful, performant & highly capable.
Wow I am continually amazed by this community, thanks so much. Worked perfectly. I had no idea you could specify layers with touch.