Vwing / daggerfall-unity-android

Open source recreation of Daggerfall in the Unity engine, ported to Android
http://www.dfworkshop.net
MIT License
44 stars 2 forks source link

Issues with mouse movement #1

Open Goldfire345 opened 3 months ago

Goldfire345 commented 3 months ago

Hello there Os Android 13 Device lenovo m9 hello there i recently installed the app and i'm having issues with mouse input the issue being that i don't think the mouse support is properly implemented in the app.The reason i believe this is because the mouse doesn't smoothly move around allowing the character to turn fully in one motion instead that doesn't happen it just stops when the cursor hits the edge of the screen. Its a sign that the app treats the mouse movement as touch input. and not proper mouse input. Ive had experience with several other source ports (open touch gamings delta quad, zeta and alpha touch as well as open mw) all of those let you turn around fully in one motion with the mouse, so i can say for sure its not my mouse or my tablet or aside from that the app works pretty good. if something can be done about that it would be great. i'll attach a recording of my screen showing the mouse issues. the last bit i can add is this happens off a fresh install so no mods or any major settings changes the version of daggerfall that im using is the one from the uesp site with the default options checked on the installer

https://github.com/Vwing/daggerfall-unity-android/assets/52189902/eac806eb-84b2-43d4-8790-4978e0debd5a

Vwing commented 2 months ago

Thank you for bringing this to my attention! I'll take a look, and hopefully will have a fix in the next release.

Vwing commented 2 months ago

@Goldfire345 Want to play test this release candidate of v1.1.1.2 DFU Android? I may have fixed your mouse input issue.

64bit apk: https://drive.google.com/file/d/1n-fLyxnjaX1UdI3R7KSCh0Fi-8TdP0DI/view?usp=sharing

32bit apk: https://drive.google.com/file/d/1Qmy03l7LiIunFybf1vmSqlaZIx9oeCrF/view?usp=sharing

Changelist:

Vwing commented 2 months ago

I believe this is fixed in v1.1.1.2. Feel free to re-open the issue, though, if it continues to be a problem @Goldfire345

Vwing commented 2 months ago

Nevermind, another user brought to my attention that this issue is still not fixed. Looking into it, I think this unity forum thread holds the answer https://forum.unity.com/threads/android-pc-like-mouse-gaming-input-with-requestpointercapture.1228902/

I'll most likely implement the fix later this week.

ImCrus commented 2 months ago

@Vwing Thank you! And sorry to bother you... didn't properly read the post then, my bad. Do you know an estimate date to when you will apply the fix? I'm quite intrigued to properly try the port! Once again, thank you a lot!

Vwing commented 2 months ago

I'm not giving any estimates at the moment, but "soon". I've been swamped for a couple weeks with contract work, and today I finally have time to start addressing this issue and other problems users have reported to me.

Vwing commented 2 months ago

@ImCrus This issue proved to be more difficult than expected. I will fix it, but it's going to have to wait for the next release.

The problem is with Unity's default behavior on Android. It doesn't call the functions it's supposed to be calling when locking the cursor. The fix is going to require making a plugin that calls those functions, as this person had (and is now charging $15 for the solution).

ImCrus commented 2 months ago

@Vwing Just take your time, I'm sure a lot of people won't mind waiting a lil while longer for quality. You're doing a massive project and it's really surprising the fact you're doing this at all, plus the quality to the extent that you're doing it.

And I'm really sorry to hear that :/ I hope it's not too much of a kick in the head. I don't really know how it all works and I really wish I could help In anyway possible but I'm in University so that complicates things too :') So please, take your time, and thank you for your hard work!

ImCrus commented 1 month ago

Hi, @Vwing I tried it right now and sadly it sitll happens, idk if it's copium or something, but it feels better but it still happens... If I can somehow help, let me know!

Vwing commented 1 month ago

Hi, @Vwing I tried it right now and sadly it sitll happens, idk if it's copium or something, but it feels better but it still happens... If I can somehow help, let me know!

@ImCrus

Yeah, it's still not done. If you want, you could implement the fix and submit a Pull Request. That's... just about the only way to help in this instance.