projects
/
erdslangetjie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Redo keyboard navigation code to support WASD as well
[erdslangetjie.git]
/
erdslangetjie
/
constants.py
diff --git
a/erdslangetjie/constants.py
b/erdslangetjie/constants.py
index 06d25fb9298fcff07caa68c055affa7f83a4331e..c9f16e6b4c2a949efbc28fcd1274b48c8ee54f14 100644
(file)
--- a/
erdslangetjie/constants.py
+++ b/
erdslangetjie/constants.py
@@
-19,3
+19,9
@@
if platform() != 'android':
else:
TILE_SIZE = 64
Config.set('graphics', 'fullscreen', 'auto')
+
+# Change here to tweak keyboard controls
+LEFT = ('a', 'left')
+RIGHT = ('d', 'right')
+UP = ('w', 'up')
+DOWN = ('s', 'down')