minetest/builtin
Muhammad Rifqi Priyo Susanto 326eeca306 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
2018-04-10 22:55:17 +02:00
..
async Use "core" namespace internally 2014-05-08 13:02:04 -04:00
client [CSM] Remove on_connect callback (#6941) 2018-01-21 18:27:27 +01:00
common core.rotate_node: Do not trigger after_place_node (#6900) 2018-03-29 21:44:13 +02:00
fstk Use a settings object for the main settings 2017-05-06 15:33:19 -04:00
game Add player inventory callbacks 2018-04-02 17:18:48 +02:00
mainmenu Load dependencies and description from mod.conf 2018-03-28 22:14:16 +01:00
profiler Profiler: Fix var args not being passed to callback register function 2017-10-14 18:28:56 +01:00
init.lua Move setlocale from Lua to C++. 2018-02-08 15:38:34 +01:00
settingtypes.txt Android: Replace movement buttons with joystick (#7126) 2018-04-10 22:55:17 +02:00