terabyte25 / tes3mp-android

tes3mp ported to Android devices (using CrabNet). Forked from xyzz/openmw-android.
54 stars 13 forks source link

Clickable controls? #3

Open xahon opened 5 years ago

xahon commented 5 years ago

Hello. Did you reverted sandstranger's clickability feature? Why? Can I help you implement it right way to boost gaming experience?

terabyte25 commented 5 years ago

The reason as to why I reverted sandstranger's control was because I did not properly implement it: if you clicked on an area where the joystick was covered, the click would not go through to openmw.

Right now I'm trying to reimplement it, but the farthest I got was where I could click on almost any part of the screen, however, I would first have to make the cursor "appear" by moving around, then click.

If you can implement it fully, I will be more than happy to merge it.

terabyte25 commented 5 years ago

@xahon By the way, here is sandstranger's code for his own APK. https://github.com/terabyte25/sandstranger-openmw

If you look closely, he implements the touch events in SDLActivity, and he makes all the controls "disappear" in MouseCursor.

terabyte25 commented 5 years ago

@xahon Alright, here is the new version of build for clickable controls. https://mega.nz/#!9rZ3iCRD!wqh0levSCUIoROLs_YD5mx-e0eWWTbo_MT5bdWBSxpo

May you test it and see if it works?