From: Neil Date: Tue, 16 Apr 2013 21:01:22 +0000 (+0200) Subject: Tweak and resize floor and door tiles X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=b3ffacfb066d8d4c84f782d8e2265bf497dadb56;p=erdslangetjie.git Tweak and resize floor and door tiles --- diff --git a/data/tiles/door.bmp b/data/tiles/door.bmp deleted file mode 100644 index 96ce07b..0000000 Binary files a/data/tiles/door.bmp and /dev/null differ diff --git a/data/tiles/door.png b/data/tiles/door.png new file mode 100644 index 0000000..178d2e9 Binary files /dev/null and b/data/tiles/door.png differ diff --git a/data/tiles/floor.bmp b/data/tiles/floor.bmp deleted file mode 100644 index b9fa86f..0000000 Binary files a/data/tiles/floor.bmp and /dev/null differ diff --git a/data/tiles/floor.png b/data/tiles/floor.png new file mode 100644 index 0000000..42ccf18 Binary files /dev/null and b/data/tiles/floor.png differ diff --git a/erdslangetjie/level.py b/erdslangetjie/level.py index 450ce8c..d42cc71 100644 --- a/erdslangetjie/level.py +++ b/erdslangetjie/level.py @@ -26,7 +26,7 @@ class Level(object): tile_line = [] for i, c in enumerate(line): if c == ' ': - tile_line.append(load_image('tiles/floor.bmp')) + tile_line.append(load_image('tiles/floor.png')) elif c == '.': tile_line.append(load_image('tiles/wall.bmp')) elif c == 'E' or c == 'X': @@ -36,7 +36,7 @@ class Level(object): self.enter_pos = (i, j) else: self.exit_pos.append((i, j)) - tile_line.append(load_image('tiles/door.bmp')) + tile_line.append(load_image('tiles/door.png')) self.tiles.append(tile_line) def get_tiles(self): diff --git a/sources/door.xcf b/sources/door.xcf new file mode 100644 index 0000000..34b182d Binary files /dev/null and b/sources/door.xcf differ diff --git a/sources/floor.xcf b/sources/floor.xcf new file mode 100644 index 0000000..d8efcc0 Binary files /dev/null and b/sources/floor.xcf differ