nturley3 / ndos

nDOS - DOSBox port for iOS/iPadOS (forked from iDOS)
GNU General Public License v2.0
28 stars 4 forks source link

Direct Touch out of alignment #23

Open Lantizia opened 6 months ago

Lantizia commented 6 months ago

Hello, first of all many thanks for resurrecting iDOS as your nDOS fork. If you need any help getting this on the store let me know, the non-profit I work with (see functionoffice.org) has a fee waiver from Apple for the developer program.

I built nDOS from the latest commit (see #22) and ran it on my iPad Air 4 last night.

I then copied over the files for Master of Orion 2 (MOO2) and ran ORION2.EXE. If you have the GOG release... just copy the GAME directory to C:\ and edit text file ORION2CD.INI to say C:\GAME\

This is a 640x480 resolution game which requires very little use of the keyboard. I've previously ran this on Android tablets using DosBox Turbo with their 'Absolute Mouse Mode' feature. Incidentally I just found that their Google Play entry has a "Trailer" showing this feature in action on MOO2... https://youtu.be/GN1R_e1cCCM?t=141 at 2 minutes 22 seconds in to the video.

I was hoping by enabling 'Direct Touch' mode I could get this behaviour back... but it looks to be out of alignment.

Touching about 33% of the way across the screen (from both top and left) will put the cursor under your finger... but as you go further way from here (in any direction) the cursor will be further way than your finger is... making it unusable.

Is there something in the code which would need to be manually tweaked for 640x480 ?

Thanks

nturley3 commented 5 months ago

I've been away from this project for a couple months but getting back into it. Yes, I agree on the direct touch issues. Many of the games work, but I tried to run Doom I and II and noticed the same behavior. I'm going to get back in and look at the code to see if I can fix this issue.

Lantizia commented 5 months ago

Thanks, let me know if I can help in some way.