summaryrefslogtreecommitdiff
path: root/minetest.conf.example
diff options
context:
space:
mode:
authorMuhammad Rifqi Priyo Susanto <muhammadrifqipriyosusanto@gmail.com>2018-04-11 03:55:17 +0700
committerSmallJoker <SmallJoker@users.noreply.github.com>2018-04-10 22:55:17 +0200
commit326eeca306f7bfb53ae3685eef18978dd81e587e (patch)
treed2a8b68eae06ed2982e8fed2562783a432dc7171 /minetest.conf.example
parent22ebbe136a8a90bc23d7f910a3dee5bf41632115 (diff)
downloadminetest-326eeca306f7bfb53ae3685eef18978dd81e587e.tar.gz
minetest-326eeca306f7bfb53ae3685eef18978dd81e587e.tar.bz2
minetest-326eeca306f7bfb53ae3685eef18978dd81e587e.zip
Android: Replace movement buttons with joystick (#7126)
* Android: Replace movement buttons with joystick Replace movement control buttons (arrows at bottom left screen) with virtual joystick. Joystick has 8 directions (same as keyboard). Basically, just map it to keyboard input. Joystick applies only on left 1/3 of screen. Joystick's position can be fixed by enabling fixed_virtual_joystick setting. Three new images: (1) placeholder joystick, (2) joystick container (background), and (3) joystick cursor. Remove unused images: movement control buttons (*_arrow.png). New data type: touch_gui_joystick_move_id Joystick's fixed position is spaced one button size from bottom and from left of screen. Remove unused variable: m_joystick_downlocation
Diffstat (limited to 'minetest.conf.example')
-rw-r--r--minetest.conf.example9
1 files changed, 9 insertions, 0 deletions
diff --git a/minetest.conf.example b/minetest.conf.example
index 46d9ffe65..679f61dc1 100644
--- a/minetest.conf.example
+++ b/minetest.conf.example
@@ -86,6 +86,15 @@
# type: bool
# continuous_forward = false
+# The length in pixels it takes for touch screen interaction to start.
+# type: int
+# touchscreen_threshold = 20
+
+# (Android) Fixes the position of virtual joystick.
+# If disabled, virtual joystick will center to first-touch's position.
+# type: int
+# fixed_virtual_joystick = false
+
# Enable Joysticks
# type: bool
# enable_joysticks = false