ALOE Virtual Buttons - Disable tapping in 2 spots to open menu in on a mobile release

I am having an issue where whenever I tap 2 separate locations on my screen, on the buttons or not, the game detects that I pressed escape, and opens the menu. I have been told that the plugin I am using for these virtual buttons can disable this.

Below is some more info that was told through the posts

index.php

These are the buttons, they were added via ALOE virtual buttons and each one simulates a key press (dpad simulates arrow keys, Interact simulates E, Menu simulates escape, and Sprint simulates shift)

Whenever I tap 2 separate locations on my screen, on the buttons or not, the game detects that I pressed escape, and opens the menu. I don't know how I could show this in a screenshot.


These are the param settings I have
index.php


Other plugins I am using are the following Yanfly plugins: Core Engine, Battle Engine Core, Region Restrictions, ATB battle system, Action Sequence pack 1 and 2, and Animated SV Enemies.
You will need to explain in more detail.

Are you asking for a plugin to be written? Are you using plugins? Which ones (provide links).

What is your on screen button? How did you add it, what is it meant to do?

What is your sprint button? How did you add it?

What "two" spots do you want to disable? What does an open menu have to do with it?

Screenshots might also help.
Sorry about that, let me try to explain better.

You will need to explain in more detail.

Are you asking for a plugin to be written? Are you using plugins? Which ones (provide links).
Screenshots might also help.
I am not looking for a plugin, rather an edit I can make to the core engine. I am using ALOE Virtual Buttons https://forums.rpgmakerweb.com/index.php?threads/virtual-buttons-and-dpad.94196/


What is your on screen button? How did you add it, what is it meant to do?

What is your sprint button? How did you add it?
A project 11_28_2019 12_32_24 PM.png
These are the buttons, they were added via the plugin previously mentioned and each one simulates a key press (dpad simulates arrow keys, Interact simulates E, Menu simulates escape, and Sprint simulates shift)

You will need to explain in more detail.
What "two" spots do you want to disable? What does an open menu have to do with it?

Whenever I tap 2 separate locations on my screen, on the buttons or not, the game detects that I pressed escape, and opens the menu. I don't know how I could show this in a screenshot.
I use that plugin and I think there is an option to disable the 2 finger touch press from the plugin itself.
I use that plugin and I think there is an option to disable the 2 finger touch press from the plugin itself.
I don't see anything. If you're referring to the "Disable Touch Selectable Windows" param, it doesn't fix it.
That's odd, it works for me.
Here are my params I have set. Just ask if you want to see the full list of any.Capture.PNG
It seems like it's all set ok to me. You have the correct scenes selected for disabling touch selectable. Do you have any other plugins that alter or do something else to the map? They could be messing with each other causing it not to work. If not maybe try and find another plugin to disbale touch on map
All the other plugins I am using are the following Yanfly plugins: Core Engine, Battle Engine Core, Region Restrictions, ATB battle system, Action Sequence pack 1 and 2, and Animated SV Enemies.
But this plugin is at the bottom right? If it is then I don't see why there is an issue. Sorry Im at a loss here.
@Superkman23 This topic should be moved as it definitely requires either plugins or custom code to get what you need. Moving it will also attract more attention from people who are experts in these areas. However, I can think of three possible places we might want to move it:
  • Plugin Support if you think you are having an issue with ALOE_VirtualButtons that, if solved, would also let you properly disable the detection of an "Esc" button press.
  • Plugin Requests if you think the best solution would be to create a new plugin (or try to find an existing plugin) with the functionality you are looking for.
  • Learning Javascript if you believe that a simple change like disabling the function of the Escape key would also work for removing this unwanted functionality from the mobile format. (My instinct is that this would work, but as I've never made games for mobile, I can't say for sure.)
Please let me know which board you'd like this topic moved to and I'll go ahead and move it there. Thanks.
http://www.yanfly.moe/wiki/Touch_Input_Disabler_(YEP)
Try this
@Superkman23 This topic should be moved as it definitely requires either plugins or custom code to get what you need. Moving it will also attract more attention from people who are experts in these areas. However, I can think of three possible places we might want to move it:
  • Plugin Support if you think you are having an issue with ALOE_VirtualButtons that, if solved, would also let you properly disable the detection of an "Esc" button press.
  • Plugin Requests if you think the best solution would be to create a new plugin (or try to find an existing plugin) with the functionality you are looking for.
  • Learning Javascript if you believe that a simple change like disabling the function of the Escape key would also work for removing this unwanted functionality from the mobile format. (My instinct is that this would work, but as I've never made games for mobile, I can't say for sure.)
Please let me know which board you'd like this topic moved to and I'll go ahead and move it there. Thanks.
Probably the best solution would be to move it to Plugin Support, as if what J-G says is true then I am having an issue with the plugin.

I would, but it happens to be one of the Yanfly plugins that I have to pay for.
It's only $1 dollar. You can earn it like I do. I do small surveys and stuff to make the money.
Moved to Plugin Support.

Feel free to edit your initial post if you'd like to, in order to get direct answers from people who are first visiting the topic. 🙂
So an update, I solved the problem via editing the core engine. In case you're wondering how, at line 3586 in rpg_core.js it shows

TouchInput.isCancelled = function() {
return this._cancelled;
};

To disable the two taps you insert a return; to make the script looks like this:

TouchInput.isCancelled = function() {
return;
return this._cancelled;
};

I believe this works because the game considers the two taps at the same time as a right click, as this also disables right clicking on a mouse.

Original thread: https://forums.rpgmakerweb.com/threads/aloe-virtual-buttons-disable-tapping-in-2-spots-to-open-menu-in-on-a-mobile-release.115700/