Opened 4 years ago

Last modified 4 months ago

#11633 new defect

ULTIMA: iOS needs better mouse control

Reported by: DominusExult Owned by:
Priority: normal Component: Port: iOS
Version: Keywords:
Cc: Game: Ultima VIII: Pagan


Ultima 8 is controlled by the mouse by both left click, holding left click and moving by holding down the right mouse button. Also there is jumping that is done by holding down both mouse buttons (also a running jump by running via holding down the right button and then hitting the left one) or by hitting space (and that needs to be done faster than bringing up the onscreen keyboard :)).

With Exult (which uses the same movement scheme without jumps) we used the very new code in SDL2's mercurial to add a virtual joystick and a corresponding onscreen virtual joystick.
Perhaps ScummVM needs to do something similar along with an onscreen button to jump.

OR ScummVM already has something like this and I just don't know about it and it needs to be enabled for Ultima 8 :)

Change History (6)

comment:1 by aquadran, 21 months ago

Summary: ULTIMA 8: iOS needs better mouse controlULTIMA: iOS needs better mouse control

comment:2 by larsamannen, 10 months ago

Virtual controller is on its way. This will require iOS 15 since it's implementing the Apple GCVirtualController

comment:3 by DominusExult, 10 months ago

*I* certainly don't mind the high iOS requirement, but otoh doing that via SDL2 as we do for Exult sets the requirement extremely low. But then I have no idea if you still use SDL2 on the iOS port :)
But anyway, I'm looking forward to this.

comment:4 by criezy, 10 months ago

We don't use (and never used) SDL for the iOS port. And there is no plan to use it. So that rules out using a solution based on SDL2.

comment:5 by DominusExult, 4 months ago

the virtual controler has been added but the keymapping is not optimized for Ultima 8 (or the Crusader games, I guess). Bug #14701 prevents the end user from using the keymapper in the settings.

comment:6 by DominusExult, 4 months ago

If you use the dpad instead of the thumb stick, you can move the Avatar around.
There seems to be a bug that causes him to jump every other step. Disabling the game setting "jump to mouse position" makes it slightly better, but still the jumps happen.

Regarding the mouse, the missing part of it is a hold and drag action. For now you have to hold the button A when hovering over the mouse and keep the button pressed while you move the mouse pointer which at times works great, especially in direct mouse mode. But not perfect yet :)

Note: See TracTickets for help on using tickets.