From eb088c0cf13d4d16775182d9dc14631f0c5c86c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= Date: Mon, 8 Oct 2018 22:07:30 +0700 Subject: [PATCH] Update documentation on touch control --- README.rst | 11 ++++++++--- brutalmaze/settings.ini | 2 +- brutalmaze/weapons.py | 2 +- wiki | 2 +- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index 302fc32..573f317 100644 --- a/README.rst +++ b/README.rst @@ -58,13 +58,18 @@ F2 Move up. ``s`` Move down. -Right Mouse - Move the hero using mouse Left Mouse Long-range attack. -Space +Right Mouse Close-range attack, also dodge from bullets. +Additionally, Brutal Maze also supports touch-friendly control. In this mode, +touches on different grid (empty, wall, enemy, hero) send different signals (to +guide the hero to either move or attack, or start new game). Albeit it is +implemented using *mouse button up* event, touch control is not a solution for +mouse-only input, but an attempt to support mobile GNU/Linux distribution such +as postmarketOS, i.e. it's meant to be played using two thumbs :-) + Configuration ------------- diff --git a/brutalmaze/settings.ini b/brutalmaze/settings.ini index 08e9580..e633a56 100644 --- a/brutalmaze/settings.ini +++ b/brutalmaze/settings.ini @@ -13,7 +13,7 @@ Space theme: no [Control] # Touch-friendly control -Touch: yes +Touch: no # Input values should be either from Mouse1 to Mouse3 or a keyboard key # and they are case-insensitively read. # Aliases for special keys are listed here (without the K_ part): diff --git a/brutalmaze/weapons.py b/brutalmaze/weapons.py index cd4c15f..03dfa40 100644 --- a/brutalmaze/weapons.py +++ b/brutalmaze/weapons.py @@ -84,7 +84,7 @@ class LockOn: Attributes: x, y (int): coordinates of the target (in grids) - destroyed (bool): flag indicating if the target is destroyed + retired (bool): flag indicating if the target is retired """ def __init__(self, x, y, retired=False): self.x, self.y = x, y diff --git a/wiki b/wiki index 3c1a1a8..4921800 160000 --- a/wiki +++ b/wiki @@ -1 +1 @@ -Subproject commit 3c1a1a840b6b9959b676a3937df1099dcb24fc4c +Subproject commit 4921800d525d36a2b48666c1fb938eabeeb33bb8