Implement map scrolling

This commit is contained in:
Joscha 2017-04-06 06:45:43 +00:00
parent 538ea58925
commit 11a94f982d
2 changed files with 69 additions and 11 deletions

View file

@ -12,7 +12,7 @@ def chunky(value):
return value//CHUNK_HEIGHT
def inchunkx(value):
return value%CHUNK_HEIGHT
return value%CHUNK_WIDTH
def inchunky(value):
return value%CHUNK_WIDTH
return value%CHUNK_HEIGHT