Stefan4472 / GalaxyRun

A space-themed infinite runner for Android
GNU General Public License v3.0
0 stars 0 forks source link

Controls getting "Stuck" #159

Closed Stefan4472 closed 1 year ago

Stefan4472 commented 2 years ago

Sometimes the UI registers the Controls or ShootButton as clicked, even after I've taken my finger off the screen. This seems to only happen sometimes during multi-touch.

I've noticed that the TouchEvents are not always high-quality: there are repeated TOUCH_DOWN and TOUCH_UP events sometimes. I think that sometimes, Android isn't sending the TOUCH_UP event. I don't know if this is a problem just on my phone, or generally.

This is a pretty big problem and is worth investigating.

Stefan4472 commented 2 years ago

Note: the code is GameUI.handleMotionEvent

Stefan4472 commented 1 year ago

Closed by #10 because we got rid of the up-down UI controls entirely.