Skip to content
Snippets Groups Projects
Commit e9974997 authored by Kirill Schmidt's avatar Kirill Schmidt
Browse files

Modify tile-coordinates to fit new dimensions

parent 3f303a1c
No related branches found
No related tags found
No related merge requests found
...@@ -12,8 +12,8 @@ SCREEN_NAME = "Isometric" ...@@ -12,8 +12,8 @@ SCREEN_NAME = "Isometric"
SCREEN_HEIGHT = 1080 SCREEN_HEIGHT = 1080
SCREEN_WIDTH = 720 SCREEN_WIDTH = 720
TILE_HEIGHT = 64 TILE_HEIGHT = 46
TILE_WIDTH = 64 TILE_WIDTH = 46
def main(): def main():
# Initialise screen # Initialise screen
...@@ -54,7 +54,7 @@ def main(): ...@@ -54,7 +54,7 @@ def main():
tileType = wall tileType = wall
else: else:
tileType = grass tileType = grass
tileType.set_colorkey((0,0,0))
x = currentTile * TILE_WIDTH +500 x = currentTile * TILE_WIDTH +500
y = currentRow * TILE_HEIGHT +100 y = currentRow * TILE_HEIGHT +100
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment