Open Desno365 opened 9 years ago
this is hard to fix, have you ever get a help from @zhuowei and told him to fix this?
I used to do some JavaScript Programming a few years back with Arduino and GameBoy, so wouldn't there be a way to run both scripts at once? Also, couldnt the button be activated, when at a certain coordinate point, the weapon will fire? I'm probably wrong on this one, but I'm going to try and see if I can get this to work.
Another thing we could try is if when you aim, you change a variable, ex. aimTrig = true, so we can just hit a block instead of having to hit the fire button. That block could also be air. I will try to make an example program.
Can't help cuz maybe ask questions on stackoverflow.com?
Reported only on some devices. Can't find what causes the bug.
Bug saw by me on Samsung Galaxy Tab 8.9 with Android 4.0.4. It was reported also on samsung galaxy S3 (SPH-L710), Samsung Galaxy Note 3 and on Samsung Galaxy S4. (maybe it's a problem of Samsung devices?).
Devices that I'm sure don't have the bug: Moto G (1st Gen.), Nexus 4, One Plus One.
The bug happens when the user clicks the fire button, then with another finger he touches outside the fire button, devices with the bug give the second touch (the outside touch) to the fire button View, this means that users with the bug that are holding the fire button can't do anything else than shooting, they can't move the aiming or move the player for example.
I tried a fix for the bug in this way (with no luck unfortunately):
That's all for now, maybe my explanation wasn't really good, sorry for that, also my English is not the best.