[CGMZ] Remove Touch (Patreon)
Downloads
Content
Remove touch UI, the space for the buttons in the menus, entirely prevent touch controls from working anywhere, or anything in between. This plugin allows varying degrees of removing the default touch controls from your game.
! SEE BOTTOM OF POST FOR UPDATES !
Hi all, introducing [CGMZ] Remove Touch!
This plugin allows you to determine what level of touch controls you want in your game, from totally disabled and hidden to supported but with custom buttons that are not part of the default touch ui.
Touch UI
By default, this plugin removes the Touch UI option and sets it to false as a default setting so your game will start with Touch UI off. You can further remove traces of the touch ui by also removing the space each menu scene leaves at the top / bottom for the touch ui buttons. The space is provided as an option as it could interfere with plugin scene window positioning if they are expecting a button area to be present, however in most cases it should be safe to remove this space as well.
Touch Controls
Even with Touch UI removed, your game selectable windows will still respond when the player hovers them with the mouse, things can still be clicked on, the map can be clicked to move around, etc. This plugin also provides you the option of entirely removing the recognition of touch controls from your game.
This can be useful for some retro themed games where you only want keyboard / gamepad players to be able to play your game. Partial touch support is often worse than either no or full touch support since it can make the player confused if they can select new game from the title with their mouse but not click to move around the map. Instead of needing to configure tons of plugins for different areas that can support touch controls, you can remove touch support from your entire game easily with this plugin.
See below gif for touch being totally disabled:
Roadmap
For future updates I plan to see how people try to use it, solve any compatibility issues that might arise, and provide some additional parameters for more granular control over the degree to which touch gets disabled in your games.
Casper Gaming plugins are made much better through user suggestions. If you have an idea for a feature you'd like to see implemented that is not already covered above, please let me know. You can leave suggestions in the comments below or in the #suggestions channel of the Casper Gaming Discord.
Support
Casper Gaming provides quick support to any user who needs it. You can leave a comment below with your question or issue, I try to check my Patreon at least once a day. For even quicker support, you can come into the Casper Gaming Discord and ask for help in the #support channel.
Happy RPG Making!
This version adds the ability to remove map touch movement while keeping other touch controls. I heard some feedback that people wanted to disable touch movement while keeping other touch controls, so now you can do that. Note that the new Remove Map Touch option is redundant if using the Prevent Touch Input option which totally removes touch input from the entire game.
This version adds the ability to use game switches to toggle various touch options on or off mid game. Previously, this plugin was set up to remove touch to varying degrees for the entire game. I thought you might want to add some mechanics where the player cannot move through the map using the mouse temporarily, but otherwise can in the rest of the game, for example. This update allows you to also use switches to enable/disable the touch features.