Tweak and resize floor and door tiles
authorNeil <neil@dip.sun.ac.za>
Tue, 16 Apr 2013 21:01:22 +0000 (23:01 +0200)
committerNeil <neil@dip.sun.ac.za>
Tue, 16 Apr 2013 21:01:22 +0000 (23:01 +0200)
data/tiles/door.bmp [deleted file]
data/tiles/door.png [new file with mode: 0644]
data/tiles/floor.bmp [deleted file]
data/tiles/floor.png [new file with mode: 0644]
erdslangetjie/level.py
sources/door.xcf [new file with mode: 0644]
sources/floor.xcf [new file with mode: 0644]

diff --git a/data/tiles/door.bmp b/data/tiles/door.bmp
deleted file mode 100644 (file)
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 (file)
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 (file)
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 (file)
index 0000000..42ccf18
Binary files /dev/null and b/data/tiles/floor.png differ
index 450ce8c6152b4e2f9932b3eac0c3d8667b8ce632..d42cc71ea4b92f5eaf748a8633a1627eda3ef762 100644 (file)
@@ -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 (file)
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 (file)
index 0000000..d8efcc0
Binary files /dev/null and b/sources/floor.xcf differ