Added an experimental touch-screen mode and improved the world selection panel.#1192
Closed
Max-RM wants to merge 4 commits intoAmulet-Team:masterfrom
Closed
Added an experimental touch-screen mode and improved the world selection panel.#1192Max-RM wants to merge 4 commits intoAmulet-Team:masterfrom
Max-RM wants to merge 4 commits intoAmulet-Team:masterfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The "World Select" panel has been improved with the added ability to add your own custom world storage paths (useful for cloned MCBE UWP). Demonstration:
https://cdn.discordapp.com/attachments/858645423928508416/1407757211253608529/Amulet_world_selection_page_iprovement.mp4?ex=68ae83d2&is=68ad3252&hm=b73c91ffcdc43256b626f316041e7fcca8e43cce79e09d72bf3db9ba5a8943aa&
And an experimental touch-screen mode has also been added for touchscreen devices, such as x86 Windows tablets, tablets from the Microsoft Surface line, other touchscreen devices and phones with unofficially installed Windows ARM (Renegade Project) which was my case.

The sensitivity of the camera can now take fractional, not just integer values, as it is necessary for touch control mode (recommended to use 0.2), in Options > Controls... A new switch "Enable touchscreen mode (experimental)" has been added, which enables touch control mode, which is disabled by default.
When turned on, it adds 6 buttons to control the camera's position in space (forward, backward, left, right, up, down), they work as switches, after pressing it will be active and turned off after pressing it again, you can also simulate diagonal movement by activating, for example, the forward and right buttons.
When the touch mode is activated up, two new buttons appear: "Touch Controls" and "Camera/Selector". The "Touch Controls" button can turn on and off 6 buttons for controlling the camera's position in space, this is necessary, since when using standard operations and third-party plug-ins, these buttons can overlap part of the interface, while this button allows you to temporarily disable them.
The Camera / Selector button is needed to switch the rotation modes of the camera's view direction (camera) and the selection mode (Selector), since there are big problems using the right and left mouse clicks on the touchscreen, this button helps to switch between modes so that it is easy.
While using the "Camera" mode, any interaction with the selection areas is blocked. When the "Selector" mode is turned on, to select the area correctly, you first need to long tap the desired block, then stretch from this block to another desired point, then if you need to stretch the area in one direction, you can not just poke along the edge of the selection area and stretch this, but first you need to long tap on the desired face, and as soon as it turns blue, you can stretch it in the right direction. If a mistake was made during the selection, you can simply cancel the action via the button at the top.
This is the most complete implementation of touch-screen control that could be done without having to use a mouse through an adapter.