Hi Guys,
I am very new to Construct 3 and have a problem with my shooting game project.
I made this game work on both mobile and PC.
I have coded it so that a floating joystick control appears only when playing on the touch devices.
However, there are some issues with that code while playing on mobile:
1. An unwanted crosshair appears at position (0,0) on mobile: i.vgy.me/CWVvql.png
I can't figure out how or why it's happening. This issue only appears on mobile devices, when playing on PC, it doesn't show up.
I couldn't use debug preview to check which crosshair is appearing at (0,0) since I have to use remote preview to test on mobile devices.
I am using separate crosshairs for mobile and PC because the controls are different:
"Crosshair" for PC
"crosshair_touch" for mobile
2. When using the mobile touch joystick, the crosshair keeps moving toward the last movement direction even after I stop moving the joystick. It doesn't stop when I release the joystick.
I have attached event images and a video for better understanding. Please check below:
Mouse control: i.vgy.me/Pe0Sxq.png
Touch control: i.vgy.me/mCJdbd.png
Problem video: webmshare.com/play/NARBm
Thanks...