Included some of the graphics in the game.

Tento commit je obsažen v:
Sakse Dalum
2012-08-08 11:15:14 +02:00
rodič 2457f743cc
revize 5ba6f515fb
3 změnil soubory, kde provedl 3 přidání a 4 odebrání

Binární soubor nebyl zobrazen.

Před

Šířka:  |  Výška:  |  Velikost: 5.8 KiB

Za

Šířka:  |  Výška:  |  Velikost: 3.0 KiB

Zobrazit soubor

@@ -51,8 +51,7 @@ class Level1(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['ground%d'
% (((i + j) % 2) + 1)]))
tile.Tile(self, i*64, j*48, self.imgs['ground1']))
self.objects.append(self.player)
for i in range(100):

Zobrazit soubor

@@ -32,5 +32,5 @@ class Tile(worldobject.WorldObject):
worldobject.WorldObject.__init__(self, level, x, y)
def draw(self, window):
window.blit(self.img, (self.x, self.y),
(0, 0, self.tile_x, self.tile_y))
window.blit(self.img, (self.x - 32,
self.y - self.img.get_size()[1]))