summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorNguyễn Gia Phong <vn.mcsinyx@gmail.com>2018-10-08 22:07:30 +0700
committerNguyễn Gia Phong <vn.mcsinyx@gmail.com>2018-10-08 22:07:30 +0700
commiteb088c0cf13d4d16775182d9dc14631f0c5c86c3 (patch)
tree98de61d4dcca67cd81401b292405b0617e4f2d63
parent377dda3db05e357fab3353ab4cfb25d318c4f73d (diff)
downloadbrutalmaze-eb088c0cf13d4d16775182d9dc14631f0c5c86c3.tar.gz
Update documentation on touch control
-rw-r--r--README.rst11
-rw-r--r--brutalmaze/settings.ini2
-rw-r--r--brutalmaze/weapons.py2
m---------wiki0
4 files changed, 10 insertions, 5 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
-Subproject 3c1a1a840b6b9959b676a3937df1099dcb24fc4
+Subproject 4921800d525d36a2b48666c1fb938eabeeb33bb