Android layout, D-Pad issue

Ask questions about DraStic or discuss compatibility issues here.
Post Reply
Toompirow
Posts: 3
Joined: Mon Mar 02, 2020 4:48 pm

Android layout, D-Pad issue

Post by Toompirow » Mon Mar 02, 2020 5:04 pm

Hi,

I just bought the emulator and one thing that prevent me from having fun is the D-Pad, which is a problem that doesn't exist on modern games using that kind of controls.

The issue
So here is the issue : I would miss the direction I wanted to press like 1/3 of the time. Just because I'm watching the screen, not the controls. The issue is due to the fact the controls position are fixed but we (players) aren't robots programmed to press perfectly at the right position everytime ^^.

Possible solution
So here is how most of the games with a D-PAD like control are : they use an analog joystick instead of a D-PAD.

Why does it Work ?
Because the joystick requires a touch and then "slide".
It means each time I would press the joystick, where I press become the origin of the joystick and then the direction is naturally given as it should with the mouvement of my thumb, until I remove it.

But the DS only have a D-Pad !

Sure but with the direction of the joystick it's very easy to translate it to a 4 or 8directional D-PAD

The Question
Now that the context is given : Is there a way to get that behavior in the app or could it be implemented ?

Thanks !

User avatar
dsattorney
Posts: 416
Joined: Thu Aug 03, 2017 11:29 am
Location: Argentina
Contact:

Re: Android layout, D-Pad issue

Post by dsattorney » Tue Mar 03, 2020 1:25 am

Why not adjusting the layout to make the D-Pad larger? Apart from that feature being a thing, it leaves space for your thumbs to press the directions you want.
OBJECTION!
Image
Other places to find me:
VOGONS: http://www.vogons.org/ (as olddos25)

Bluebard
Posts: 2
Joined: Tue Mar 03, 2020 10:14 pm

Re: Android layout, D-Pad issue

Post by Bluebard » Tue Mar 03, 2020 10:19 pm

dsattorney wrote:
Tue Mar 03, 2020 1:25 am
Why not adjusting the layout to make the D-Pad larger? Apart from that feature being a thing, it leaves space for your thumbs to press the directions you want.
But if we do that diagonally will not work...

User avatar
kaikun97
Posts: 625
Joined: Thu Dec 26, 2013 11:41 am
Location: England

Re: Android layout, D-Pad issue

Post by kaikun97 » Wed Mar 04, 2020 10:01 am

If you mean a dynamic joypad like what some mobile games use, then no Drastic DS doesn't have that feature yet. If the touch controls are not ideal for you, you could try a bluetooth phone controller or something similar as Drastic supports those.

You could also try experimenting with the D-Pad Touch-Region modifier in the Virtual Controller settings.

But if we do that diagonally will not work...
Diagonals still work as the D-Pad's touch region is a square, so tapping the blank area between the directions, even when the D-Pad is large will count at diagonals. You can modify how this works with the same setting I mentioned above.

Toompirow
Posts: 3
Joined: Mon Mar 02, 2020 4:48 pm

Re: Android layout, D-Pad issue

Post by Toompirow » Wed Mar 04, 2020 5:26 pm

dsattorney wrote:
Tue Mar 03, 2020 1:25 am
Why not adjusting the layout to make the D-Pad larger?
Because I don't think the main issue is the size. (Let's not talk about the visual obstruction of big layout ). The main issue is that I don't know exactly where to press if I don't look at the D-Pad which isn't convenient..
kaikun97 wrote:
Wed Mar 04, 2020 10:01 am
If you mean a dynamic joypad like what some mobile games use, then no Drastic DS doesn't have that feature yet. If the touch controls are not ideal for you, you could try a bluetooth phone controller or something similar as Drastic supports those.

You could also try experimenting with the D-Pad Touch-Region modifier in the Virtual Controller settings.
Yeah I think that's totally it. Well, I knew about the Bluetooth controller but I find it counterproductive to use one when the main phone's advantage is to be portable.

I've seen there is a way to create layout skins. Is there eventually a way to customize it's behavior with a bunch of code lines ?

User avatar
kaikun97
Posts: 625
Joined: Thu Dec 26, 2013 11:41 am
Location: England

Re: Android layout, D-Pad issue

Post by kaikun97 » Wed Mar 04, 2020 7:28 pm

Toompirow wrote:
Wed Mar 04, 2020 5:26 pm
dsattorney wrote:
Tue Mar 03, 2020 1:25 am
Why not adjusting the layout to make the D-Pad larger?
Because I don't think the main issue is the size. (Let's not talk about the visual obstruction of big layout ). The main issue is that I don't know exactly where to press if I don't look at the D-Pad which isn't convenient..
kaikun97 wrote:
Wed Mar 04, 2020 10:01 am
If you mean a dynamic joypad like what some mobile games use, then no Drastic DS doesn't have that feature yet. If the touch controls are not ideal for you, you could try a bluetooth phone controller or something similar as Drastic supports those.

You could also try experimenting with the D-Pad Touch-Region modifier in the Virtual Controller settings.
Yeah I think that's totally it. Well, I knew about the Bluetooth controller but I find it counterproductive to use one when the main phone's advantage is to be portable.

I've seen there is a way to create layout skins. Is there eventually a way to customize it's behavior with a bunch of code lines ?
The layout skins currently are just cosmetic. There is a Lua scripting engine in Drastic but its more or less geared towards running lua code with games, it has a bit of documentation on the in-app help guide but I don't know much else past that.

Toompirow
Posts: 3
Joined: Mon Mar 02, 2020 4:48 pm

Re: Android layout, D-Pad issue

Post by Toompirow » Tue Mar 10, 2020 4:04 pm

Alright thank you, I might look into it when I get time

Post Reply