summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-07-10 17:01:01 +0100
committerdavidovski <david@davidovski.xyz>2023-07-10 17:01:01 +0100
commit9c8b526991b68439284bee0936b90079943b249b (patch)
treeede9b93c28ff38e206eecff2b3d5b44bfd51716e /tools
parent12a53d83e062fc7ec5838c94d575b94a7310d6cd (diff)
tidied code for tilefile
Diffstat (limited to 'tools')
-rwxr-xr-xtools/createmap.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/createmap.py b/tools/createmap.py
index 36f6ca9..6deb0aa 100755
--- a/tools/createmap.py
+++ b/tools/createmap.py
@@ -8,8 +8,8 @@ outfile = "map.tiles"
ATLASFILE = "atlas.png"
TILESIZE = 16
-WIDTH = 1024
-HEIGHT = 1024
+WIDTH = 2**10
+HEIGHT = 2**11
# create atlas bytes
image = Image.open(ATLASFILE).convert("RGBA")