X-Git-Url: https://git.ctpug.org.za/?p=erdslangetjie.git;a=blobdiff_plain;f=erdslangetjie%2Fconstants.py;h=c9f16e6b4c2a949efbc28fcd1274b48c8ee54f14;hp=2b68d17513e75998e3c7ccbd529db7248d4b40ab;hb=5ef62be743537175b38e5044dbbdcd17ccaf6b1e;hpb=203026d3f0f757c137628a3217c908fbb53bf5e7 diff --git a/erdslangetjie/constants.py b/erdslangetjie/constants.py index 2b68d17..c9f16e6 100644 --- a/erdslangetjie/constants.py +++ b/erdslangetjie/constants.py @@ -16,8 +16,12 @@ from kivy.config import Config if platform() != 'android': TILE_SIZE = 38 - Config.set('graphics', 'width', '1026') - Config.set('graphics', 'height', '760') 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')