Replaced ground tile with indoor tiles in some places.
This commit is contained in:
parent
6790174a76
commit
ba7edfffd4
|
@ -23,7 +23,7 @@ class Level2(level.Level):
|
|||
for i in range(self.dimensions[0]):
|
||||
for j in range(self.dimensions[1]):
|
||||
self.tiles.append(
|
||||
tile.Tile(self, i*64, j*48, self.imgs['ground1']))
|
||||
tile.Tile(self, i*64, (j + 1)*48, self.imgs['indoor%d' % random.randint(1, 6)]))
|
||||
|
||||
self.draw_background()
|
||||
|
||||
|
|
|
@ -70,7 +70,7 @@ class Level3(level.Level):
|
|||
for box, (x, y) in zip(boxes, itertools.product(range(7), range(6))):
|
||||
self.tiles.append(tile.Tile(self, 64 * (x + task_start[0] + 1),
|
||||
48 * (y + task_start[1] + 1),
|
||||
self.imgs['ground1']))
|
||||
self.imgs['indoor%d' % random.randint(1, 6)]))
|
||||
pos_colour[(x, y)] = box
|
||||
|
||||
self.draw_background()
|
||||
|
|
|
@ -49,7 +49,7 @@ class Level(level.Level):
|
|||
for i in range(self.dimensions[0]):
|
||||
for j in range(self.dimensions[1]):
|
||||
self.tiles.append(
|
||||
tile.Tile(self, i*64, j*48, self.imgs['ground1']))
|
||||
tile.Tile(self, (i+1)*64, j*48, self.imgs['indoor%d' % random.randint(1, 6)]))
|
||||
|
||||
self.draw_background()
|
||||
|
||||
|
|
Loading…
Reference in New Issue