Exemplo n.º 1
0
 def load_image(cls):
     cls.image = load_image('bullet01.bmp')
Exemplo n.º 2
0
 def load_image(cls):
     cls.images_r = split_image(load_image('player01.bmp'), 11)
     cls.images_l = [pygame.transform.flip(image, 1, 0) for image in cls.images_r]
Exemplo n.º 3
0
 def load_image(cls):
     cls.image = load_image('weapon01.bmp')
Exemplo n.º 4
0
 def load_image(cls):
     cls.images = split_image(load_image('explosion.png'), 16)
Exemplo n.º 5
0
 def load_images(self):
     self.aliens = split_image(load_image('alien.png'), 2)
Exemplo n.º 6
0
 def load_image(cls):
     cls.image = load_image('player.png')
Exemplo n.º 7
0
 def __init__(self, file_name):
     self.sheet = load_image(file_name)
Exemplo n.º 8
0
 def load_image(cls):
     cls.image = load_image('beam.png')
Exemplo n.º 9
0
 def load_image(cls):
     cls.image = load_image('shot.png')
Exemplo n.º 10
0
 def load_image(cls):
     cls.images = split_image(load_image('alien.png'), 2)
Exemplo n.º 11
0
 def load_image(cls):
     cls.images_r = split_image(load_image('clash01.bmp'), 3)
     cls.images_l = [pygame.transform.flip(image, 1, 0) for image in cls.images_r]
Exemplo n.º 12
0
 def load_image(cls):
     cls.image = load_image('block01.bmp')
Exemplo n.º 13
0
 def load_image(cls):
     cls.image_r = load_image("enemy04.bmp")
     cls.image_l = pygame.transform.flip(cls.image_r, 1, 0)